1
0
Fork 0
mirror of https://github.com/Luzifer/github-masswatch.git synced 2024-10-18 12:44:25 +00:00
github-masswatch/README.md

47 lines
1.7 KiB
Markdown
Raw Normal View History

2015-06-02 16:52:56 +00:00
# Luzifer / github-masswatch
[![License: Apache 2.0](http://badge.luzifer.io/v1/badge?color=5d79b5&title=license&text=Apache%202.0)](LICENSE)
This project is a small helper for mass-watching / unwatching in GitHub repositories. If you are in a bigger organization like me you might have switched off auto-watching for new repositories as your mailbox gets flooded with stuff you don't even like to see. So after turning off the automatic watching you will not notice new repositories and you have to subscribe them one by one. To make this a bit more easy and have a chance to do this with a Jenkins job or similar I wrote this little tool.
## Features
- List all repositories you have access to
- List all repositories you are currently subscribed to
- Test a RegExp against that repository list
- Watch and unwatch repositories by providing a RegExp
## Simple usage example
```bash
# bundle install
[...]
2015-06-02 17:53:37 +00:00
# ruby watch.rb help
Commands:
watch.rb help [COMMAND] # Describe available commands or one specific command
watch.rb list <regex> # lists all repos, useful to test your watch regex
watch.rb unwatch <regex> # unwatch all repos matching your regex
watch.rb watch <regex> # watch all repos matching your regex
watch.rb watched <regex> # show all watched repos, useful to test your unwatch regex
Options:
[--token=TOKEN]
2015-06-02 16:52:56 +00:00
# ruby watch.rb list --token=<mytoken>
Luzifer/alarmclock
Luzifer/alfred-fold
Luzifer/alfred-pwdgen
Luzifer/AMZWishlist
Luzifer/awsenv
[...]
2015-06-02 17:53:37 +00:00
# ruby watch.rb list '^Luzifer/alfred-.*' --token=<mytoken>
Luzifer/alfred-fold
Luzifer/alfred-pwdgen
# ruby watch.rb watch '^Luzifer/alfred-.*' --token=<mytoken>
Subscribing to Luzifer/alfred-fold...
Subscribing to Luzifer/alfred-pwdgen...
2015-06-02 16:52:56 +00:00
```