stravid / hulkort

Track and save your Git commit statistics
hulkort.com
1 stars 0 forks source link

Add a commit to a specific repository #34

Closed stravid closed 12 years ago

stravid commented 12 years ago

In order to organize my commit stats As a API client I want to post to specific repository

stravid commented 12 years ago

API call should be the same like before, but you can add a repository parameter: &repository=1

stravid commented 12 years ago

What do we do with existing commits and commits where no repository is specified? A default repository for every user? Or is it okay that a commit doesn't belong to a repository?

tombu commented 12 years ago

No repository - should be o.k.

I just realized: With this feature every 'normal' user will be able to track his commits per repository by using repository specific commit hooks. ;)

stravid commented 12 years ago

Good!

Yes that's true, but rather complicated to do so, you have to edit the hook for each repository by hand. Atleast I can't think of an automatic solution with Git templates.