psss / did

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

Directory with many Git repositories isn't recognized #327

Open BeeGrech opened 1 year ago

BeeGrech commented 1 year ago

I have configured a directory wild card which holds many git repositories. When using the wildcard on a higher level i get no commits back in my report. However drilling down in that same structure starts to yield results. I'm not sure of the exact number but I have configured many repos under a higher directory here

Example:

/home/myuser/workdir/* No commits recived

/home/myuser/workdir/proj/fork will yield my commits

psss commented 1 year ago

Yes, the currently wildcard implementation is very simple:

https://github.com/psss/did/blob/f153b581c995b19d44f0f46b4dac7273e5a60bd4/did/plugins/git.py#L126-L146

We could possibly extend it to explore deeper directory structure as well.