On Wed, 27 Jan 2021, Brad Bell wrote:
I would like to add the epel8 branch to my repository. When I try to,
I
get the following response:
> fedpkg request-branch epel8
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 token refer to "fedpkg request-repo -h" to set a
token in your user configuration.
When I visit the site it is not clear to me what I should do. Would
someone please point me to the documentation for this ?
Well, the above tells you how to get the documentation. :) Run "fedpkg
request-repo -h":
Request a new dist-git repository
Before the operation, you need to generate a pagure.io API token at
https://pagure.io/settings/token/new, select the relevant ACL(s)
and save it in your local user configuration located
at ~/.config/rpkg/fedpkg.conf. For example:
[fedpkg.pagure]
token = <api_key_here>
====
You need "create a new ticket" ACL as all this does is create a specially
formatted ticket on pagure.
Scott