psss / did

What did you do last week, month, year?
https://did.readthedocs.io/
GNU General Public License v2.0
246 stars 104 forks source link

git plugin doesn't pull before fetching logs #295

Open sandrobonazzola opened 1 year ago

sandrobonazzola commented 1 year ago

Git plugin doesn't update the local git repo with git pull so in order to get fresh stats you need to manually update all tracked git repos. It would be nice to have an option for running git pull before getting the logs.

psss commented 1 year ago

Sounds like a nice and straightforward improvement. The config could look like this:

[github]
type = github
url = https://api.github.com/
token = <authentication-token>
login = <username>
pull = true

But we should probably add git-core to the package requires.