Remove popular-repositories

I'm not using it anymore and it just confuses things
This commit is contained in:
Eli Ribble 2015-08-27 14:43:42 -06:00
parent 70ac34a672
commit 9222024493
1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
#!/usr/bin/env python
import argparse
import teamanalysis.git
import teamanalysis.repos
def main():
parser = argparse.ArgumentParser()
parser.add_argument('name', help='The name of the person to look up')
args = parser.parse_args()
for repo in teamanalysis.repos.REPOSITORIES:
print(repo)
abspath = '/Users/eliribble/src/{}/'.format(repo)
entries = teamanalysis.git.shortlog(abspath)
matching_entries = [entry for entry in entries if args.name in entry[1]]
for entry in matching_entries:
print("\t{} {}".format(*entry))
if __name__ == '__main__':
main()