-
Notifications
You must be signed in to change notification settings - Fork 156
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
Rultor should help create a better git log and release text #919
Comments
@alxn yeah, I see your point... I think that the best we can do is to go through the list of issues and find those that were closed between the latest release and current one, and list them. What do you think? |
@yegor256 for the release notes, that would be good enough I guess. It's a shame that |
@alxn this task will get someone's attention soon |
@alxn since there is no milestone yet I set it to "2.0" |
@alex-palevsky this is postponed |
@original-brownbear right, I added "postponed" label |
@original-brownbear no problem, I will try to find somebody else |
@original-brownbear what did you think about this one? |
@alxn I don't think it would be too hard to have Rultor enforce a nice log in the future. I mean we're working from the rule of small and single-issue PRs anyways, so we could simply
=> this we could def implement and offer as an option in the Would that be what you're looking for here ? |
@original-brownbear yes, something like that. We've been using Unless we end up with
|
How about we simply add this functionality to the git-log:
format: "some regex forced on commit messages"
allow_mcs: "true/false" # merge commits allowed?
max_commits: "number of max commits per PR"
forbid_duplicates: "true/false" # whether to block duplicate messages in direct succession PS: "#comment" does not work, " #comment" does though ;) |
@original-brownbear That sounds like a good idea, though I wonder whether it's nice to get it user-side as well, i.e. from git-scm
|
@alxn well the whining ..., that's a very different issue, outside of Rultor's scope imo. |
I think @mkordas made a very good point on this :) How about implementing this ? : Quote him:
Why not simply add functionality the merge command for architects, so the ARC can do this: "{at}rultor merge commit message is '#1234 did some reasonable thing' " Then we have a reasonable line of merge commits guaranteed and can build a release log from those ? |
Just look over this release example, it's nice to see something like:
#<issue1>
<Description of Issue1>
#<issue2>
<Description of Issue2>
...
And for the git log, something like this:
Merge pull request #<issue> from <branch-name>
Fixes #<issue>: <Description of issue>
...
Currently with rultor I see things like this in some releases:
<hash>
by rultor: Merge branch '__rultor'<hash>
by @alxn: Some in-person review comments...<hash>
by @alxn: Update the UML started by...<hash>
by rultor: Merge remote-tracking branch '...<hash>
by rultor: Merge remote-tracking branch '...<hash>
by rultor: Merge branch '__rultor'<hash>
by<@user>
: `: CR fixes more....<hash>
by<@user>
: `: CR fixes....<hash>
by<@user>
: `: cobertura....<hash>
by<@user>
: `: checkstyle....<hash>
by<@user>
: `: Fix for....I know
squashing
goes a long way to help this, but I think what we really want to see onmaster
, and in the release notes is something more like:<hash>
by<@user1>
:<issue1>: <Description of issue1>
<hash>
by<@user2>
:<issue2>: <Description of issue2>
<hash>
by<@user3>
:<issue3>: <Description of issue3>
The text was updated successfully, but these errors were encountered: