Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Sisu/Milestones"

m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Latest Milestones ==
 
== Latest Milestones ==
  
 +
* 0.3.0.M1 → Java8 support and performance fixes
 +
* 0.2.0.M2 → @PostConstruct and @PreDestroy support
 +
* 0.2.0.M1 → @Priority support (and plexus map improvements)
 +
* 0.0.0.M5 → Documentation and fixes
 +
* 0.0.0.M4 → Sisu extension support
 +
* 0.0.0.M3 → API refactoring and cleanup
 +
* 0.0.0.M2a → Minor regression fixes
 +
* 0.0.0.M2 → Plexus configurator work
 +
* 0.0.0.M1 → Additional Plexus support
 
* 0.0.0.M0 → Initial contribution
 
* 0.0.0.M0 → Initial contribution
  
 
== Staging Process ==
 
== Staging Process ==
  
* Sisu is still incubating so all milestone versions must start with <tt>0.</tt>
+
Scripts are available to prepare and stage Sisu milestones:
* Set milestone version using <tt>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.<i>x</i>.<i>y</i>.M<i>z</i></tt>
+
* Commit version change and create a temporary local branch <tt>staging-0.<i>x</i>.<i>y</i>.M<i>z</i></tt> based on this commit
+
* Switch to the <tt>staging-0.<i>x</i>.<i>y</i>.M<i>z</i></tt> branch and stage the artifacts using <tt>mvn clean deploy -Psonatype-oss-release</tt>
+
* Verify the artifacts before releasing, if you need to restage make sure any last minute fixes are merged back to the <tt>master</tt> branch
+
* Tag the staging branch as <tt>milestones/0.<i>x</i>.<i>y</i>.M<i>z</i></tt> using <tt>git tag -u &lt;key-id&gt; ...</tt> to sign the tag
+
* Switch back to the <tt>master</tt> branch and delete the temporary staging branch
+
* Reset development version using <tt>mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.<i>x</i>.<i>y</i>-SNAPSHOT</tt>
+
* Commit version change, push to remote, and continue development ;)
+
 
+
== Example ==
+
  
 
<pre>
 
<pre>
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.0.0.M1
+
sh bin/prepare_milestone.sh 0.9.0.M1
  
git add . ; git commit -m "Milestone 0.0.0.M1"
+
GPG_KEYNAME=myuser@mymail.com sh bin/perform_milestone.sh 0.9.0.M1 "various fixes"
  
git checkout --no-track -b staging-0.0.0.M1
+
git push --tags  # only push tags once you're happy with the staged milestone
 +
</pre>
  
git diff milestones/0.0.0.M0 --patience --color-words=[^[:space:]]
+
Note: Sisu is still incubating so all versions must start with <tt>0.</tt>
 
+
mvn clean deploy -Psonatype-oss-release -Dgpg.keyname=mcculls@gmail.com -Dgpg.useagent
+
 
+
git checkout master
+
 
+
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.0.0-SNAPSHOT
+
 
+
git add . ; git commit -m "Prepare for next round of development"
+
 
+
git diff origin/master
+
 
+
git push
+
 
+
git tag -u mcculls@gmail.com milestones/0.0.0.M1 staging-0.0.0.M1
+
 
+
git tag -v milestones/0.0.0.M1
+
 
+
git branch -D staging-0.0.0.M1
+
 
+
git push --tags
+
</pre>
+
  
 
[[Category:Sisu]]
 
[[Category:Sisu]]

Latest revision as of 12:27, 20 February 2015

Latest Milestones

  • 0.3.0.M1 → Java8 support and performance fixes
  • 0.2.0.M2 → @PostConstruct and @PreDestroy support
  • 0.2.0.M1 → @Priority support (and plexus map improvements)
  • 0.0.0.M5 → Documentation and fixes
  • 0.0.0.M4 → Sisu extension support
  • 0.0.0.M3 → API refactoring and cleanup
  • 0.0.0.M2a → Minor regression fixes
  • 0.0.0.M2 → Plexus configurator work
  • 0.0.0.M1 → Additional Plexus support
  • 0.0.0.M0 → Initial contribution

Staging Process

Scripts are available to prepare and stage Sisu milestones:

sh bin/prepare_milestone.sh 0.9.0.M1

GPG_KEYNAME=myuser@mymail.com sh bin/perform_milestone.sh 0.9.0.M1 "various fixes"

git push --tags  # only push tags once you're happy with the staged milestone

Note: Sisu is still incubating so all versions must start with 0.

Back to the top