githubpullrequests
Advanced tools
+4
-1
| Metadata-Version: 2.1 | ||
| Name: githubpullrequests | ||
| Version: 0.2.0 | ||
| Version: 0.3.0 | ||
| Summary: Create Pull Requests, using GitHub API and a list of repositories | ||
@@ -28,2 +28,3 @@ Home-page: https://github.com/evandrocoan/githubpullrequests | ||
| [-c] [-d] [-s] [-ei ENABLE_ISSUES] [-as ADD_STARS] | ||
| [-wa WATCH_ALL] | ||
@@ -60,2 +61,4 @@ Create Pull Requests, using GitHub API and a list of repositories. | ||
| Add a star on all repositories for the given user. | ||
| -wa WATCH_ALL, --watch-all WATCH_ALL | ||
| Enable watch for all repositories on the given user. | ||
| ``` | ||
@@ -62,0 +65,0 @@ |
+3
-0
@@ -21,2 +21,3 @@ # Create Pull Requests | ||
| [-c] [-d] [-s] [-ei ENABLE_ISSUES] [-as ADD_STARS] | ||
| [-wa WATCH_ALL] | ||
@@ -53,2 +54,4 @@ Create Pull Requests, using GitHub API and a list of repositories. | ||
| Add a star on all repositories for the given user. | ||
| -wa WATCH_ALL, --watch-all WATCH_ALL | ||
| Enable watch for all repositories on the given user. | ||
| ``` | ||
@@ -55,0 +58,0 @@ |
+1
-1
@@ -62,3 +62,3 @@ #!/usr/bin/env python3 | ||
| # | ||
| version = '0.2.0' | ||
| version = '0.3.0' | ||
@@ -65,0 +65,0 @@ install_requires=[ |
| Metadata-Version: 2.1 | ||
| Name: githubpullrequests | ||
| Version: 0.2.0 | ||
| Version: 0.3.0 | ||
| Summary: Create Pull Requests, using GitHub API and a list of repositories | ||
@@ -28,2 +28,3 @@ Home-page: https://github.com/evandrocoan/githubpullrequests | ||
| [-c] [-d] [-s] [-ei ENABLE_ISSUES] [-as ADD_STARS] | ||
| [-wa WATCH_ALL] | ||
@@ -60,2 +61,4 @@ Create Pull Requests, using GitHub API and a list of repositories. | ||
| Add a star on all repositories for the given user. | ||
| -wa WATCH_ALL, --watch-all WATCH_ALL | ||
| Enable watch for all repositories on the given user. | ||
| ``` | ||
@@ -62,0 +65,0 @@ |
@@ -112,2 +112,5 @@ #!/usr/bin/env python3 | ||
| argumentParser.add_argument( "-wa", "--watch-all", action="store", default="", | ||
| help="Enable watch for all repositories on the given user." ) | ||
| argumentsNamespace = argumentParser.parse_args() | ||
@@ -144,2 +147,5 @@ # log( 1, argumentsNamespace ) | ||
| if argumentsNamespace.watch_all: | ||
| watch_all_github_repositories( argumentsNamespace.watch_all ) | ||
| if argumentsNamespace.file: | ||
@@ -552,2 +558,15 @@ pull_requester = PullRequester( | ||
| def watch_all_github_repositories(username): | ||
| def add_star(index, repository_id): | ||
| return wrap_text( """ | ||
| update%05d: updateSubscription(input:{subscribableId:"%s", state:SUBSCRIBED}) { | ||
| clientMutationId | ||
| subscribable { | ||
| viewerSubscription | ||
| } | ||
| } | ||
| """ % ( index, repository_id ) ) | ||
| run_action_on_all_repositories(username, add_star) | ||
| def run_action_on_all_repositories(username, action): | ||
@@ -554,0 +573,0 @@ """ We can only update up to 100 repositories at a time |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
78599
1.61%631
2.44%