A package manager for git repositories.
Project description
Gitget
Package manager for git repositories.
Installation
To install from pypi run:
pip3 install gitget-pm
Then create the file .gitget.yaml
in your home directory.
Usage
Gitget allows you to manage repositories download from git hosts like github or gitlab. The repositories are treated like software 'packages', and basic tasks such as downloading and saving information about repositories, updating repository, and removing them once they aren't needed anymore. The contents of the git repositories is not changed; installation scripts are not run and dependencies are not installed (yet).
Help
gitget -h
gitget --help
gitget help <command>
Displays a help menu. If the help
command is used, a help menu for a specific
command is displayed.
Install
gitget install <package>
gitget install <package> <package_name>
Downloads a repository from github and saves information about it.
Optionally, a name for the package can be specified. This name will also
be used as the directory name. Otherwise, the package name is set to
username/repository
.
Remove
gitget remove <repository_name>
gitget remove <repository_name> --soft
Removes a repository from the package list and also deletes the files locally.
If the --soft
flag is passed, the local files will not be deleted.
Update
gitget update
Runs git-pull
on all packages in the package list to update them.
Move
gitget move <package_name> <location>
Moves a package from location to another and updates the information about it.
Doctor
gitget doctor
Verifies integrity of files and packages. Any errors are then reported and need to be fixed.
List
gitget list
Lists all packages and install locations.
Edit
gitget edit
Opens the default editor (run echo $EDITOR
) to edit the package file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file gitget_pm-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: gitget_pm-2.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa32b37caa5947402a28cbe904c522d1097352217304fc599b1726734237bf77 |
|
MD5 | 186ef2540b51e16344d6c20c2c340aa9 |
|
BLAKE2b-256 | 65f0e8d83a48f7f6f659a12b7b6ffebbce9fc8e63f335711b49ebf9dc83b2c4c |