google / earthenterprise

Google Earth Enterprise - Open Source
Apache License 2.0
2.67k stars 889 forks source link

Ensure release RPMs will upgrade alpha or beta installs #650

Open tst-jblair opened 6 years ago

tst-jblair commented 6 years ago

Currently release RPMs will not upgrade Alpha or Beta RPMs. The versioning should be upgraded such that a release RPM of the same version should update Alpha and Beta installations.

Two proposals have been made thus far:

1) Determine if there are other viable options. 2) Select a final design path. 3) Implement it in the RPM build process.

tst-ccamp commented 6 years ago

How about this scheme? If we eliminate the "-#" (that was originally intended to be the package number, but was later just included in the version string instead), and don't drop release, then it should work just fine.

5.2.1.patch#.alpha.date.commit 5.2.1.patch#.beta.#.date.commit 5.2.1.patch#.release

Unfortunately, I think we'll always have to include patch number, otherwise "5.2.1.1.release" wouldn't upgrade "5.2.1.release". That means occasionally we'll have weird looking versions like "5.3.0.0", but I think we can live with that as it won't happen very often. :)

tst-lsavoie commented 4 years ago

@tst-rwildes has this been fixed with the new versioning scheme?