Skip to main content

Additional utilities for myrepos

Project description

myrepos-utils

Usage

config

Configures a new repository, checks it out by default, and configures additional git remotes and git configurations as specified

For example:

$ mr-utils config centos/hyperscale/emacs "git clone -b c9s-sig-hyperscale https://git.centos.org/rpms/emacs.git" --extra-git-remotes fedora https://src.fedoraproject.org/rpms/emacs.git --git-configs user.email salimma@centosproject.org

find

Let's say you have the following repositories configured in ~/.mrconfig:

[src/github/owner1/projA]
...

[src/github/owner2/projB]
...

This will let you quickly switch to ~/src/github/owner1/projA:

cd (mr-utils find github projA)

If there are multiple matches, they will be printed out.

sort

This will sort ~/.mrconfig based on sections and write it back out

mr-utils sort

version

Displays the version of the current myrepos-utils

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

myrepos-utils-0.0.4.2.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

myrepos_utils-0.0.4.2-py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 3

Supported by

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