#440 `fedpkg request-repo -h` says "select the relevant ACL(s)", which is confusing
Closed: Fixed by onosek. Opened by churchyard.

When my fedpkg Pagure token token expires, the error says:

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#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 read the help, it says:

$ fedpkg request-repo -h
usage: fedpkg request-repo [-h] [--namespace {rpms,container,modules,flatpaks}] [--description DESCRIPTION] [--monitor {no-monitoring,monitoring,monitoring-with-scratch}] [--upstreamurl UPSTREAMURL] [--summary SUMMARY]
                           [--exception] [--no-initial-commit]
                           name [bug]
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>
...

The problematic part is select the relevant ACL(s). Can it please say explicitly what ACL(s) are required or how do I find out?


Commit a73e9eed fixes this issue

Thanks!

Metadata Update from @onosek:
- Issue set to the milestone: 1.41

Metadata
Related Pull Requests