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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file myrepos-utils-0.0.4.2.tar.gz.

File metadata

  • Download URL: myrepos-utils-0.0.4.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for myrepos-utils-0.0.4.2.tar.gz
Algorithm Hash digest
SHA256 f03df2d604d81e288650f322d4770f48bf9eda0352f0b5c250ba943d1030365b
MD5 5c9b57553a7c404e887c6ceb7a0fffc3
BLAKE2b-256 19dd44a68b0f5082f17282a9d07a22463200ceae2b09f1255a93b560b099e0f2

See more details on using hashes here.

File details

Details for the file myrepos_utils-0.0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for myrepos_utils-0.0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccbab54b366fcdfd82baac91b75155505345f8fc61b1eb0cd9e8e765d80dc46
MD5 c31da1786d8c0ec34c7cef7a4c65f101
BLAKE2b-256 2e071ad4f484484f7cb5d3f939d4fe5d959dab80776ba16f677d69ac307423db

See more details on using hashes here.

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