-
Notifications
You must be signed in to change notification settings - Fork 92
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
Missing tags for recent releases? #242
Comments
I think f3329e3 is the right commit to tag for 2.0.0: git tag -s -m 'formatter-maven-plugin-2.0.0' formatter-maven-plugin-2.0.0 f3329e3536a8bc6c2d956962ee35a4264dbebfaa I think 3ee98ec is right for 2.1.0.RC1: git tag -s -m 'formatter-maven-plugin-2.1.0.RC1' formatter-maven-plugin-2.1.0.RC1 3ee98ec03f30f620e3b06422d64ce317520cc9a9 I'm not 100% certain about these, but I'm even less certain of which commit corresponds to 2.0.1. Normally these get created by the
Anything more complicated than that can/should be automated into the release plugin. |
I'll push the tags up. All should be on my machine still. The m2e stuff messes up a number of things so I had used deploy to get it out. Only prepare worked and not all that great.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Christopher Tubbs <[email protected]>
Sent: Monday, October 23, 2017 6:55:37 PM
To: revelc/formatter-maven-plugin
Cc: Subscribed
Subject: Re: [revelc/formatter-maven-plugin] Missing tags for recent releases? (#242)
I think f3329e3<f3329e3> is the right commit to tag for 2.0.0:
git tag -s -m 'formatter-maven-plugin-2.0.0' formatter-maven-plugin-2.0.0 f3329e3
I think 3ee98ec<3ee98ec> is right for 2.1.0.RC1:
git tag -s -m 'formatter-maven-plugin-2.1.0.RC1' formatter-maven-plugin-2.1.0.RC1 3ee98ec
I'm not 100% certain about these, but I'm even less certain of which commit corresponds to 2.0.1.
Normally these get created by the maven-release-plugin, but I fear this plugin's release process is more complicated, and not well documented. If I understood it a bit better, I'd be happy to automate more tasks into the maven-release-plugin process, but I'd need an explanation of the current process first. This really should be as easy as:
1. mvn release:prepare && mvn release:perform
2. Verify staging repo
3. Promote staging repo
4. Push tag to git repo (optionally, replace with a GPG signed tag, first with -s as in the above examples)
5. Push commits to bump version to next SNAPSHOT version
6. Post release tasks (generate/upload site documentation and eclipse plugin repo, etc.)
Anything more complicated than that can/should be automated into the release plugin.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#242 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA7ho8qXq_MC3xNfHXK01yM4FJmqeigaks5svRlpgaJpZM4QDMis>.
|
@hazendaz Is there any way you can find the time to document how you're currently doing it? |
Also, the |
The tags have been pushed up now. The only real way to fix the build is to either learn some other process or break the plugin away from eclipse direct needs. I can see the plugin itself getting released far more frequently now if we made that separation. I believe there is a ticket already to do that. I just haven't had the time. What else is missing? Site is recently fully generated so while not off that deploy, it's there with latest info and finally fixed (had some internal linking issues before). |
Thanks. I see the tags for 2.0.0 and 2.1.0.RC1, but I don't see the 2.0.1, which is the one I was least sure about. Also, if you could provide details of the issues you run into, it would be helpful for people interested in contributing. You've alluded to some brokenness with the build due to the plugin being tied to eclipse, and some linking issues, but no details. The more details you provide about what things cause problems in releases, the more I (and others) could contribute to start addressing those things. To start, it would be helpful simply to document the commands/steps you run to do a release. |
I pushed to maven central as not every testing avenue has the option of easily reaching the outside. So that is more out of necessity if I go further with testing. I did think to call it beta but after as much testing I did this past weekend I felt comfortable with it. I believe off a standard proper maven setup, which isn't always the case but should be that the plugin will not pick up any of the other formatters at all. That is because the code looks specifically at src/main/java and src/test/java by default. Generally those should not contain other resources. Although I've seen projects like that it's been a long time and generally those projects are just over ant at best and usually don't include anything like this project attempts to do. Although I could just disable all of them entirely unless forced on which is likely the best option. Easiest thing there although not most graceful would be to set the defaults to Releasing. This is all I did. mvn release:prepare Verify staging repo For git tags today, ran this since I did them all off my machine previousy. This pulled all prior ones missing. I seeded by my origin and upstream.
|
Sorry no offical tag on 2.0.1. I noticed that wasn't present. I don't recall what I did then but suspect it was not pretty and certainly did not enjoy the benefit of forcing it through the release steps like i did this time. Surprisingly the release was actually fairly simple to pull off unlike what I expected. Had it not went so well I would not have released it. |
Heh, no worries. Just hoping to smooth out some of the bumps in this plugin's history to help encourage others to contribute and help with maintaining, so it's not all on you. 😄 |
Found a commit that was basically 2.0.1, so I made a tag and pushed it. |
Great thanks
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Christopher Tubbs <[email protected]>
Sent: Friday, October 27, 2017 8:27:16 PM
To: revelc/formatter-maven-plugin
Cc: Jeremy Landis; Mention
Subject: Re: [revelc/formatter-maven-plugin] Missing tags for recent releases? (#242)
Closed #242<#242>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#242 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AA7ho9feW8JyuCULkFGPH0xc5clD0mXmks5swnTkgaJpZM4QDMis>.
|
I was looking for the tags for recent releases 2.0.0 and 2.0.1, but they do not seem to exist.
Also, I saw that 2.1.0.RC1 was pushed to Maven Central. It also doesn't have a tag. I'd strongly advise against pushing release candidates to Maven Central. Candidates can be evaluated from the closed staging repository in Nexus. They do not need to be promoted to Maven Central to be tested, or even marked as "RC". One can simply add the staging repository to one's
~/.m2/settings.xml
file to use the artifacts to test them, and if they are good, they can be promoted to Maven Central with the click of a button. In addition to potentially confusing users about whether or not a release is a "good" one, leaving it marked as "RC" and pushing it to Maven Central makes it hard to tell whether something has been promoted beyond "candidate" into a "release".The text was updated successfully, but these errors were encountered: