New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.1 of a tool to get a list of commit authors for the previous week #5

Merged
merged 1 commit into from Jan 7, 2016

Conversation

Projects
None yet
3 participants
@eminence
Collaborator

eminence commented Jan 6, 2016

See #1

@eminence

This comment has been minimized.

Show comment
Hide comment
@eminence

eminence Jan 6, 2016

Collaborator

Example output, getting all the commits for the 7-day period before Monday:

$ venv/bin/python tools/get_commits.py --end "Jan 4th" --days=7 $HOME/ipfs_stuff/repos/

Getting all commits made between Mon Jan  4 00:00:00 2016 and Mon Dec 28 00:00:00 2015
Scanning for repos... Found 67 repos
If they have a remote named `origin`, it will be fetched from...
Fetch complete for git://github.com/ipfs/js-ipfs-path
Fetch complete for git://github.com/ipfs/install-go-ipfs
Fetch complete for git://github.com/ipfs/go-commands
Fetch complete for git://github.com/ipfs/faq
Fetch complete for git://github.com/ipfs/archives
Fetch complete for git://github.com/ipfs/distributions
Fetch complete for git://github.com/ipfs/go-ipfs-api
Fetch complete for git://github.com/ipfs/swift-ipfs-api
Fetch complete for git://github.com/ipfs/java-ipfs-api
Fetch complete for git://github.com/ipfs/papers
Fetch complete for git://github.com/ipfs/js-ipfs
Fetch complete for git://github.com/ipfs/website
Fetch complete for git://github.com/ipfs/logo
Fetch complete for git://github.com/ipfs/blog
Fetch complete for git://github.com/ipfs/fs-repo-migrations
Fetch complete for git://github.com/ipfs/js-ipfs-repo
Fetch complete for git://github.com/ipfs/station
Fetch complete for git://github.com/ipfs/ipfs.js
Fetch complete for git://github.com/ipfs/refs-denylists-dmca
Fetch complete for git://github.com/ipfs/dir-index-html
Fetch complete for git://github.com/ipfs/dataviz
Fetch complete for git://github.com/ipfs/apps
Fetch complete for git://github.com/ipfs/api
Fetch complete for git://github.com/ipfs/go-log
Fetch complete for git://github.com/ipfs/file-browser
Fetch complete for git://github.com/ipfs/refs
Fetch complete for git://github.com/ipfs/community
Fetch complete for git://github.com/ipfs/go-libp2p
Fetch complete for git://github.com/ipfs/go-ipfs
Fetch complete for git://github.com/ipfs/ipfs-npm
Fetch complete for git://github.com/ipfs/ipfs-hubot
Fetch complete for git://github.com/ipfs/refs-solarnet-storage
Fetch complete for git://github.com/ipfs/go-blocks
Fetch complete for git://github.com/ipfs/py-ipfs
Fetch complete for git://github.com/ipfs/notes
Fetch complete for git://github.com/ipfs/container-demos
Fetch complete for git://github.com/ipfs/go-ipld
Fetch complete for git://github.com/ipfs/starlog
Fetch complete for git://github.com/ipfs/ipfs-web-app
Fetch complete for git://github.com/ipfs/go-iprs
Fetch complete for git://github.com/ipfs/dnslink-deploy
Fetch complete for git://github.com/ipfs/infrastructure
Fetch complete for git://github.com/ipfs/go-ipfs-util
Fetch complete for git://github.com/ipfs/ipfs-readme-standard
Fetch complete for git://github.com/ipfs/examples
Fetch complete for git://github.com/ipfs/scala-ipfs-api
Fetch complete for git://github.com/ipfs/ipfs-js-defaults
Fetch complete for git://github.com/ipfs/specs
Fetch complete for git://github.com/ipfs/ops-requests
Fetch complete for git://github.com/ipfs/bitswap-ml
Fetch complete for git://github.com/ipfs/archive-format
Fetch complete for git://github.com/ipfs/ipfs-update
Fetch complete for git://github.com/ipfs/js-ipfs-api
Fetch complete for git://github.com/ipfs/POST
Fetch complete for git://github.com/ipfs/python-ipfs-api
Fetch complete for git://github.com/ipfs/ipfs-geoip
Fetch complete for git://github.com/ipfs/pm
Fetch complete for git://github.com/ipfs/project-repos
Fetch complete for git://github.com/ipfs/fs-stress-test
Fetch complete for git://github.com/ipfs/npm-go-ipfs
Error while fetching for /storage/home/achin/ipfs_stuff/repos/weekly/.git git@github.com:eminence/weekly.git
Fetch complete for git://github.com/ipfs/blockchain-data
Fetch complete for git://github.com/ipfs/awesome-ipfs
Fetch complete for git://github.com/ipfs/webui
Fetch complete for git://github.com/ipfs/ipfs-blob-store
Fetch complete for git://github.com/ipfs/ipfs
Fetch complete for git://github.com/ipfs/support

Contributors for this period (Mon Dec 28 00:00:00 2015 to Mon Jan  4 00:00:00 2016):
* Adam Gashlin
* Christian Couder
* David Dias
* Friedel Ziegelmayer
* Harlan T Wood
* Ian Preston
* Jakub (Kubuxu) Sztandera
* Jeromy Johnson
* Lars Gierth
* ReadmeCritic
* Richard Littauer
* Travis Person
* dignifiedquire
* greenkeeperio-bot
* rht

Collaborator

eminence commented Jan 6, 2016

Example output, getting all the commits for the 7-day period before Monday:

$ venv/bin/python tools/get_commits.py --end "Jan 4th" --days=7 $HOME/ipfs_stuff/repos/

Getting all commits made between Mon Jan  4 00:00:00 2016 and Mon Dec 28 00:00:00 2015
Scanning for repos... Found 67 repos
If they have a remote named `origin`, it will be fetched from...
Fetch complete for git://github.com/ipfs/js-ipfs-path
Fetch complete for git://github.com/ipfs/install-go-ipfs
Fetch complete for git://github.com/ipfs/go-commands
Fetch complete for git://github.com/ipfs/faq
Fetch complete for git://github.com/ipfs/archives
Fetch complete for git://github.com/ipfs/distributions
Fetch complete for git://github.com/ipfs/go-ipfs-api
Fetch complete for git://github.com/ipfs/swift-ipfs-api
Fetch complete for git://github.com/ipfs/java-ipfs-api
Fetch complete for git://github.com/ipfs/papers
Fetch complete for git://github.com/ipfs/js-ipfs
Fetch complete for git://github.com/ipfs/website
Fetch complete for git://github.com/ipfs/logo
Fetch complete for git://github.com/ipfs/blog
Fetch complete for git://github.com/ipfs/fs-repo-migrations
Fetch complete for git://github.com/ipfs/js-ipfs-repo
Fetch complete for git://github.com/ipfs/station
Fetch complete for git://github.com/ipfs/ipfs.js
Fetch complete for git://github.com/ipfs/refs-denylists-dmca
Fetch complete for git://github.com/ipfs/dir-index-html
Fetch complete for git://github.com/ipfs/dataviz
Fetch complete for git://github.com/ipfs/apps
Fetch complete for git://github.com/ipfs/api
Fetch complete for git://github.com/ipfs/go-log
Fetch complete for git://github.com/ipfs/file-browser
Fetch complete for git://github.com/ipfs/refs
Fetch complete for git://github.com/ipfs/community
Fetch complete for git://github.com/ipfs/go-libp2p
Fetch complete for git://github.com/ipfs/go-ipfs
Fetch complete for git://github.com/ipfs/ipfs-npm
Fetch complete for git://github.com/ipfs/ipfs-hubot
Fetch complete for git://github.com/ipfs/refs-solarnet-storage
Fetch complete for git://github.com/ipfs/go-blocks
Fetch complete for git://github.com/ipfs/py-ipfs
Fetch complete for git://github.com/ipfs/notes
Fetch complete for git://github.com/ipfs/container-demos
Fetch complete for git://github.com/ipfs/go-ipld
Fetch complete for git://github.com/ipfs/starlog
Fetch complete for git://github.com/ipfs/ipfs-web-app
Fetch complete for git://github.com/ipfs/go-iprs
Fetch complete for git://github.com/ipfs/dnslink-deploy
Fetch complete for git://github.com/ipfs/infrastructure
Fetch complete for git://github.com/ipfs/go-ipfs-util
Fetch complete for git://github.com/ipfs/ipfs-readme-standard
Fetch complete for git://github.com/ipfs/examples
Fetch complete for git://github.com/ipfs/scala-ipfs-api
Fetch complete for git://github.com/ipfs/ipfs-js-defaults
Fetch complete for git://github.com/ipfs/specs
Fetch complete for git://github.com/ipfs/ops-requests
Fetch complete for git://github.com/ipfs/bitswap-ml
Fetch complete for git://github.com/ipfs/archive-format
Fetch complete for git://github.com/ipfs/ipfs-update
Fetch complete for git://github.com/ipfs/js-ipfs-api
Fetch complete for git://github.com/ipfs/POST
Fetch complete for git://github.com/ipfs/python-ipfs-api
Fetch complete for git://github.com/ipfs/ipfs-geoip
Fetch complete for git://github.com/ipfs/pm
Fetch complete for git://github.com/ipfs/project-repos
Fetch complete for git://github.com/ipfs/fs-stress-test
Fetch complete for git://github.com/ipfs/npm-go-ipfs
Error while fetching for /storage/home/achin/ipfs_stuff/repos/weekly/.git git@github.com:eminence/weekly.git
Fetch complete for git://github.com/ipfs/blockchain-data
Fetch complete for git://github.com/ipfs/awesome-ipfs
Fetch complete for git://github.com/ipfs/webui
Fetch complete for git://github.com/ipfs/ipfs-blob-store
Fetch complete for git://github.com/ipfs/ipfs
Fetch complete for git://github.com/ipfs/support

