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
This program is useful for people that tend to download a lot of repositories from github to simply use as software and want to manage these repositories. Github 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.1.2-py3-none-any.whl
.
File metadata
- Download URL: gitget_pm-2.1.2-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 | b73da46b34b736ab92f38f6eaa0eef5d17220f0070a7bc37a2e11c44e0d4691e |
|
MD5 | 8f996223a478deb4abbba09cbd26fe63 |
|
BLAKE2b-256 | 2919ffb17fabf06557dd1ec761fa7fc9a784918b63cb902226ebc830834d63cf |