On Sun, Oct 26, 2025 at 3:01 AM Robert Marcano via devel <[email protected]> wrote: > > I am trying to push a package a maintain to epel10, but it has not been > possible to create the branch: > > This is the error when ran with --verbose > > =========================================== > > # fedpkg --verbose request-branch epel10 > Creating repo object from /home/robert/work/fedora/cups-pdf > Pagure API request: > https://src.fedoraproject.org/api/0/rpms/cups-pdf/git/branches > Pagure API response: '{'branches': ['el4', 'el5', 'el6', 'epel7', > 'epel8', 'epel9', 'f10', 'f11', 'f12', 'f13', 'f14', 'f15', 'f16', > 'f17', 'f18', 'f19', 'f20', 'f21', 'f22', 'f23', 'f24', 'f25', 'f26', > 'f27', 'f28', 'f29', 'f30', 'f31', 'f32', 'f33', 'f34', 'f35', 'f36', > 'f37', 'f38', 'f39', 'f40', 'f41', 'f42', 'f43', 'f7', 'f8', 'f9', > 'fc6', 'main', 'rawhide'], 'default': 'rawhide', 'total_branches': 46}' > Pagure API response: '{'error': 'Invalid or expired token. Please visit > https://pagure.io/settings#nav-api-tab to get or renew your API token.', > 'error_code': 'EINVALIDTOK', 'errors': 'Invalid token'}' > Could not execute request_branch: The following error occurred while > creating a new issue in Pagure: Invalid or expired token. Please visit > https://pagure.io/settings#nav-api-tab to get or renew your API token. > For invalid or expired tokens please set a new token in your user > configuration by running: > > fedpkg set-pagure-token > > The command is interactive; enter the new token when prompted. > > =========================================== > > I created the mentioned token, with all possible permissions (No > request_branch listed) and use fedpkg set-pagure-token, but it still > fails. Any help is appreciated.
Did you create the token on pagure.io or on src.fedoraproject.org? The "fedpkg set-pagure-token" thing needs a token from pagure.io with "file a new issue / ticket" permission, no others. Fabio -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
