GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - juhp/pagure-cli: A command-line client for querying a Pagure project server

BranchesTags
Open more actions menu

Latest commit

 

History

130 Commits
130 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.stack-all
.stack-all
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
cabal.project
cabal.project
 
 
pagure-cli.cabal
pagure-cli.cabal
 
 
stack-lts12.yaml
stack-lts12.yaml
 
 
stack-lts14.yaml
stack-lts14.yaml
 
 
stack-lts16.yaml
stack-lts16.yaml
 
 
stack-lts22.yaml
stack-lts22.yaml
 
 
stack.yaml
stack.yaml
 
 
test.sh
test.sh
 
 

Repository files navigation

pagure-cli

Hackage GPL-2 license Stackage Lts Stackage Nightly

A pagure gitforge client for querying and listing projects (repos), users, groups, and issues.

Since version 0.3, a client library provides the module Fedora.Pagure.Client.

Usage

By default it uses the src.fedoraproject.org Pagure server instance (aka Fedora dist-git), but this can be overriden by the --server option.

List/search for repos

$ pagure list rac\*

rpms/raceintospace
rpms/racket

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 --count petersen

825

List groups:

$ pagure groups
:

List group packages

$ pagure group budgie-sig

rpms/bluejay
rpms/budgie-desktop-services
rpms/budgie-display-configurator
rpms/gtklock
rpms/gtk-session-lock
forks/packit/rpms/labwc
rpms/labwc
rpms/libxfce4windowing
rpms/pocillo-gtk-theme
rpms/sassc
rpms/wlrctl

$ pagure group -c rust-sig

4826

Help

$ pagure --version

0.3

$ pagure --help

Pagure client

Usage: pagure [--version] COMMAND

  Simple pagure CLI

Available options:
  -h,--help                Show this help text
  --version                Show version

Available commands:
  list                     list projects
  user                     list user repos
  group                    list group repos
  project                  show project details
  branches                 list project branches
  git-url                  show project repo's git urls
  contributors             show project repo's contributors
  issues                   list project issues
  issue                    show project issue
  pull-requests            list project pull requests
  pull-request             show project PR
  users                    list users
  username                 fullname of user
  userinfo                 show user details
  user-activity-stats      show user activity stats
  user-activity-date       show user activity on date
  user-issues              show user's issues
  user-requests-filed      show user's filed pull requests
  user-requests-actionable show user's actionable pull requests
  groups                   list groups
  groupinfo                show group details

Use --help to get help on individual commands:

Installation

pagure-cli is packaged in Fedora and EPEL: https://src.fedoraproject.org/rpms/pagure-cli

Build from source

To build the latest release you will need cabal-install and ghc, or stack:

stack install pagure-cli or cabal install pagure-cli.

Or to build from the git source, run the commands without the package name.

Contributions

Pagure rest API can be found on pagure servers: eg https://src.fedoraproject.org/api/0/. There are still many unsupported commands and options. Please open a ticket or PR to request adding more at https://github.com/juhp/pagure-cli.

Also part of this client uses the simple pagure-hs bindings.

The project is distributed under GPLv2+.

Other pagure clients

After writing the initial version I discovered that Ricky Elrod (relrod) had made https://github.com/fedora-infra/pagure-cli.

A library client in Rust https://pagure.io/ironthree/pagure-rs by decathorpe.

About

A command-line client for querying a Pagure project server

hackage.haskell.org/package/pagure-cli

Topics

fedorapagure

Resources

Readme
GPL-2.0 license
Activity

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.