reposense / RepoSense

Contribution analysis tool for Git repositories
https://reposense.org
MIT License
238 stars 153 forks source link

run.sh: provide a flag to indicate major version #2208

Open damithc opened 1 month ago

damithc commented 1 month ago

Context: see https://reposense.org/ug/runSh.html

Suggested: provide a way to specify that the latest release of a specific major version should be used. For example --version 3.* will use the latest version that starts with 3.

Justification: This way, the user can take advantage of latest bug fixes while avoiding breaking changes (assuming breaking changes will only be introduced in new major versions)

jedkohjk commented 1 week ago

Hi, I'm interested in taking this issue, but it appears that it will require changes to the publish-RepoSense repo? Should we make a PR to that repo?

ckcherry23 commented 1 week ago

@jedkohjk Yes, you can make a PR to the publish-RepoSense repository.

jedkohjk commented 1 week ago

Hi, is it okay to do this as an extension of the --tag flag instead of adding a new --version flag? That is, allowing --tag to take in an expression with the wildcard *, then picking the latest version that fits that expression.

gok99 commented 1 week ago

Hi @jedkohjk, sounds good to me. This'd be a natural extension of the --tag flag.

jedkohjk commented 6 days ago

Hi, I made a PR related to this 3 days ago. Can anyone review it? Thank you!