Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cvan/tagz
automatically tag tags and push aforementioned tags to GitHub™
https://github.com/cvan/tagz
Last synced: 4 months ago
JSON representation
automatically tag tags and push aforementioned tags to GitHub™
- Host: GitHub
- URL: https://github.com/cvan/tagz
- Owner: cvan
- License: mit
- Created: 2013-10-31T00:48:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-31T22:01:39.000Z (almost 9 years ago)
- Last Synced: 2024-04-10T09:23:21.743Z (10 months ago)
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tagz
This is a script to automatically tag repos on GitHub.
## Installation
Install using pip:
pip install -r requirements.txt
## Sample usage
* To create a tag:
python tagz.py -r mozilla/fireplace -c create -t 2014.02.11
NOTE: annotated tags are used by default (-a). If you want lightweight tags,
you can pass -l:$ python tagz.py -l -r mozilla/fireplace -c create -t 2014.02.11
ALSO: this script will use whatever type of tag the first found refname is.
You cannot use this script to mix use of the two in the same repo.* To create multiple tags:
python tagz.py -r mozilla/monolith,mozilla/solitude,mozilla/webpay,mozilla/commbadge,mozilla/fireplace,mozilla/marketplace-stats,mozilla/monolith-aggregator,mozilla/rocketfuel,mozilla/zamboni -c create -t 2014.02.11
* To delete a tag:
python tagz.py -r mozilla/fireplace -c delete -t 2014.02.11
* To cherry-pick a commit onto a tag:
python tagz.py -r mozilla/fireplace -c cherrypick -t 2014.02.11 -s b4dc0ffee
* To remove a commit from a tag:
python tagz.py -r mozilla/fireplace -c revert -t 2014.02.11 -s b4dc0ffee
## Authors
[See list of authors.](https://github.com/cvan/tagz/blob/master/AUTHORS.md)