# 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`
Raw data
{
"_id": null,
"home_page": "https://git.sr.ht/~michel-slm/myrepos-utils",
"name": "myrepos-utils",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Michel Lind",
"author_email": "michel@michel-slm.name",
"download_url": "https://files.pythonhosted.org/packages/19/dd/44a68b0f5082f17282a9d07a22463200ceae2b09f1255a93b560b099e0f2/myrepos-utils-0.0.4.2.tar.gz",
"platform": null,
"description": "# myrepos-utils\n\n## Usage\n\n### config\nConfigures a new repository, checks it out by default, and configures\nadditional git remotes and git configurations as specified\n\nFor example:\n```\n$ 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\n\n```\n\n### find\nLet's say you have the following repositories configured in `~/.mrconfig`:\n\n```\n[src/github/owner1/projA]\n...\n\n[src/github/owner2/projB]\n...\n```\n\nThis will let you quickly switch to `~/src/github/owner1/projA`:\n```\ncd (mr-utils find github projA)\n```\n\nIf there are multiple matches, they will be printed out.\n\n### sort\nThis will sort `~/.mrconfig` based on sections and write it back out\n```\nmr-utils sort\n```\n\n### version\nDisplays the version of the current `myrepos-utils`\n",
"bugtrack_url": null,
"license": "",
"summary": "Additional utilities for myrepos",
"version": "0.0.4.2",
"project_urls": {
"Homepage": "https://git.sr.ht/~michel-slm/myrepos-utils"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e071ad4f484484f7cb5d3f939d4fe5d959dab80776ba16f677d69ac307423db",
"md5": "c31da1786d8c0ec34c7cef7a4c65f101",
"sha256": "3ccbab54b366fcdfd82baac91b75155505345f8fc61b1eb0cd9e8e765d80dc46"
},
"downloads": -1,
"filename": "myrepos_utils-0.0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c31da1786d8c0ec34c7cef7a4c65f101",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 13406,
"upload_time": "2024-02-16T22:38:23",
"upload_time_iso_8601": "2024-02-16T22:38:23.902664Z",
"url": "https://files.pythonhosted.org/packages/2e/07/1ad4f484484f7cb5d3f939d4fe5d959dab80776ba16f677d69ac307423db/myrepos_utils-0.0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "19dd44a68b0f5082f17282a9d07a22463200ceae2b09f1255a93b560b099e0f2",
"md5": "5c9b57553a7c404e887c6ceb7a0fffc3",
"sha256": "f03df2d604d81e288650f322d4770f48bf9eda0352f0b5c250ba943d1030365b"
},
"downloads": -1,
"filename": "myrepos-utils-0.0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "5c9b57553a7c404e887c6ceb7a0fffc3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11188,
"upload_time": "2024-02-16T22:38:25",
"upload_time_iso_8601": "2024-02-16T22:38:25.530261Z",
"url": "https://files.pythonhosted.org/packages/19/dd/44a68b0f5082f17282a9d07a22463200ceae2b09f1255a93b560b099e0f2/myrepos-utils-0.0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-16 22:38:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "myrepos-utils"
}