#232 fedpkg request-repo -h mentions pagure.io token setup with wrong ACL
Closed: Fixed 5 years ago Opened 5 years ago by jerboaa.

The help text for fedpkg request-repo -h is wrong for the ACL setup. It mentions this:

Request a new dist-git repository

Before requesting a new dist-git repository for a new package, you need to
generate a pagure.io API token at https://pagure.io/settings/token/new, select ACL
"Create a new project" and save it into your local user configuration located
at ~/.config/rpkg/fedpkg.conf. For example:


    [fedpkg.pagure]
    token = <api_key_here>

Note: select ACL "Create a new project". This is wrong, it should be: select ACL "Create a new project" and "Create a new ticket".

Without the "Create a new ticket" ACL one gets a strange error like this:

 Could not execute request_repo: The following error occurred while creating a new issue in Pagure: Invalid or expired token. Please visit https://pagure.io/settings#api-keys to get or renew your API token.

With the additional ACL this works.

$ rpm -q fedpkg
fedpkg-1.33-2.fc28.noarch

I filed PR #235 to fix the wording in the help text.

Commit 0679877 fixes this issue

Metadata Update from @cqi:
- Issue set to the milestone: 1.34

5 years ago

Login to comment on this ticket.

Metadata