Issues with my home branch project

I have two new issues with my home branch project home:bjoernv:branches:network:vpn (branched from network:vpn). I need an extra package libnl3-devel >= 3.4.0 to enable ovpn-dco. This is no problem for Tumbleweed, which includes libnl3-devel 3.7.0, but for Leap 15.4 and 15.5. The existing old project configuration used an extra repository for this, but this stopped working and I have no backup of the old project configuration. Based on the OBS documentation I started a new solution and created a file _aggregate. This _aggregate file links two existing packages unmodified to my repository. This works locally with "osc build openSUSE_Leap_15.5 --clean *.spec". Is it possible to disable the extra packages for Tumbleweed, which already has the correct packages?
cat _aggregate <aggregatelist> <aggregate project="home:plater"> <package>libnl3-devel</package> <package>libnl3-200</package> <repository target="openSUSE_Leap_15.4" source="15.4" /> <repository target="openSUSE_Leap_15.5" source="15.5" /> <repository target="openSUSE_Tumbleweed" source="Tumbleweed" /> <repository target="openSUSE_Factory" source="Factory" /> <repository target="openSUSE_Factory_ARM" source="Factory_ARM" /> </aggregate> </aggregatelist>
The second problem is, that OBS stopped building and publishing the openvpn package in the repository. This was probably caused by some of my tests. I copied a modified project configuration from network:vpn. Building and publishing is enabled in the Web UI. But now my download repository is empty (see https://download.opensuse.org/repositories/home:/bjoernv:/branches:/network:...). How can I re-enable building and publishing?
osc meta prj <project name="home:bjoernv:branches:network:vpn"> <title>Branch project for package openvpn</title> <description>This project was created for package openvpn via attribute OBS:Maintained</description> <person userid="bjoernv" role="maintainer"/> <build> <enable/> </build> <publish> <enable/> </publish> <repository name="openSUSE_Tumbleweed"> <path project="openSUSE:Tumbleweed" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> <repository name="openSUSE_Leap_15.5"> <path project="home:plater" repository="15.5"/> <path project="openSUSE:Leap:15.5" repository="standard"/> <arch>x86_64</arch> </repository> <repository name="openSUSE_Leap_15.4"> <path project="home:plater" repository="15.4"/> <path project="openSUSE:Leap:15.4" repository="standard"/> <arch>x86_64</arch> </repository> <repository name="openSUSE_Factory_ARM"> <path project="openSUSE:Factory:ARM" repository="standard"/> <arch>aarch64</arch> </repository> <repository name="openSUSE_Factory"> <path project="openSUSE:Factory" repository="snapshot"/> <arch>x86_64</arch> <arch>i586</arch> </repository> </project>
Björn

On Mittwoch, 28. Juni 2023, 16:50:35 CEST Bjoern Voigt wrote:
I have two new issues with my home branch project home:bjoernv:branches:network:vpn (branched from network:vpn).
I need an extra package libnl3-devel >= 3.4.0 to enable ovpn-dco. This is no problem for Tumbleweed, which includes libnl3-devel 3.7.0, but for Leap 15.4 and 15.5.
The existing old project configuration used an extra repository for this, but this stopped working and I have no backup of the old project configuration.
Based on the OBS documentation I started a new solution and created a file _aggregate. This _aggregate file links two existing packages unmodified to my repository. This works locally with "osc build openSUSE_Leap_15.5 --clean *.spec". Is it possible to disable the extra packages for Tumbleweed, which already has the correct packages?
you should not mix an _aggregate with sources in the same package. It will only be one build type executed. So copy it to another package container and remove the _aggregate file again from your sources.
cat _aggregate <aggregatelist> <aggregate project="home:plater"> <package>libnl3-devel</package> <package>libnl3-200</package> <repository target="openSUSE_Leap_15.4" source="15.4" /> <repository target="openSUSE_Leap_15.5" source="15.5" /> <repository target="openSUSE_Tumbleweed" source="Tumbleweed" /> <repository target="openSUSE_Factory" source="Factory" /> <repository target="openSUSE_Factory_ARM" source="Factory_ARM" /> </aggregate> </aggregatelist>
The second problem is, that OBS stopped building and publishing the openvpn package in the repository. This was probably caused by some of my tests. I copied a modified project configuration from network:vpn. Building and publishing is enabled in the Web UI. But now my download repository is empty (see https://download.opensuse.org/repositories/home:/bjoernv:/branches:/network:...).
How can I re-enable building and publishing?
osc meta prj <project name="home:bjoernv:branches:network:vpn"> <title>Branch project for package openvpn</title> <description>This project was created for package openvpn via attribute OBS:Maintained</description> <person userid="bjoernv" role="maintainer"/> <build> <enable/> </build> <publish> <enable/> </publish> <repository name="openSUSE_Tumbleweed"> <path project="openSUSE:Tumbleweed" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> <repository name="openSUSE_Leap_15.5"> <path project="home:plater" repository="15.5"/> <path project="openSUSE:Leap:15.5" repository="standard"/> <arch>x86_64</arch> </repository> <repository name="openSUSE_Leap_15.4"> <path project="home:plater" repository="15.4"/> <path project="openSUSE:Leap:15.4" repository="standard"/> <arch>x86_64</arch> </repository> <repository name="openSUSE_Factory_ARM"> <path project="openSUSE:Factory:ARM" repository="standard"/> <arch>aarch64</arch> </repository> <repository name="openSUSE_Factory"> <path project="openSUSE:Factory" repository="snapshot"/> <arch>x86_64</arch> <arch>i586</arch> </repository> </project>
Björn
-- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev

On 28.06.23 17:00, Adrian Schröter wrote:
you should not mix an _aggregate with sources in the same package.
It will only be one build type executed.
So copy it to another package container and remove the _aggregate file again from your sources. Thank you.
I tried this. Now the openvpn packages build again for Tumbleweed, Factory and Factory_ARM. But the libnl3 dependency packages are still not used for Leap 15.4 and 15.5. Probably the file structure or the syntax is not correct. I tried to find any repository, which uses the _aggregate feature, but was not successful. Could someone show me a repository with _aggregate or _link files? home:bjoernv:branches:network:vpn ├── libnl3-devel └── openvpn
cat libnl3-devel/_aggregate <aggregatelist> <aggregate project="home:plater"> <package>libnl3-devel</package> <package>libnl3-200</package> <repository target="openSUSE_Leap_15.4" source="15.4" /> <repository target="openSUSE_Leap_15.5" source="15.5" /> <repository target="openSUSE_Tumbleweed" source="Tumbleweed" /> <repository target="openSUSE_Factory" source="Factory" /> <repository target="openSUSE_Factory_ARM" source="Factory_ARM" /> </aggregate> </aggregatelist>
Björn
participants (2)
-
Adrian Schröter
-
Bjoern Voigt