Discussion:
IPS: package versioning
M I
2011-04-21 18:36:33 UTC
Permalink
I was able to create an IPS server for our out-of-box driver that allows our test engineers to download/install it to their test systems. One problem I am having is that our out-of-box driver version numbers are alpha-numeric. Unfortunately IPS only allows strictly numeric version numbers. E.G. it should allow driver version 10.15a. As it is now, the driver will not post with an alpha-numeric version string.

Is this a change that may be forthcoming?
--
This message posted from opensolaris.org
Shawn Walker
2011-04-21 18:44:40 UTC
Permalink
Post by M I
I was able to create an IPS server for our out-of-box driver that allows our test engineers to download/install it to their test systems. One problem I am having is that our out-of-box driver version numbers are alpha-numeric. Unfortunately IPS only allows strictly numeric version numbers. E.G. it should allow driver version 10.15a. As it is now, the driver will not post with an alpha-numeric version string.
Is this a change that may be forthcoming?
It's impractical to perform consistent version ordering that works the
way each package creator expects with non-numeric characters in the
version. As such, there are no plans to implement support for
non-numeric characters in package versions.

Why do you need this support?

-Shawn
M I
2011-04-21 20:05:07 UTC
Permalink
Fair enough, Shawn. Up until now, our Solaris driver builds had version numbers like 1.00a, 1.00b, etc. but for future builds we will look at changing the version numbers to something like 1.00.0, 1.00.1, etc.

We wanted alphanumeric support so that we could continue with the same version number scheme that we had been using with previous versions of Solaris - before Open Solaris was introduced. To meet IPS requirements, we will go ahead and switch to a fully numeric version scheme.
--
This message posted from opensolaris.org
Shawn Walker
2011-04-21 20:14:06 UTC
Permalink
Post by M I
Fair enough, Shawn. Up until now, our Solaris driver builds had version numbers like 1.00a, 1.00b, etc. but for future builds we will look at changing the version numbers to something like 1.00.0, 1.00.1, etc.
We wanted alphanumeric support so that we could continue with the same version number scheme that we had been using with previous versions of Solaris - before Open Solaris was introduced. To meet IPS requirements, we will go ahead and switch to a fully numeric version scheme.
I believe there is intent to add support for a custom version string
that's used for display purposes only, but otherwise, yes, it's best you
switch to a numeric versioning system.

-Shawn

Loading...