On Montag, 25. März 2024, 09:35:39 CET Johannes Kastl wrote:
Hi Gregor,
On 24.03.24 20:09 Gregor Dschung wrote:
Hello,
I'm trying to link home:chkpnt:nextcloud/nextcloud to a specific revision of server:php:applications/nextcloud, but it's not really working.
This is my _link: <link project="server:php:applications" package="nextcloud" rev="211">...</link>
My intention is to build Nextcloud 26.0.7. If I checkout server:php:applications/nextcloud at revision 211, I'm getting the correct version. But my linkpac package always gives me the latest revision of server:php:applications/nextcloud: https://build.opensuse.org/package/show/home:chkpnt:nextcloud/nextcloud
Have I misunderstood something?
If the package you are linking to is itself a link, e.g. to Factory, then you need to link against the revision in that Factory package to get the proper version.
So instead of running
osc linkpac -r 211 server:php:applications/nextcloud ...
you would need to do something like
osc linkpac -r ??? openSUSE:Factory/nextcloud ...
or use "osc buildhist" and take the merged md5sum as revision from there.
--
Adrian Schroeter