[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ayatana-indicator-messages: bump epoch in package version from <none> to 1



Hi Jonas, hi all,

On  So 12 Dez 2021 16:13:33 CET, Jonas Smedegaard wrote:

Quoting Mike Gabriel (2021-12-12 14:47:26)
HI Jonas,

On  So 12 Dez 2021 14:26:35 CET, Jonas Smedegaard wrote:

> Hi Mike,
>
> Quoting Mike Gabriel (2021-12-12 13:53:55)
>> the src:package ayatana-indicator-messages contains bin:pkgs
>> (libmessagingmenu*) that have the same name as Ubuntu's src:pkg
>> indicator-messages.
>>
>> The src:pkg indicator-messages has a higher version number than
>> ayatana-indicator-messages and thus the latter fails to be imported
>> into Ubuntu.
>>
>> See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000801
>>
>> The solution for this probably is bumping the epoch of the package
>> version to 1:0.9.x-y. Any objections to this by anyone?
>>
>> Bumping the epoch to 1 would be sufficient, right?
>
> Binary packages need not use same versions as source package.
>
> Instead of introducing an epoch you could pass option -v to
> dpkg-gencontrol via dh_gencontrol.
>
> See
> https://salsa.debian.org/js-team/jsbundle-web-interfaces/-/blob/debian/master/debian/rules#L65
> for an example - notice that the source version is appended to ensure
> that binary packages get incremented with each new source release.

Yeah, I am aware of that possibility. However, I don't really feel
like inheriting the versioning from the Ubuntu package (year.month) in
the Debian package and be forced to carry that one along with me in
the future forever...

I'd rather use the upstream version (of ayatana-indicator-messages)
and be done with it.

Epochs should be avoided when possible, because they (by design) are
hidden in some interfaces, and therefore can cause surprises (e.g.
intending to tighten to "newer-than-some-version" but forgetting to
include the epoch - and not noticing the mistake until after the freeze
many moons later).

If you don't want to keep track of Ubuntu changing their versions
because you know that yours should always beat theirs, then how about
statically setting binary version higher yet within zero'th epoch?

  dh_gencontrol -- -v9999~$(DEB_VERSION)


 - Jonas

Thanks, Jonas, I'll consider that v9999 thingy...

Do others have an opinion on this?

Mike

--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net

Attachment: pgpN53oMhqnsY.pgp
Description: Digitale PGP-Signatur


Reply to: