Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Reproducible Version Qualifiers

Hi committers/contributors

 

I’ve now merged the change which enables this on ‘master’.

 

From now on the 1st time a plugin is changed after a release the gerrit build will fail with the following message if the version number is not incremented.

 

“Only qualifier changed for (org.eclipse.cdt.managedbuilder.ui/9.1.0.201810090947). Expected to have bigger x.y.z than what is available in baseline (9.1.0.201810050005)”

 

In some cases you may see an error indicating the number has gone backwards. e.g.:

“ Version have moved backwards for (org.eclipse.cdt.managedbuilder.gnu.ui/8.3.0.201802081917).”

 

If you see this it important to check there aren't any missing commits from the current branch as this indicates unmerged fixes relative to the last release.

 

When updating the baseline it can be helpful to let the build continue past these errors, so you can find all plugins which need version number increments quickly. Adding "-DonIllegalVersion=warn" when calling maven will change the error to a warning.

 

Regards

William

 

From: cdt-dev-bounces@xxxxxxxxxxx <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of William Riley
Sent: 22 October 2018 23:28
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Reproducible Version Qualifiers

 

I need a day or two to check it's working properly before merging the commit anyway.

 

However I'll merge the commit which just bumps the version numbers on plugins where the last commit was before the 9.5.4 build. I need need a fully signed CDT build with those versions fixed to check everything will work correctly.

 

William

 

-------- Original Message --------

Subject: Re: [cdt-dev] Reproducible Version Qualifiers

From: Marc-Andre Laperle <malaperle@xxxxxxxxx>

Date: 22 Oct 2018, 18:05

To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>

I’ll have a few questions if you don’t mind to wait a little bit.

 

Marc-André


On Oct 22, 2018, at 10:21, William Riley <william.riley@xxxxxxxxxxx> wrote:

Hi all

 

After some discussion with Jonah I’ve pushed a change to enable Reproducible Version Qualifiers for CDT. With this enabled the qualifier for a plugin is based on the last git commit time rather than the build time. Additionally it incrementing the major, minor or patch segments when changing a plugin after a release, it is not enough to rely on just the qualifier.

 

If anyone has any comments or objections to this please comment on https://bugs.eclipse.org/bugs/show_bug.cgi?id=540367

 

For more details see https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers

 

Regards

William

 

 

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 

 

Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.




Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.


Back to the top