- GitAR-Amps - Git All Remotes Amplifiers
- Installation
- Warning
- List of amplifiers
- Comment LGTM on a merge request and approve it (optionally merge)
- Quickly open a merge request with --fetch, --rebase, --auto and -y
- Gather all my
assigned
pull requests in a give state sorted by project - List all docker images in a Gitlab's project
- List releases of a given Gitlab/Github repository sorted by version
- List all assets from the last stable release
- License
gitar amplifiers are a curated set of scripts that provide additional workflows by combining gitar https://github.com/jordilin/gitar commands.
Copy the directory ./bin/gitar
over to any directory in your $PATH
. Let's
say ~/bin
, then (Using Linux OS as an example):
cp -r ./bin/gitar ~/bin
Adjust your $PATH
to include ~/bin/gitar
:
export PATH=$PATH:~/bin/gitar
List operations can involve multiple REST API calls. In those cases, the scripts
run gitar with throttling of 1 second or more in between calls. Also, the calls
are sequential and gitar monitors the rate limit response headers to avoid
hitting those. It is always a good idea to do a pre-check with --num-pages
and
--num-resources
to have a general idea on how much data is going to be
queried.
Comment "LGTM" on pull request timeline, approve it (Gitlab only) and automatically merge it.
lgtm --merge 123
Good for opening quick merge requests where last commit can be used for its title and description.
auto-mr
mr-all-assigned-sort-by-project opened
Retrieve registry repository id in the current project where images are being stored.
gr dk list --repos
List all images in the registry repository with id 123.
docker-list-images 123
Outputs CSV with columns: Tag,URL,Created_at
list-all-releases github.com/jordilin/gitar
Additionally, sort by date. Make use of datesorter command available at https://github.com/jordilin/datesorter
list-all-releases github.com/jordilin/gitar | datesorter --column 2 --sort asc -
The last stable release is the one that is not marked as Pre-release
in Github
or as Upcoming Release
in Gitlab.
list-last-assets github.com/jordilin/gitar
This project is licensed under
-
Source code: MIT license (LICENSE or http://opensource.org/licenses/MIT)
-
GitAR-Amps logo: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)