linkpac to a specific revision
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? Regards, Gregor
Am 24. März 2024 20:09:52 MEZ schrieb Gregor Dschung
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.
Why do want to do this? Version 26 will be end of life at the end of march. Regards Eric
Eric Schirra wrote:
Am 24. März 2024 20:09:52 MEZ schrieb Gregor Dschung:
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. Why do want to do this? Version 26 will be end of life at the end of march.
I've missed a few major versions, I'm still on v25 and want to update to v28. And according to the documentation, "you cannot skip major releases." [1] It might work to upgrade directly to version 28, but I don't want to risk anything. Regards, Gregor [1] https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.ht...
Am Montag, 25. März 2024, 09:03:23 CET schrieb Gregor Dschung:
Eric Schirra wrote:
Am 24. März 2024 20:09:52 MEZ schrieb Gregor Dschung:
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. Why do want to do this?
Version 26 will be end of life at the end of march.
I've missed a few major versions, I'm still on v25 and want to update to v28. And according to the documentation, "you cannot skip major releases." [1] It might work to upgrade directly to version 28, but I don't want to risk anything. Yes, i know and you are right.
Then you could use my repo home:ecsos:server if you want. There are all old versions. Regards Eric
Eric Schirra wrote:
Yes, i know and you are right. Then you could use my repo home:ecsos:server if you want. There are all old versions.
Oh, now I see, you are the guy maintaining the nextcloud package! Many thanks for your work, I'm using it for years. :-) And yes, I'm now linking to the package in your home:ecsos:server: it's easier to link to a version-named package than to a specific revision (which you need to find out) of a package. Thanks again, Gregor
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 ...
Kind Regards, Johannes
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
Mh, I thought server:php:applications/nextcloud is the development package for openSUSE:Factory/nextcloud. But you're right: server:php:applications/nextcloud is linking to openSUSE:Factory/nextcloud. Thanks for the hint! Gregor
participants (4)
-
Adrian Schröter
-
Eric Schirra
-
Gregor Dschung
-
Johannes Kastl