pagure-cli alternatives and similar packages
Based on the "Utils" category
Do you think we are missing an alternative of pagure-cli or a related project?
A pagure client for querying projects and users.
By default it uses the src.fedoraproject.org
Pagure server instance (aka Fedora dist-git), but this can be overriden
List/search for repos
$ pagure list emacs\* emacs :
Note by default 'orphan' owned packages are excluded.
One can also filter by owner or committer.
List user's projects
Count projects of a user:
$ pagure user -s pagure.io --count mattdm 93
$ pagure groups :
brancheslists the git branches of a repo
issuesto query and list issues
usersto list usernames of users
usernameshows the fullname of a user
git-urlshows the git urls for a repo
--help to get help on individual commands:
$ pagure list --help Usage: pagure list [-s|--server SERVER] [-c|--count] [-U|--url] [-j|--json] [(-F|--only-forks) | (-f|--include-forks)] [-n|--namespace NAMESPACE] [(-o|--owner OWNER) | (-u|--username USERNAME)] [PATTERN] list projects Available options: -s,--server SERVER Pagure server -c,--count Show number only -U,--url Print API url -j,--json Print raw json response -F,--only-forks Only list forks -f,--include-forks Include forks [default: ignore forks] -n,--namespace NAMESPACE Specify project repo namespace -o,--owner OWNER Projects with certain owner -u,--username USERNAME Projects to which username can commit -h,--help Show this help text
To build the latest release you will need cabal-install and ghc, or stack:
stack install pagure-cli or
cabal new-install pagure-cli.
Or to build from the git source, run directly without the package name.
If you are using Fedora you can install the package from my copr repo.
Pagure rest API can be found on pagure servers: eg https://pagure.io/api/0. There are still many unsupported commands and options. Please open a ticket or PR to request adding more.
After writing the initial version I discovered that Ricky Elrod (relrod) had made https://github.com/fedora-infra/pagure-cli.
I discovered a client in Rust https://pagure.io/ironthree/bodhi-cli by decathorpe.
*Note that all licence references and agreements mentioned in the pagure-cli README section above are relevant to that project's source code only.