Re: fedpkg request-branch doesn't work as expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



V Wed, Mar 23, 2022 at 10:24:35AM -0600, Orion Poplawski napsal(a):
> When I do:
> 
> [orion@vmrawhide-rufous zabbix (rawhide *+)]$ fedpkg request-branch
> --no-auto-module --sl rawhide:2027-06-01 -- 6.0
> 
> It generates a request for a branch named "rawhide".  I'm following:
> 
> https://docs.fedoraproject.org/en-US/modularity/building-modules/fedora/adding-new-modules/
> 
> fedpkg-1.42-1.fc36.noarch
> 
> Is this a bug in fedpkg or an issue with the docs?
> 
"fedpkg request-branch --help" recommends a different syntax:

    Request a branch with service level tied to the branch. In this case branch
    argument has to be before --sl argument, because --sl allows multiple values.

        fedpkg request-branch branch_name --sl bug_fixes:2020-06-01 rawhide:2019-12-01

Especially note the "branch argument has to be before --sl argument" remark.
Maybe the "--" separator triggers a different parsing of the arguments.
I don't know the implementation details of fedpkg.

I would definitely recommend changing the Modularity documentation to follow
fedpkg help usage. Although I don't like the fedpkg syntax, we should not rely
on undocumented behaviour.

Try:

    fedpkg request-branch 6.0 --no-auto-module --sl rawhide:2027-06-01

I would also like to hear an explanation of the various --sl types. I always
only used bug_fixes.

-- Petr

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux