[opensuse-buildservice] Permalinks for RPMs
Hi, Is there a way to get a latest/permanent link to the built RPMs in the repository that will not change even if the version/release of the package changes? Regards, Srivats -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 06 September 2010 13:08:18 Srivats P wrote:
Hi,
Is there a way to get a latest/permanent link to the built RPMs in the repository that will not change even if the version/release of the package changes?
yes, in best way with rev=$xsrcmd5 You can use "osc setlinkrev" to set such a revision. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 06 September 2010 13:19:12 Adrian Schröter wrote:
On Monday 06 September 2010 13:08:18 Srivats P wrote:
Hi,
Is there a way to get a latest/permanent link to the built RPMs in the repository that will not change even if the version/release of the package changes?
yes, in best way with rev=$xsrcmd5
You can use "osc setlinkrev" to set such a revision.
sorry, that is for sources only of course. What you can do for rpms is to use the ymp shortcuts (because you usually anyway need to use the repository to get dependencies). curl -n https://api.opensuse.org/published/openSUSE:Tools/openSUSE_Factory/osc?view=... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Adrian,
That won't work with Mandriva RPMs unfortunately. I was looking for
this as a workaround to the problem that Mandriva does not seem to
recognize the repositories published by OBS due to the lack of
metadata generated by genhdlist2.
I see that in another thread you have already offered to fix the
Mandriva repo problem by running genhdlist2 if someone gives you a
openSUSE package for that - unfortunately I can't (I just use OBS to
build packages for all distros for my opensource project -
http://ostinato.googlecode.com/)
Srivats
On Mon, Sep 6, 2010 at 4:57 PM, Adrian Schröter
On Monday 06 September 2010 13:19:12 Adrian Schröter wrote:
On Monday 06 September 2010 13:08:18 Srivats P wrote:
Hi,
Is there a way to get a latest/permanent link to the built RPMs in the repository that will not change even if the version/release of the package changes?
yes, in best way with rev=$xsrcmd5
You can use "osc setlinkrev" to set such a revision.
sorry, that is for sources only of course.
What you can do for rpms is to use the ymp shortcuts (because you usually anyway need to use the repository to get dependencies).
curl -n https://api.opensuse.org/published/openSUSE:Tools/openSUSE_Factory/osc?view=...
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 06 September 2010 13:39:59 Srivats P wrote:
Adrian,
That won't work with Mandriva RPMs unfortunately. I was looking for this as a workaround to the problem that Mandriva does not seem to recognize the repositories published by OBS due to the lack of metadata generated by genhdlist2.
Right, but workarounds for a problem are never the solution ;)
I see that in another thread you have already offered to fix the Mandriva repo problem by running genhdlist2 if someone gives you a openSUSE package for that - unfortunately I can't (I just use OBS to build packages for all distros for my opensource project - http://ostinato.googlecode.com/)
okay, lets wait until someone wants it and is doing the work. bye adrian
Srivats
On Mon, Sep 6, 2010 at 4:57 PM, Adrian Schröter
wrote: On Monday 06 September 2010 13:19:12 Adrian Schröter wrote:
On Monday 06 September 2010 13:08:18 Srivats P wrote:
Hi,
Is there a way to get a latest/permanent link to the built RPMs in the repository that will not change even if the version/release of the package changes?
yes, in best way with rev=$xsrcmd5
You can use "osc setlinkrev" to set such a revision.
sorry, that is for sources only of course.
What you can do for rpms is to use the ymp shortcuts (because you usually anyway need to use the repository to get dependencies).
curl -n https://api.opensuse.org/published/openSUSE:Tools/openSUSE_Factory/osc?view=...
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 06 September 2010 13:41:53 Adrian Schröter wrote:
On Monday 06 September 2010 13:39:59 Srivats P wrote:
Adrian,
That won't work with Mandriva RPMs unfortunately. I was looking for this as a workaround to the problem that Mandriva does not seem to recognize the repositories published by OBS due to the lack of metadata generated by genhdlist2.
Right, but workarounds for a problem are never the solution ;)
I see that in another thread you have already offered to fix the Mandriva repo problem by running genhdlist2 if someone gives you a openSUSE package for that - unfortunately I can't (I just use OBS to build packages for all distros for my opensource project - http://ostinato.googlecode.com/)
okay, lets wait until someone wants it and is doing the work.
bye adrian
<snip> Hi, As a follow-up, I have ported all of the needed packages from Mandriva to openSUSE in order to get OBS to enable supporting genhdlist2. No, they are not 100% clean yet, but they build and install. The big issue is one perl package fails to build and as I am not a perl coder, I cannot fix the problem. https://build.opensuse.org/package/show?package=perl- RPM4&project=home%3Amrdocs Are there any rpm or perl gurus who could fix this error ? if this is fixed we then could provide native support for Mandriva's urpmi on openSUSE's mirrors. Any advice or patches are most welcome. Once this is solved I will clean up and push these packages into the Tools repo with the rest of the OBS packages. Thanks, Peter -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
P Linnell
-
Srivats P