Community
Participate
Working Groups
Created from: TYCHO-558: tycho-versions-plugin changes feature url in site.xml https://issues.sonatype.org/browse/TYCHO-558 Original Description: Steps to reproduce: 1. git clone git://mylyn-mantis.git.sourceforge.net/gitroot/mylyn-mantis/mylyn-mantis 2. cd com.itsolut.mantis.parent 3. mvn org.sonatype.tycho:tycho-versions-plugin:set-version -DnewVersion=3.5.0-SNAPSHOT Besides the issues reported at TYCHO-426 , I get an incorrect change in site.xml : {code} - <feature url="features/com.itsolut.mantis_feature_3.1.5.qualifier.jar" id="com.itsolut.mantis_feature" version="3.1.5.qualifier"> + <feature url="com.itsolut.mantis_feature_3.5.0.qualifier" id="com.itsolut.mantis_feature" version="3.5.0.qualifier"> {code} Original Comments: == bstrasser == [1295566386000] Fixed in my fork; implementation/tests: https://github.com/b8/sonatype-tycho/commit/fea6052a33ac2c70753c8e7fc721c86a74af3fd7
I'll look at the contribution once the Tycho sources are in parallel IP at Eclipse.
Unfortunately, I currently have only a single branch for several of my contributions to the versioning plugin. I'll create branches from 0.12 for each bugfix and create pull requests from each of them.
Pull requests in Github are not enough. You need to attach your change as patch to an Eclipse bug, because then you consent to the eclipse.org terms of use [1] and hence license your IP under the EPL. [1] http://www.eclipse.org/legal/termsofuse.php
Created attachment 194777 [details] Bugfix for Tycho 0.13 https://github.com/b8/sonatype-tycho/commit/063430e2a5c38cb4a6351f51ef26943f7c38e214
@Beat: The patch looks good, execpt for the copyright header in SiteXmlManipulatorTest Did you write the test yourself? If yes, please fix the copyright header to specify the right year (probably just "2011") and the right copyright owner. (I am assuming that Sonatype doesn't own your changes...)
Created attachment 197917 [details] Bugfix and tests incl correct copyright headers Attached a patch which includes the correct copyright headers.
Patch applied -> commit 1640834 @Beat: Thank you for the contribution. Just a small remark: The updated patch didn't contain any commit information (i.e. the patch didn't work with @git am@ but only with @git apply@). Therefore I had to take the commit information from of the first patch. I would prefer patches in the format of the first patch, i.e. the normal @git format-patch@ output. Thanks!