Mailinglist Archive: opensuse-packaging (45 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Packages renames
- From: Michael Matz <matz@xxxxxxx>
- Date: Wed, 7 May 2008 11:41:52 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0805071134180.20583@xxxxxxxxxxxxx>
Hi,
On Wed, 7 May 2008, Lars Vogdt wrote:
What Thorsten is trying to say is, that this complicates updating from
older than the last box/product, to a point where the package maintainer
probably will make an error that breaks such updating. Suppose there's a
package oldpac with these versions:
oS 10.1 : oldpac 1.1
oS 10.2 : oldpac 1.3
oS 10.3 : oldpac 1.4
SLE10 : oldpac 1.2
Now, what version should be provided in newpac (going into oS 11.0)? With
the current suggestion it would be:
Provides: oldpac = 1.4
That package will also go into SLE11. But updating from SLE10 to SLE11
would require a Provides: oldpac = 1.2 (as that was the version in SLE10).
So the question is, how to handle this? An easy work around is to provide
a whole halfrange (Provides: oldpac <= 1.4), which obviously breaks if not
all features of _all_ older versions are there.
Another suggestion would be to add multiple provides:
Provides: oldpac = 1.2
Provides: oldpac = 1.4
That's cumbersome and most people will get this wrong. Especially because
the set of those to-be-added provides depends on the set of older products
from which we'd like to update. Including things like SP's and side
products.
Ciao,
Michael.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
On Wed, 7 May 2008, Lars Vogdt wrote:
On Mittwoch, 7. Mai 2008 11:20:11 Thorsten Kukuk wrote:
Hm, if Provides only contains a "=", which version number should I
add? The one from openSUSE 10.1?
The one from openSUSE 10.2?
The one from openSUSE 10.3?
The one from SLE10 SPX?
Or do you wish to tell me, I'm no longer able to update from
SLE10 to SLE11?
In an ideal world, the obsolete/provides-version should contain the
exact version number of the obsoleted old package. So in the given
example this would be:
Obsoletes: oldpac <= 1.0
Provides: oldpac = 1.0
What Thorsten is trying to say is, that this complicates updating from
older than the last box/product, to a point where the package maintainer
probably will make an error that breaks such updating. Suppose there's a
package oldpac with these versions:
oS 10.1 : oldpac 1.1
oS 10.2 : oldpac 1.3
oS 10.3 : oldpac 1.4
SLE10 : oldpac 1.2
Now, what version should be provided in newpac (going into oS 11.0)? With
the current suggestion it would be:
Provides: oldpac = 1.4
That package will also go into SLE11. But updating from SLE10 to SLE11
would require a Provides: oldpac = 1.2 (as that was the version in SLE10).
So the question is, how to handle this? An easy work around is to provide
a whole halfrange (Provides: oldpac <= 1.4), which obviously breaks if not
all features of _all_ older versions are there.
Another suggestion would be to add multiple provides:
Provides: oldpac = 1.2
Provides: oldpac = 1.4
That's cumbersome and most people will get this wrong. Especially because
the set of those to-be-added provides depends on the set of older products
from which we'd like to update. Including things like SP's and side
products.
Ciao,
Michael.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |