-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCM-977] Support for retrieving tags from the changelog #135
Conversation
81e1480
to
192a300
Compare
I have implemented the tags retrieval for gitexe, jgit and hg. |
@nielsbasjes I will take a look at all of your PRs next month. This month, very unlikely. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to move whatchanged
to log
I am fine with that, but let's do this in a separate JIRA issue and PR.
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
a52f1a6
to
4c64430
Compare
4c64430
to
d55a48a
Compare
maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Outdated
Show resolved
Hide resolved
.../test/java/org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogCommandTckTest.java
Outdated
Show resolved
Hide resolved
maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Outdated
Show resolved
Hide resolved
maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Outdated
Show resolved
Hide resolved
maven-scm-api/src/main/java/org/apache/maven/scm/ChangeSet.java
Outdated
Show resolved
Hide resolved
3edaa52
to
60dec10
Compare
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...ava/org/apache/maven/scm/provider/git/gitexe/command/changelog/GitChangeLogConsumerTest.java
Outdated
Show resolved
Hide resolved
...m-test/src/main/java/org/apache/maven/scm/tck/command/changelog/ChangeLogCommandTckTest.java
Outdated
Show resolved
Hide resolved
So as far as I understand your implementation, it side walks with "git log" and reads out whether those commits belong to tags as well?! |
60dec10
to
b0f1c79
Compare
b0f1c79
to
3e93ebe
Compare
Added those tiny changes myself. Requires #149 to be merged first. |
3e93ebe
to
b04525f
Compare
Jira issue SCM-977
My aim is to support having something like https://www.conventionalcommits.org/ in the maven-release-plugin.
This simply means that the next version of a release is calculated from the last tag in the version history and the patterns in the commit messages since that tag.
To support this idea the maven-scm should be extended to also retrieve the tags with the changelog command on SCM implementations that support this idea.
This patch adds