danielflower / maven-gitlog-plugin

Generates a change log for maven projects using git
55 stars 34 forks source link

Add a relative path filter #17

Open ittaiz opened 10 years ago

ittaiz commented 10 years ago

Hi, I have a use-case where several artifacts share the same git repo. I'd like to be able to filter commit messages based on relative path from the repo's base. I'd be glad to do the change and submit a pull request given you think it's doable and you don't have any objections to it. It seems I just need to add a CommitFilter which knows if the commit contains files from that relative path. Something like: RevTree tree = commit.getTree(); return TreeWalk.forPath(repo, path, tree) != null; I might be wrong since I have no jGit experience and this is just based on some googling.

danielflower commented 10 years ago

Hi, this looks useful too. I don't know how to implement it but it doesn't sound too hard. Would be good to see a pull request. Thanks.

helpermethod commented 8 years ago

@ittaiz Hi this feature has been implemented in this pull request

https://github.com/danielflower/maven-gitlog-plugin/pull/38

ittaiz commented 8 years ago

Thanks! Unfortunately we're no longer using the plugin... On יום ה׳, 19 במאי 2016 at 16:51 Oliver Weiler notifications@github.com wrote:

@ittaiz https://github.com/ittaiz Hi feature this has been implemented in this pull request

38 https://github.com/danielflower/maven-gitlog-plugin/pull/38

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/danielflower/maven-gitlog-plugin/issues/17#issuecomment-220330139