no longer setting devel project attribute

Hello, We no longer seem to set the devel project attribute on new packages added to openSUSE:Factory. Seen four days ago in SR#1252975 and needing request a changedevelproject request to fix, see osc log -M openSUSE:Factory/pwtool. Now seen in SR#1253607 a second time. I understand that BsRequestActionSubmitexecute_accept is supposed to do this, but I see that OBS:InitializeDevelProject was removed. Was this intentional, maybe in preparation of the migration to the git backend? Andreas

On Tue, 2025-03-18 at 01:57 +0100, Andreas Stieger via openSUSE Factory wrote:
Indeed, I had to disable this feature. The problem is that this attribute does not only arrange for the <devel> flag to be set, but it also converts the package in the devel project into a branch from Factory (which was nice) with scmsync'ed projects, the last step can't happen, as the package does not 'exist' in the devel project, so there is nothing to convert to a branch (which also means inside git, the 'devel' package does not appear as 'forked from' pool/$pkg) The best way for now is - as you did - submit chgdev requests after a new pckage has been accepted @Adrian: maybe we can get a feature that still sets the 'devel', without trying to convert the pkg to branch (or do it if not scmsynced) Cheers, Dominique

On 3/18/25 01:57, Andreas Stieger via openSUSE Factory wrote:
It's an intentional side-effect of this migration, as Dominique already wrote. We definitely want to keep devel projects concept (package linking from devel project with Factory packages) as things are moved to git, but apparently it's not possible to set <devel> meta in openSUSE:Factory packages, even, if openSUSE:Factory is still in in OBS SCM when the sources are in git project. We will discuss how to keep linking alive during the transition. - Adam

On Donnerstag, 20. März 2025, 10:47:48 Mitteleuropäische Normalzeit Adam Majer wrote:
We agreed this morning to use an attribute for this. That way also an "osc branch" will not just fail, but can give also a propper error message how and where to proceed. bye adrian -- 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

Hello, On 2025-03-26 17:06, Adrian Schröter wrote:
Thanks. Are you generating a list of packages not versioned in git but lacking a devel project attribute, and filing changedevelproject requests to them to the last submission source, along with instructions for the package maintainers to do osc linkpac openSUSE:Factory $package $develproject $package -f , if needed? Andresas

On Mittwoch, 26. März 2025, 18:29:16 Mitteleuropäische Normalzeit Andreas Stieger wrote:
We will fill the packages from projects adam has converted.
I do not really get this, the purpose of the switch is the all packages in the devel project are managed via git only. A link is not wanted here and would be replaced by the git sync again. Still, you can submit from this git managed package to this still classic OBS package in openSUSE:Factory. And given the policy that no one should be able to submit bypassing the devel projects we should have no change in openSUSE:Factory which needs to be merged back into the devel project. -- 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 2025-03-27 08:01, Adrian Schröter wrote:
This switch is not complete yet, isn't Adamm is still looking for volunteer devel projects? For everything else, osc bco is broken. Any user or contributor following https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory will fail to branch for these packages. I do not think that we should leave it like that. Andreas

On Tue, 2025-03-18 at 01:57 +0100, Andreas Stieger via openSUSE Factory wrote:
Indeed, I had to disable this feature. The problem is that this attribute does not only arrange for the <devel> flag to be set, but it also converts the package in the devel project into a branch from Factory (which was nice) with scmsync'ed projects, the last step can't happen, as the package does not 'exist' in the devel project, so there is nothing to convert to a branch (which also means inside git, the 'devel' package does not appear as 'forked from' pool/$pkg) The best way for now is - as you did - submit chgdev requests after a new pckage has been accepted @Adrian: maybe we can get a feature that still sets the 'devel', without trying to convert the pkg to branch (or do it if not scmsynced) Cheers, Dominique

On 3/18/25 01:57, Andreas Stieger via openSUSE Factory wrote:
It's an intentional side-effect of this migration, as Dominique already wrote. We definitely want to keep devel projects concept (package linking from devel project with Factory packages) as things are moved to git, but apparently it's not possible to set <devel> meta in openSUSE:Factory packages, even, if openSUSE:Factory is still in in OBS SCM when the sources are in git project. We will discuss how to keep linking alive during the transition. - Adam

On Donnerstag, 20. März 2025, 10:47:48 Mitteleuropäische Normalzeit Adam Majer wrote:
We agreed this morning to use an attribute for this. That way also an "osc branch" will not just fail, but can give also a propper error message how and where to proceed. bye adrian -- 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

Hello, On 2025-03-26 17:06, Adrian Schröter wrote:
Thanks. Are you generating a list of packages not versioned in git but lacking a devel project attribute, and filing changedevelproject requests to them to the last submission source, along with instructions for the package maintainers to do osc linkpac openSUSE:Factory $package $develproject $package -f , if needed? Andresas

On Mittwoch, 26. März 2025, 18:29:16 Mitteleuropäische Normalzeit Andreas Stieger wrote:
We will fill the packages from projects adam has converted.
I do not really get this, the purpose of the switch is the all packages in the devel project are managed via git only. A link is not wanted here and would be replaced by the git sync again. Still, you can submit from this git managed package to this still classic OBS package in openSUSE:Factory. And given the policy that no one should be able to submit bypassing the devel projects we should have no change in openSUSE:Factory which needs to be merged back into the devel project. -- 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 2025-03-27 08:01, Adrian Schröter wrote:
This switch is not complete yet, isn't Adamm is still looking for volunteer devel projects? For everything else, osc bco is broken. Any user or contributor following https://en.opensuse.org/openSUSE:How_to_contribute_to_Factory will fail to branch for these packages. I do not think that we should leave it like that. Andreas
participants (4)
-
Adam Majer
-
Adrian Schröter
-
Andreas Stieger
-
Dominique Leuenberger