[opensuse-buildservice] Change Origin in Debian/Ubuntu packages
![](https://seccdn.libravatar.org/avatar/83304a7da4411e15bbc151d20d5ca325.jpg?s=120&d=mm&r=g)
To enable automatic update in Debian/Ubuntu the Origin of a package must be specified. Currently the origin of packages created with our private OBS (2.8.2) instance is always: obs://build.opensuse.org/<project-name>/<repo> Using that URL-stylite Origin is not possible for unattended updates. As a workaround you can use a regular expression like "*<project-name>*". Is there a way to override the default Origin in OBS? Ralf -- Ralf Becker EGroupware GmbH [www.egroupware.org] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 631 31657-0
![](https://seccdn.libravatar.org/avatar/ed90d0132a4f59f2d3a1cf82a1b70915.jpg?s=120&d=mm&r=g)
Am 02.02.2018 um 12:48 schrieb Ralf Becker:
To enable automatic update in Debian/Ubuntu the Origin of a package must be specified.
Currently the origin of packages created with our private OBS (2.8.2) instance is always:
obs://build.opensuse.org/<project-name>/<repo>
You probably should set $BSConfig::obsname to something resembling your installation ;-)
Using that URL-stylite Origin is not possible for unattended updates. As a workaround you can use a regular expression like "*<project-name>*".
Is there a way to override the default Origin in OBS?
It seems the origin is partly hardcoded in src/backend/bs_publish line 744: https://github.com/openSUSE/open-build-service/blob/2.8/src/backend/bs_publi... So the only thing you can change without editing the publisher code is $BSConfig::obsname (which defaults to build.opensue.org) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Ralf Becker
-
Stefan Seyfried