neetob 0.5.88 → 0.5.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +18 -14
- data/lib/neetob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36c4b17cbe3176d0f36fb7155968083997224f684bb1dc7db762ad51d4b8862f
|
|
4
|
+
data.tar.gz: 7582fab7148a538625931de703779c40b8d34e1f4040b58a1ad120aefe642c36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5d3ced17c58322a90e08d6735d731c461a821aede41572c482a064e86f002452d9de4820f62c98d72fc24ef459ef86d5778039a5a134668d91e1f5359acfeedd
|
|
7
|
+
data.tar.gz: 74ca0b0cf049b3db5a7716ada37248eb93d72479cfd4dc0c78086a938df771770a6d5b1a23a17b5b21734eb9dc8050b98b2d7c58f49fbe4cf553eff405b4b68f
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# neetob
|
|
2
2
|
|
|
3
|
-
The `neetob` gem gives a different set of commands for interacting with
|
|
3
|
+
The `neetob` gem gives a different set of commands for interacting with GitHub repos, Heroku instances, neetoDeploy instances and other tools to manage the workflow of neeto products.
|
|
4
4
|
|
|
5
5
|
## Table of Contents
|
|
6
6
|
|
|
@@ -63,7 +63,7 @@ Use the `help` keyword to access a list of all the available commands and option
|
|
|
63
63
|
neetob help
|
|
64
64
|
|
|
65
65
|
Commands:
|
|
66
|
-
neetob github # Interact with any resource in
|
|
66
|
+
neetob github # Interact with any resource in GitHub
|
|
67
67
|
neetob help [COMMAND] # Describe available commands or one specific command
|
|
68
68
|
neetob heroku # Interact with any resource in Heroku
|
|
69
69
|
neetob users # Interact with the contributors of neeto apps
|
|
@@ -127,7 +127,7 @@ neetob github issues list --count --state open --assignee none --repos "neeto-*-
|
|
|
127
127
|
neetob github issues list --count --label bug --state open --assignee none \
|
|
128
128
|
--repos "neeto-*-staging"
|
|
129
129
|
|
|
130
|
-
# Creates an issue in
|
|
130
|
+
# Creates an issue in multiple GitHub repos in one shot
|
|
131
131
|
# You will be prompted to enter issue title, description etc.
|
|
132
132
|
neetob github issues create --repos "neeto-*-web"
|
|
133
133
|
|
|
@@ -140,13 +140,13 @@ neetob github issues create --repos "nanos"
|
|
|
140
140
|
|
|
141
141
|
### Labels
|
|
142
142
|
|
|
143
|
-
The `labels` command provides an interface for interacting with
|
|
143
|
+
The `labels` command provides an interface for interacting with GitHub labels.
|
|
144
144
|
|
|
145
145
|
```sh
|
|
146
|
-
# Lists the details of all the labels in the
|
|
146
|
+
# Lists the details of all the labels in the GitHub repo
|
|
147
147
|
neetob github labels list --repos "neeto-*-staging"
|
|
148
148
|
|
|
149
|
-
# Provides the details for a specific label in the
|
|
149
|
+
# Provides the details for a specific label in the GitHub repo
|
|
150
150
|
neetob github labels show --name priority --repos "neeto-*-staging"
|
|
151
151
|
|
|
152
152
|
# Changes the name of the label
|
|
@@ -164,11 +164,11 @@ neetob github labels upsert --path ~/Desktop/labels.json --repos "neeto-*-stagin
|
|
|
164
164
|
neetob github labels upsert --name UI --color 8250df --description \
|
|
165
165
|
"UI work needed" --repos "all"
|
|
166
166
|
|
|
167
|
-
# Deletes the given labels from the
|
|
167
|
+
# Deletes the given labels from the GitHub repos
|
|
168
168
|
neetob github labels delete --labels "High Priority" "Priority 1" "bug" \
|
|
169
169
|
--repos "neeto-*-staging"
|
|
170
170
|
|
|
171
|
-
# Deletes all the labels from the
|
|
171
|
+
# Deletes all the labels from the GitHub repos
|
|
172
172
|
neetob github labels delete_all --repos "neeto-*-staging"
|
|
173
173
|
```
|
|
174
174
|
|
|
@@ -206,6 +206,8 @@ We can pass the `--replace` option to replace all found instances of the keyword
|
|
|
206
206
|
### Brakeman
|
|
207
207
|
|
|
208
208
|
Run [brakeman](https://brakemanscanner.org/) on neeto repos & create issues wherever any security vulnerabilities are found.
|
|
209
|
+
Again this command will create GitHub issues if security issues
|
|
210
|
+
are found.
|
|
209
211
|
|
|
210
212
|
```sh
|
|
211
213
|
neetob github brakeman --repos "neeto-*-web"
|
|
@@ -248,11 +250,11 @@ neetob github protect_branch --branch main --path ~/Desktop/branch-protection-ru
|
|
|
248
250
|
--repos "all"
|
|
249
251
|
```
|
|
250
252
|
|
|
251
|
-
**Note:** Unfortunately, utilizing the
|
|
253
|
+
**Note:** Unfortunately, utilizing the GitHub API, we are unable to update the `Require deployments to succeed before merging` rule, as it is currently not defined as a parameter within the API. For further information on available options to update different branch protection rules, kindly refer to the official GitHub [documentation](https://docs.github.com/en/rest/branches/branch-protection#update-branch-protection).
|
|
252
254
|
|
|
253
255
|
### Make PR
|
|
254
256
|
|
|
255
|
-
The `make-pr` command creates pull requests across
|
|
257
|
+
The `make-pr` command creates pull requests across GitHub repos.
|
|
256
258
|
|
|
257
259
|
```sh
|
|
258
260
|
# The `compliance-fix` command runs `bundle install` and
|
|
@@ -291,7 +293,7 @@ neetob github gems release --nanos neeto-monitor-ruby neeto-bugtrap-ruby
|
|
|
291
293
|
|
|
292
294
|
### Login
|
|
293
295
|
|
|
294
|
-
Authenticate through your browser and update your
|
|
296
|
+
Authenticate through your browser and update your GitHub access token by utilizing the `login` command.
|
|
295
297
|
|
|
296
298
|
```sh
|
|
297
299
|
neetob github login
|
|
@@ -418,7 +420,7 @@ neetob heroku execute -c "Sidekiq::Cron::Job.destroy \"server_side_worker\"" --a
|
|
|
418
420
|
"neeto-*-staging" --rails
|
|
419
421
|
```
|
|
420
422
|
|
|
421
|
-
## Working with
|
|
423
|
+
## Working with NeetoDeploy
|
|
422
424
|
|
|
423
425
|
Utilize the `help` command to list all the available subcommands under the `NeetoDeploy` module for interacting with the neetoDeploy resources.
|
|
424
426
|
|
|
@@ -705,7 +707,8 @@ neetob local ls --dir app/controllers --apps "neeto-*-web"
|
|
|
705
707
|
The `add_member_to_all_apps` command adds a user to all apps of a specific help workspace.
|
|
706
708
|
|
|
707
709
|
```
|
|
708
|
-
neetob workspace_permission add_member_to_all_apps --workspace=neetocoursehelp
|
|
710
|
+
neetob workspace_permission add_member_to_all_apps --workspace=neetocoursehelp \
|
|
711
|
+
--email=oliver@example.com --role=Admin
|
|
709
712
|
```
|
|
710
713
|
|
|
711
714
|
### Add user to all neeto help workspaces for a specific app
|
|
@@ -713,5 +716,6 @@ neetob workspace_permission add_member_to_all_apps --workspace=neetocoursehelp -
|
|
|
713
716
|
The `add_member_to_all_workspaces` command adds a user to all neeto help workspaces for a specific app
|
|
714
717
|
|
|
715
718
|
```
|
|
716
|
-
neetob workspace_permission add_member_to_all_workspaces --app=neetocal
|
|
719
|
+
neetob workspace_permission add_member_to_all_workspaces --app=neetocal \
|
|
720
|
+
--email=oliver@example.com --role=Admin
|
|
717
721
|
```
|
data/lib/neetob/version.rb
CHANGED