Contributors for this period (Mon Dec 28 00:00:00 2015 to Mon Jan  4 00:00:00 2016):
* Adam Gashlin
* Christian Couder
* David Dias
* Friedel Ziegelmayer
* Harlan T Wood
* Ian Preston
* Jakub (Kubuxu) Sztandera
* Jeromy Johnson
* Lars Gierth
* ReadmeCritic
* Richard Littauer
* Travis Person
* dignifiedquire
* greenkeeperio-bot
* rht

@RichardLitt

This comment has been minimized.

Show comment
Hide comment
@RichardLitt

RichardLitt Jan 6, 2016

Member

Looks like this works pretty well!

Member

RichardLitt commented Jan 6, 2016

Looks like this works pretty well!

@RichardLitt

This comment has been minimized.

Show comment
Hide comment
Member

RichardLitt commented Jan 6, 2016

@jbenet

This comment has been minimized.

Show comment
Hide comment
@jbenet

jbenet Jan 7, 2016

Member

i think this lgtm

Member

jbenet commented Jan 7, 2016

i think this lgtm

@jbenet

This comment has been minimized.

Show comment
Hide comment
@jbenet

jbenet Jan 7, 2016

Member

(good stuff!)

Member

jbenet commented Jan 7, 2016

(good stuff!)

RichardLitt added a commit that referenced this pull request Jan 7, 2016

Merge pull request #5 from eminence/commit_tool
Version 0.1 of a tool to get a list of commit authors for the previous week

@RichardLitt RichardLitt merged commit 3fbc703 into ipfs:master Jan 7, 2016

@RichardLitt

This comment has been minimized.

Show comment
Hide comment
@RichardLitt
Member

RichardLitt commented Jan 7, 2016

Thanks, @eminence!

@eminence

This comment has been minimized.

Show comment
Hide comment
@eminence

eminence Jan 7, 2016

Collaborator

(I replied in IRC, but I forgot to reply here for all to see)

I believe that using the event stream will actually be the best way forward, even for getting a list of commits. For two reasons:

  • It'll allow us to get a list of github comments
  • It'll allow us to map commits to github usernames (which is really hard to do right now)
Collaborator

eminence commented Jan 7, 2016

(I replied in IRC, but I forgot to reply here for all to see)

I believe that using the event stream will actually be the best way forward, even for getting a list of commits. For two reasons:

  • It'll allow us to get a list of github comments
  • It'll allow us to map commits to github usernames (which is really hard to do right now)
@RichardLitt

This comment has been minimized.

Show comment
Hide comment
@RichardLitt

RichardLitt Jan 7, 2016

Member

I agree. So, let's go with that. I'll build a prototype, unless you want to go with python. Doesn't bother me.

Member

RichardLitt commented Jan 7, 2016

I agree. So, let's go with that. I'll build a prototype, unless you want to go with python. Doesn't bother me.

@eminence eminence deleted the eminence:commit_tool branch Jan 7, 2016

@RichardLitt RichardLitt referenced this pull request Jan 11, 2016

Closed

Sprint January 5th #77

@RichardLitt

This comment has been minimized.

Show comment
Hide comment
@RichardLitt

RichardLitt Jan 13, 2016

Member

@eminence Damn. The event stream tops out at 300. So, we can't use that, as IPFS will have more than that many events in a given week. We're going to have do continue doing what we've been doing.

Member

RichardLitt commented Jan 13, 2016

@eminence Damn. The event stream tops out at 300. So, we can't use that, as IPFS will have more than that many events in a given week. We're going to have do continue doing what we've been doing.

@RichardLitt

This comment has been minimized.

Show comment
Hide comment
@RichardLitt

RichardLitt Jan 13, 2016

Member

Nevermind, working on it.

Member

RichardLitt commented Jan 13, 2016

Nevermind, working on it.

RichardLitt added a commit that referenced this pull request Mar 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment