Skip to main content

Additional utilities for myrepos

Project description

myrepos-utils

Usage

checkout

Checks out a configured repository, creating any missing parent directories

For example:

$ mr-utils checkout centos/hyperscale/emacs

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.3.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

myrepos_utils-0.0.4.3-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file myrepos_utils-0.0.4.3.tar.gz.

File metadata

  • Download URL: myrepos_utils-0.0.4.3.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for myrepos_utils-0.0.4.3.tar.gz
Algorithm Hash digest
SHA256 9886cc40e8c06ceb6e56514c762f9a3a27ace7e5a4e274040b1074694a138ea3
MD5 032694d7c097ff8fc6ebafe782d06447
BLAKE2b-256 08e0b04835060b1c79be7eda72c5aa629a1cc57c3287f39e86bbb3bc3d34f8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for myrepos_utils-0.0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7bcd8389d64613d173cf588b13f187eb5f787c86e71dede2379fbe18516ddcd4
MD5 83a567b7186c69d89f974ba70b27e919
BLAKE2b-256 a05a9430f64ba1206423f8a266cfdcc43555b1a964ec5208d1e719053ac1a730

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