Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Commandline interaction with pagure.io

Project Description

pag helps you win at pagure.io.

Intended to mimic the hub cli tool for github.com.

Usage

$ pag --help
Usage: pag [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  clone
  create
  remote

The clone command can be used to clone a repo by name without having to find or type out the URL:

❯ pag clone koji
Cloning into 'koji'...

Or you can clone a fork:

❯ pag clone ralph/koji
Cloning into 'koji'...

After you clone a repo, you can fork it on pagure.io and adjust your local remote settings:

❯ pag fork

If you want to add the remotes of other forks, that’s easy too. Just do it by username:

❯ cd koji/
❯ pag remote add ausil
❯ git remote -v
ausil   ssh://git@pagure.io/forks/ausil/koji.git (fetch)
origin  ssh://git@pagure.io/koji.git (fetch)
❯ git pull ausil master

pag provides a convenience command for creating new projects:

❯ pag create factory2 "Ostensibly better than factory version 1"

To enable bash completion, add the following to your .bashrc:

eval "$(_PAG_COMPLETE=source pag)"
Release History

Release History

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pag-0.6.tar.gz (17.5 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting