Git Grab
Git Helper Tool used to quickly add repo's to the users system for an external source. With not having to worry about were the repo is being stored.
Initial Goals of the project
- Create a tool to help download git repos
- Repos are sorted by which site and user they belong to.
code
└── github.com
└── Boomatang
├── dotfiles
└── git-grab
Installation
To install grab, run this command in your terminal:
git needs to be installed before using git-grab
$ pipx install git-grab
Usage
Overview
grab <url-to-repo>
grab -r <url-to-remote-repo>
grab --help
Configuring
The environment variable GARB_PATH can be set to insure the default local of for storing the repos.
At any time the environment variable can be overridden by the -p flag.
Cloning a repo
To cloning a repo can be done using both the ssh or https routes.
When cloning, the data is stored in the path defined in GRAB_PATH.
grab <repo route>
To override the path at run time the -p flag can be used.
grab <repo route> -p <some/other/path>
Adding remotes to repos.
The -r flag can be used to say the repo path is a remote of an existing repo.
grab -r <repo route>
This adds the repo route to all cloned repos in the path where the repo name matches.
Using the -p flag allows setting the path where to search for repos.
grab -r <repo route> -p <some/other/path>
Warning
All the functions are case-sensitive. This can be problematic when adding remotes to existing cloned repos.
Dev
Creating the changelog
On new changes a news fragment is required.
This can be created by and news fragments to the changes directory.
These files are should have the following naming schema <issue id>.<feature|bugfix|dic|removal|misc>.
Using towncrier create -c "change message" <file name> will also create the file for you in the correct location.
Git_Grab 0.7.0 (2025-03-22)
Features
- Update the version display to use built in features (#18)
- Configuration of MyPy, now there is strict types (#26)
Bugfixes
- Fix fetch on origin not being configured during the initial setup (#23)
Improved Documentation
- Configure towncrier for the changelog (#12)
Deprecations and Removals
- Remove support for python 3.8 (#20)
Misc
- #13, #14, #19
Metadata
Release files for git-grab 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| git_grab-0.7.0.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_grab-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / git_grab-0.7.0.tar.gz
| Download URL | git_grab-0.7.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cc4a817a8b718c857218ecf0990a4ddeb8fcba6700719f6f0e00816f647156c
|
|
BLAKE2b-256 checksum How to use checksums |
5996a494928e8c93228702573187d9992a7ae6d3d64c62901f0072658b870620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Linux/6.13.6-200.fc41.x86_64
|
Release files / git_grab-0.7.0-py3-none-any.whl
| Download URL | git_grab-0.7.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fedb4e77abed95624379411079b05a69939f74dc09075d41483b26c2801f3945
|
|
BLAKE2b-256 checksum How to use checksums |
8e9b8d3cdfbd9422b08e5d47a0d1782bbcd4c74d92f53b955dfb15bc4ca80af7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.2 Linux/6.13.6-200.fc41.x86_64
|
Security for git-grab 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.