[opensuse-buildservice] auto-incrementing deb versions
Hello, OBS increments automatically the "Release" part of version in RPMs. In debs, as it is documented, the version needs to be increased manually before each rebuilding. Is there a way to automate it? And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs. Cheers Marcin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thu, 21 May 2015 15:56:31 +0100 Marcin Wojdyr <wojdyr@gmail.com> wrote:
Hello, OBS increments automatically the "Release" part of version in RPMs. In debs, as it is documented, the version needs to be increased manually before each rebuilding. Is there a way to automate it?
I brought this up to adrian already and he told me he will look into it. but it will basically break the signature of signed .dsc files.
And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs.
for rpms yes. but not for dsc. might be doable when we switch to modify the release tag of the dsc file. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 21 May 2015 at 16:10, Marcus Rückert <darix@opensu.se> wrote:
I brought this up to adrian already and he told me he will look into it. but it will basically break the signature of signed .dsc files.
thanks!
And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs.
for rpms yes. but not for dsc. might be doable when we switch to modify the release tag of the dsc file.
How to do it for rpms? Like in this comment? https://bugs.bareos.org/view.php?id=51#c112 Marcin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 21. Mai 2015, 18:48:11 wrote Marcin Wojdyr:
On 21 May 2015 at 16:10, Marcus Rückert <darix@opensu.se> wrote:
I brought this up to adrian already and he told me he will look into it. but it will basically break the signature of signed .dsc files.
actually, it is already implemented, but it is not enabled by default for debian. You need to have the tag word DEBTRANSFORM-RELEASE inside of your .dsc file and the "debtransform" tool will update the release field during build. It might be a bit questionable to have a different default for debian then for rpm, but it was done that way, because debian used to do manual builds only. Well, fedora did the same ... Not sure here, we may should switch that to an opt-out instead of opt-in, but that would be an incompatible change ... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
It'd be nice if we could have distro tags in RPMs, too. Those currently get stripped out even when they are in the spec file for the Release field. On Thu, May 21, 2015 at 10:56 AM, Marcin Wojdyr <wojdyr@gmail.com> wrote:
Hello, OBS increments automatically the "Release" part of version in RPMs. In debs, as it is documented, the version needs to be increased manually before each rebuilding. Is there a way to automate it? And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs. Cheers Marcin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2015-05-21 12:22:17 -0400, Neal Gompa wrote:
It'd be nice if we could have distro tags in RPMs, too. Those currently get stripped out even when they are in the spec file for the Release field.
Just do them correctly (via prjconf) and they will stay. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2015-05-21 18:22, Neal Gompa wrote:
It'd be nice if we could have distro tags in RPMs, too. Those currently get stripped out even when they are in the spec file for the Release field.
Yeah because the %{RELEASE} field was never meant to be abused for what the %{DISTRIBUTION} field already carries. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday 2015-05-21 16:56, Marcin Wojdyr wrote:
And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs.
That should not be necessary, as OBS keeps the produced files separate on a per-distro basis, e.g. /repositories/home:/foo/openSUSE_13.2 so that there is no overlap in filenames in the absence of tags. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 21 May 2015 at 18:28, Jan Engelhardt <jengelh@inai.de> wrote:
On Thursday 2015-05-21 16:56, Marcin Wojdyr wrote:
And a related question: is there a way to add distro-specific tag to the version, ideally using a common dsc file? A tag such as "~trusty" as in Ubuntu PPAs.
That should not be necessary, as OBS keeps the produced files separate on a per-distro basis, e.g. /repositories/home:/foo/openSUSE_13.2 so that there is no overlap in filenames in the absence of tags.
Yes, it's not necessary, but nice to have. I've got email from a user saying that he couldn't install deb file he downloaded. He probably downloaded file for different version of Ubuntu, but it's harder to tell if the files have the same name. Marcin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (6)
-
Adrian Schröter
-
Jan Engelhardt
-
Marcin Wojdyr
-
Marcus Rueckert
-
Marcus Rückert
-
Neal Gompa