Skip to main content

Download some projects.

Project description

pully

pipeline status coverage report latest release pre-commit cici enabled code style: prettier

pully is a tool for managing a large number of Git repository checkouts effectively.

Why pully

pully was created to make managing and automating changes to multiple projects easier. There are two general use cases pully is designed to address. First, a mass action where a a set of projects is cloned and the same action is run on each project. Second, managing a local workspace for a set of projects.

Large scale changes

pully helps solve problems where you need to make the same action across multiple projects.

  • Update the copyright date in the license file of all projects.
  • Update pre-commit versions in all projects.
  • Add badgie to all projects.

The recommended workflow in this case is to use pully to clone workspaces for mass actions not regular development. Avoid using the same project workspaces for both regular development and automated actions. Different branches, new files, and unknown state that are common in work in progress are likely to interfere with scripted changes.

Manage local workspaces

pully can be used to do an initial clone of projects for regular development. This is convenient when onboarding new developers or setting up a new environment. Common tasks like pulling the latest main or pruning remote branches are easy to do. Beware of scripting changes to multiple projects since the status of each project may different and cause unexpected results.

We recommend only automating commands that update the local workspace not any that push changes to prevent accidents. We expect to automate some common update tasks in the future.

Installation

python3 -m pip install pully

Usage

Initialize a project workspace

Run pully init to create a project workspace.

pully init

A .pully.json will be created in the current directory that will be used to track project checkouts.

Add a project for tracking

Only newly added projects will be printed.

Track a group by path:

pully add -G saferatday0

Track a subgroup by path:

pully add -G saferatday0/infra

Track a project by path:

pully add -P saferatday0/badgie

Pull local copy

Call pully with no options to clone or pull the project to your local filesystem:

pully

This is the same as calling pully pull:

pully pull

Advanced usage

pully allows you to customize your local checkout for different use cases.

Check out an arbitary subset of projects:

pully add -P saferatday0/badgie
pully add -P saferatday0/cici
pully add -G saferatday0/library
pully

Project details


Download files

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

Source Distribution

pully-0.5.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pully-0.5.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file pully-0.5.0.tar.gz.

File metadata

  • Download URL: pully-0.5.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for pully-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9e50fb400da8678e651248b339b84c51e3bf7e9b865de8502a6e401eec1a4597
MD5 fb9d822be9b74d2a7455dd02f313dd6b
BLAKE2b-256 9e6ab2d0635f8a884d8cea26491e86e6ef29abee5bcf637ad576dacc8a18066d

See more details on using hashes here.

File details

Details for the file pully-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: pully-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for pully-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5016d58e4ea4de169a0b74b997cb4f3a68385e93e104f4ae24c42354c5da086
MD5 ee6cb2d166df0b436ad2389fb6933b4a
BLAKE2b-256 d97688a7ea880d6f90b19f58764ba4dc21fbfc4fd92a5be4e2c26abc2ba09b14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page