From 92220244936e107125ce56cc66b2a1331b944fb5 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 27 Aug 2015 14:43:42 -0600 Subject: [PATCH] Remove popular-repositories I'm not using it anymore and it just confuses things --- bin/popular-repositories | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 bin/popular-repositories diff --git a/bin/popular-repositories b/bin/popular-repositories deleted file mode 100755 index b4f585b..0000000 --- a/bin/popular-repositories +++ /dev/null @@ -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()