Put all the stats output local, not in the repos
Because it's annoying to dirty all my repos
This commit is contained in:
parent
5b73d23bc0
commit
530d8afa6d
2 changed files with 5 additions and 5 deletions
|
@ -7,15 +7,15 @@ import teamanalysis.git
|
|||
import teamanalysis.repos
|
||||
import webbrowser
|
||||
|
||||
def _git_stats(abspath):
|
||||
output = subprocess.check_output(['git_stats', 'generate', '--path=' + abspath, '--out-path=' + os.path.join(abspath, 'git_stats')])
|
||||
def _git_stats(repo):
|
||||
abspath = '/Users/eliribble/src/{}/'.format(repo)
|
||||
output = subprocess.check_output(['git_stats', 'generate', '--path=' + abspath, '--out-path=' + os.path.join('./git_stats', repo)])
|
||||
return output
|
||||
|
||||
def main():
|
||||
for repo in teamanalysis.repos.REPOSITORIES:
|
||||
print(repo)
|
||||
abspath = '/Users/eliribble/src/{}/'.format(repo)
|
||||
#output = _git_stats(abspath)
|
||||
output = _git_stats(repo)
|
||||
|
||||
template_loader = jinja2.FileSystemLoader(searchpath=os.path.abspath('./templates/'))
|
||||
template_environment = jinja2.Environment(loader=template_loader)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue