[Ubuntu] creating GRASS packages for UbuntuGIS

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Jan 16 04:11:35 PST 2016


On 16-01-16 13:00, Martin Landa wrote:
> 2016-01-16 12:16 GMT+01:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
>> On 16-01-16 11:55, Martin Landa wrote:
>>> 2016-01-16 11:27 GMT+01:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
>>>>  dch -v 7.0.3~rc2-1~exp1~wily1
>>>
>>> btw, I started to use different format of tags (without `exp` - I
>>> thought that it's just related to experimental branch):
>>
>> The -1~exp1 revision is used to have the experimental versions precede
>> the -1 upload to unstable.
> 
> yes, but it's valid for Debian, not for Ubuntu ASAIU.

Ubuntu is a derivative of Debian, and so it applies to Ubuntu as well.

>>  Please keep in mind issues like the possibility to upgrade to the next
>>  Ubuntu stable release. Packages that are backports can be made
>>  inferior in version by using a tilde. If the package contains
>>  additional development, a version number without the tilde will make
>>  it higher, but not as high as the next Debian revision. For example:
>>
>>     2.12.0-1~natty1 (backport in PPA)
>>   < 2.12.0-1        (from Debian in Ubuntu)
>>   < 2.12.0-1natty1  (in PPA, containing additions)
>>   < 2.12.0-2        (from Debian in Ubuntu).
>> "
>>
>> https://pkg-grass.alioth.debian.org/policy/packaging.html#ubuntugis-ppa
>>
>>> dch -v 7.0.3~rc2-1~wily1
>>
>> This is wrong for backports.
> 
> What is exactly wrong? Based on 2.12.0-1~natty1

Because "~wily1" is appended to the version uploaded to the Debian
archive: 7.0.3~rc2-1~exp1.

And so the correct revision for the UbuntuGIS backport is
7.0.3~rc2-1~exp1~wily1.

> 7.0.3RC1 -> 7.0.3~rc1-1~willy1
> 7.0.3 -> 7.0.3-1~wily1
> 
> Sorry, I am getting lost from such complexity, Martin

Please do learn how to deal with package version histories properly,
your users will not be served well with broken upgrades.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list