#9840 How to request modular branch
Closed: Can't Fix 2 years ago by humaton. Opened 3 years ago by remi.

Documentation seems outdated
https://docs.fedoraproject.org/en-US/modularity/building-modules/fedora/adding-new-modules/

$ fedpkg request-branch --repo=php-extras --no-auto-module --sl rawhide:2021-06-01 -- epel-8-php-7.4
Could not execute request_branch: You can't provide SLs for release branches

Without --sl

$ fedpkg request-branch --repo=php-extras --no-auto-module -- epel-8-php-7.4
https://pagure.io/releng/fedora-scm-requests/issue/30237
https://pagure.io/releng/fedora-scm-requests/issue/30238

But these requests are invalid (about epel8 standard branch, instead of requested modular branch)


Hi @remi, are you trying to create new modules or just add branches to existing ones? From the tickets it seems that yopu forgot to specify namespace modules.
https://docs.fedoraproject.org/en-US/modularity/building-modules/fedora/adding-new-modules/#_repositories_and_stream_branches_new_modules

I'm trying to create a new stream (7.4 for php-extras) and also the new branche (epel-8-php-7.4) for packages in this stream.

I am a bit confused about the modularity naming scheme. But the docs says $fedpkg request-branch --namespace modules --repo php-extras epel-8-php-7.4 To request new stream branch for existing module.

Metadata Update from @kevin:
- Issue tagged with: medium-gain, medium-trouble, ops

3 years ago

I'm trying to create a new stream (7.4 for php-extras) and also the new branche (epel-8-php-7.4) for packages in this stream.

@remi I am a bit confused what you wanted to do actually, do you want to create branches for php-extras in rpms/ namespace or for modules/?

In modules a stream is associated to a branch in dist-git? If you want 7.4 stream in php-extras module you can do $fedpkg request-branch --namespace modules --repo php-extras 7.4 and I dont understand the necessity for epel-8-php-7.4 branch you want?

I want to create 7.4 branch for modules/php-extras and epel-8-php-7.4 for rpms/php-extras and a few others (igbinary, memcache, msgpack, redis, rpminfo...), exactly as these exist for "7.3"

So I simply try to follow the documentation which state

https://docs.fedoraproject.org/en-US/modularity/building-modules/fedora/adding-new-modules/

Which says

fedpkg request-branch --repo=NAME --sl rawhide:2020-12-01 -- BRANCH
fedpkg request-branch --repo=NAME --no-auto-module --sl rawhide:2020-12-01 -- BRANCH

And this have work in the past and is now broken.

So, the first issue is, obviously broken documentation

I dont understand the necessity for epel-8-php-7.4 branch you want?

Because I want a branch per distro and per stream
(sorry, but using the same branch for everything CAN'T work)

P.S. of course, this is only to prepare work, as for now building modules is not possible, so EPEL is IMHO a dead project.

P.S.2. and FYI, I also like to use the epel-8-php-7.4 for the modules, but this is NOT possible for now, which is IMHO terrible bad, as module content may change across versions.

@remi Now I understood what you are trying to do, thanks for clarifying.

Pinging @onosek to take a look at this.

We can't do much with this but filled upstream issue fedpkg#477

Metadata Update from @humaton:
- Issue close_status updated to: Can't Fix
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
Ops Status: Backlog