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.1.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for myrepos_utils-0.0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827cc8ba18869a72412a529f6623e893808dd84931e09f4a61b01c7b5d50ce49 |
|
MD5 | 302256f4240693d50a1aa31bb62156ae |
|
BLAKE2b-256 | 020c2b84dee2f8d1ba120ac1eeb6b64737670aee7154741f42055d4d91e0c628 |