neetob 0.4.16 → 0.4.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +1 -0
- data/bookmarks.md +108 -15
- data/data/branch-protection-rules.json +3 -3
- data/data/github-labels.json +48 -3
- data/lib/neetob/cli/base.rb +2 -1
- data/lib/neetob/cli/github/brakeman.rb +1 -1
- data/lib/neetob/cli/github/gems/release.rb +1 -1
- data/lib/neetob/cli/github/make_pr/base.rb +22 -7
- data/lib/neetob/cli/github/make_pr/compliance_fix.rb +7 -3
- data/lib/neetob/cli/github/make_pr/script.rb +2 -2
- data/lib/neetob/cli/github/search.rb +1 -1
- data/lib/neetob/cli/heroku/access/commands.rb +3 -3
- data/lib/neetob/cli/heroku/base.rb +47 -0
- data/lib/neetob/cli/heroku/commands.rb +1 -1
- data/lib/neetob/cli/heroku/config_vars/base.rb +2 -2
- data/lib/neetob/cli/heroku/config_vars/commands.rb +4 -4
- data/lib/neetob/version.rb +1 -1
- data/lib/neetob.rb +6 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec8deddee58110eed9467e356483254caa833d83b3df7091c9c8b5fe8967ca02
|
4
|
+
data.tar.gz: f2132aacdf4c412299492009756b5ab3bf493148409df6f105a60939c9f766fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44cc605d45680fe2623e181eaf77dafcea55e36a11baa894bb14e1d30e6258067caeedb9104c4c74eca3a4a32b99d88afec4e69e8bf836033bacceee938d46cc
|
7
|
+
data.tar.gz: ed0252a1af694336d54b544fc6d8129c17bb5473332e7e2738156b85e9d41724e0d32bffcc5ffc831dc5c0f2aad3353e74f61a28e11dc1da2e9ea5586850f368
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
neetob (0.4.
|
4
|
+
neetob (0.4.20)
|
5
5
|
brakeman (~> 5.0)
|
6
6
|
chronic
|
7
7
|
dotenv (~> 2.8.1)
|
@@ -35,9 +35,9 @@ GEM
|
|
35
35
|
sidekiq-cron
|
36
36
|
sidekiq-failures
|
37
37
|
webmock
|
38
|
-
neeto-compliance (1.1.
|
38
|
+
neeto-compliance (1.1.71)
|
39
39
|
colorize
|
40
|
-
|
40
|
+
hash-deep-merge
|
41
41
|
hashdiff
|
42
42
|
json (~> 2.6.2)
|
43
43
|
|
@@ -136,7 +136,6 @@ GEM
|
|
136
136
|
activerecord (>= 5.a)
|
137
137
|
database_cleaner-core (~> 2.0.0)
|
138
138
|
database_cleaner-core (2.0.1)
|
139
|
-
deep_merge (1.2.2)
|
140
139
|
docile (1.4.0)
|
141
140
|
dotenv (2.8.1)
|
142
141
|
erubi (1.11.0)
|
@@ -156,7 +155,8 @@ GEM
|
|
156
155
|
fury (0.0.1)
|
157
156
|
globalid (1.0.1)
|
158
157
|
activesupport (>= 5.0)
|
159
|
-
|
158
|
+
hash-deep-merge (0.1.1)
|
159
|
+
hashdiff (1.1.0)
|
160
160
|
hashie (5.0.0)
|
161
161
|
honeybadger (5.2.1)
|
162
162
|
htmlentities (4.3.4)
|
data/README.md
CHANGED
data/bookmarks.md
CHANGED
@@ -1,36 +1,129 @@
|
|
1
|
-
[All
|
1
|
+
[All nano issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fneeto-chat-rn+-repo%3Abigbinary%2Fneeto-crm-rn+-repo%3Abigbinary%2Fneeto-invoice-rn+-repo%3Abigbinary%2Fneeto-desk-rn+-repo%3Abigbinary%2Fneeto-planner-rn+-repo%3Abigbinary%2Fneeto-form-rn+-repo%3Abigbinary%2Fneeto-cal-rn+-repo%3Abigbinary%2Fneeto-quiz-rn+-repo%3Abigbinary%2Fwheel-rn+-repo%3Abigbinary%2Fneeto-ui-rn+-repo%3Abigbinary%2Fneeto-commons-rn+-repo%3Abigbinary%2Fneeto-engineering-rn+-repo%3Abigbinary%2Fneeto-wheel-web+-repo%3Abigbinary%2Fneeto-code-web+-repo%3Abigbinary%2Fneeto-website+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fneeto-notifications-web+-repo%3Abigbinary%2Fneeto-ip-lookup-web+-repo%3Abigbinary%2Fneeto-slack-notification-web+-repo%3Abigbinary%2Fneeto-auth-web+-repo%3Abigbinary%2Fneeto-form-web+-repo%3Abigbinary%2Fneeto-cal-web+-repo%3Abigbinary%2Fneeto-chat-web+-repo%3Abigbinary%2Fneeto-desk-web+-repo%3Abigbinary%2Fneeto-kb-web+-repo%3Abigbinary%2Fneeto-quiz-web+-repo%3Abigbinary%2Fneeto-site-web+-repo%3Abigbinary%2Fneeto-invisible-web+-repo%3Abigbinary%2Fneeto-runner-web+-repo%3Abigbinary%2Fneeto-replay-web+-repo%3Abigbinary%2Fneeto-invoice-web+-repo%3Abigbinary%2Fneeto-planner-web+-repo%3Abigbinary%2Fneeto-course-web+-repo%3Abigbinary%2Fneeto-wireframe-web+-repo%3Abigbinary%2Fneeto-changelog-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fneeto-deploy-web+-repo%3Abigbinary%2Fneeto-ci-web+-repo%3Abigbinary%2Fneeto-git-web+-repo%3Abigbinary%2Fneeto-record-web+-repo%3Abigbinary%2Fneeto-tower-web+-repo%3Abigbinary%2Fneeto-trail-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fbigbinary-website+-repo%3Abigbinary%2Fneeto-planner-electron+-repo%3Abigbinary%2Fbigbinary-books-content+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fbb-academy-content+-repo%3Abigbinary%2Fneeto-seoaudit-electron+-repo%3Abigbinary%2Fios-certs-fastlane-match+-repo%3Abigbinary%2Fheadstrong-digital+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-engineering-web+-repo%3Abigbinary%2Fneeto-engineering-ui-ux+-repo%3Abigbinary%2Fneeto-kb-eui+-repo%3Abigbinary%2Fneeto-site-blocks+-repo%3Abigbinary%2Fneeto-site-eui+-repo%3Abigbinary%2Fneeto-code-blocks+-repo%3Abigbinary%2Fneeto-course-page+-repo%3Abigbinary%2Fneeto-course-site+-repo%3Abigbinary%2Fneeto-course-nextjs+-repo%3Abigbinary%2Fneeto-course-sql-runner+-repo%3Abigbinary%2Fneeto-replay-lambda+-repo%3Abigbinary%2Fneeto-compliance-automata+-repo%3Abigbinary%2Fneeto-libraries-latest-version+-repo%3Abigbinary%2Fneeto-deploy-package-json-standardizer-buildpack+-repo%3Abigbinary%2Fneeto-deploy-awscli-buildpack+-repo%3Abigbinary%2Fneeto-deploy-dyno-manager+-repo%3Abigbinary%2Fneeto-deploy-pod-idling-service+-repo%3Abigbinary%2Fneeto-deploy-downtime-service+-repo%3Abigbinary%2Fneeto-deploy-addon-manager-web+-repo%3Abigbinary%2Fneeto-deploy-slug-compiler-web+-repo%3Abigbinary%2Fneeto-deploy-helm-chart+-repo%3Abigbinary%2Fneeto-docker-images+-repo%3Abigbinary%2Fneeto-code-docker-images+-repo%3Abigbinary%2Fneeto-chatify-node+-repo%3Abigbinary%2Fneeto-deploy-cli+-repo%3Abigbinary%2Fneeto-cygen-ext+-repo%3Abigbinary%2Fgranite+-repo%3Abigbinary%2Fneeto-changelog-widget+-repo%3Abigbinary%2Fneeto-base-widget+-repo%3Abigbinary%2Fneeto-chat-widget+-repo%3Abigbinary%2Fneeto-replay-widget+sort%3Acreated-asc+)
|
2
2
|
|
3
|
-
|
3
|
+
**NOTE:** As GitHub doesn't offer dynamic date filtering, we must manually add the date like `created:<=2023-12-20` in the filter to see issues created before the specified date
|
4
|
+
example: [All nano issues created before the 20th Dec 2023](https://github.com/issues?q=created%3A%3C%3D2023-12-20+is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fneeto-chat-rn+-repo%3Abigbinary%2Fneeto-crm-rn+-repo%3Abigbinary%2Fneeto-invoice-rn+-repo%3Abigbinary%2Fneeto-desk-rn+-repo%3Abigbinary%2Fneeto-planner-rn+-repo%3Abigbinary%2Fneeto-form-rn+-repo%3Abigbinary%2Fneeto-cal-rn+-repo%3Abigbinary%2Fneeto-quiz-rn+-repo%3Abigbinary%2Fwheel-rn+-repo%3Abigbinary%2Fneeto-ui-rn+-repo%3Abigbinary%2Fneeto-commons-rn+-repo%3Abigbinary%2Fneeto-engineering-rn+-repo%3Abigbinary%2Fneeto-wheel-web+-repo%3Abigbinary%2Fneeto-code-web+-repo%3Abigbinary%2Fneeto-website+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fneeto-notifications-web+-repo%3Abigbinary%2Fneeto-ip-lookup-web+-repo%3Abigbinary%2Fneeto-slack-notification-web+-repo%3Abigbinary%2Fneeto-auth-web+-repo%3Abigbinary%2Fneeto-form-web+-repo%3Abigbinary%2Fneeto-cal-web+-repo%3Abigbinary%2Fneeto-chat-web+-repo%3Abigbinary%2Fneeto-desk-web+-repo%3Abigbinary%2Fneeto-kb-web+-repo%3Abigbinary%2Fneeto-quiz-web+-repo%3Abigbinary%2Fneeto-site-web+-repo%3Abigbinary%2Fneeto-invisible-web+-repo%3Abigbinary%2Fneeto-runner-web+-repo%3Abigbinary%2Fneeto-replay-web+-repo%3Abigbinary%2Fneeto-invoice-web+-repo%3Abigbinary%2Fneeto-planner-web+-repo%3Abigbinary%2Fneeto-course-web+-repo%3Abigbinary%2Fneeto-wireframe-web+-repo%3Abigbinary%2Fneeto-changelog-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fneeto-deploy-web+-repo%3Abigbinary%2Fneeto-ci-web+-repo%3Abigbinary%2Fneeto-git-web+-repo%3Abigbinary%2Fneeto-record-web+-repo%3Abigbinary%2Fneeto-tower-web+-repo%3Abigbinary%2Fneeto-trail-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fbigbinary-website+-repo%3Abigbinary%2Fneeto-planner-electron+-repo%3Abigbinary%2Fbigbinary-books-content+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fbb-academy-content+-repo%3Abigbinary%2Fneeto-seoaudit-electron+-repo%3Abigbinary%2Fios-certs-fastlane-match+-repo%3Abigbinary%2Fheadstrong-digital+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-engineering-web+-repo%3Abigbinary%2Fneeto-engineering-ui-ux+-repo%3Abigbinary%2Fneeto-kb-eui+-repo%3Abigbinary%2Fneeto-site-blocks+-repo%3Abigbinary%2Fneeto-site-eui+-repo%3Abigbinary%2Fneeto-code-blocks+-repo%3Abigbinary%2Fneeto-course-page+-repo%3Abigbinary%2Fneeto-course-site+-repo%3Abigbinary%2Fneeto-course-nextjs+-repo%3Abigbinary%2Fneeto-course-sql-runner+-repo%3Abigbinary%2Fneeto-replay-lambda+-repo%3Abigbinary%2Fneeto-compliance-automata+-repo%3Abigbinary%2Fneeto-libraries-latest-version+-repo%3Abigbinary%2Fneeto-deploy-package-json-standardizer-buildpack+-repo%3Abigbinary%2Fneeto-deploy-awscli-buildpack+-repo%3Abigbinary%2Fneeto-deploy-dyno-manager+-repo%3Abigbinary%2Fneeto-deploy-pod-idling-service+-repo%3Abigbinary%2Fneeto-deploy-downtime-service+-repo%3Abigbinary%2Fneeto-deploy-addon-manager-web+-repo%3Abigbinary%2Fneeto-deploy-slug-compiler-web+-repo%3Abigbinary%2Fneeto-deploy-helm-chart+-repo%3Abigbinary%2Fneeto-docker-images+-repo%3Abigbinary%2Fneeto-code-docker-images+-repo%3Abigbinary%2Fneeto-chatify-node+-repo%3Abigbinary%2Fneeto-deploy-cli+-repo%3Abigbinary%2Fneeto-cygen-ext+-repo%3Abigbinary%2Fgranite+-repo%3Abigbinary%2Fneeto-changelog-widget+-repo%3Abigbinary%2Fneeto-base-widget+-repo%3Abigbinary%2Fneeto-chat-widget+-repo%3Abigbinary%2Fneeto-replay-widget+sort%3Acreated-asc)
|
5
|
+
|
6
|
+
[nano issues that are not added to any board.](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fneeto-seoaudit-electron-deprecated+-repo%3Abigbinary%2Fneeto-chat-rn+-repo%3Abigbinary%2Fneeto-crm-rn+-repo%3Abigbinary%2Fneeto-invoice-rn+-repo%3Abigbinary%2Fneeto-desk-rn+-repo%3Abigbinary%2Fneeto-planner-rn+-repo%3Abigbinary%2Fneeto-form-rn+-repo%3Abigbinary%2Fneeto-cal-rn+-repo%3Abigbinary%2Fneeto-quiz-rn+-repo%3Abigbinary%2Fwheel-rn+-repo%3Abigbinary%2Fneeto-ui-rn+-repo%3Abigbinary%2Fneeto-commons-rn+-repo%3Abigbinary%2Fneeto-engineering-rn+-repo%3Abigbinary%2Fneeto-wheel-web+-repo%3Abigbinary%2Fneeto-code-web+-repo%3Abigbinary%2Fneeto-website+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fneeto-notifications-web+-repo%3Abigbinary%2Fneeto-ip-lookup-web+-repo%3Abigbinary%2Fneeto-slack-notification-web+-repo%3Abigbinary%2Fneeto-auth-web+-repo%3Abigbinary%2Fneeto-form-web+-repo%3Abigbinary%2Fneeto-cal-web+-repo%3Abigbinary%2Fneeto-chat-web+-repo%3Abigbinary%2Fneeto-desk-web+-repo%3Abigbinary%2Fneeto-kb-web+-repo%3Abigbinary%2Fneeto-quiz-web+-repo%3Abigbinary%2Fneeto-site-web+-repo%3Abigbinary%2Fneeto-invisible-web+-repo%3Abigbinary%2Fneeto-runner-web+-repo%3Abigbinary%2Fneeto-replay-web+-repo%3Abigbinary%2Fneeto-invoice-web+-repo%3Abigbinary%2Fneeto-planner-web+-repo%3Abigbinary%2Fneeto-course-web+-repo%3Abigbinary%2Fneeto-wireframe-web+-repo%3Abigbinary%2Fneeto-changelog-web+-repo%3Abigbinary%2Fneeto-crm-web+-repo%3Abigbinary%2Fneeto-testify-web+-repo%3Abigbinary%2Fneeto-deploy-web+-repo%3Abigbinary%2Fneeto-ci-web+-repo%3Abigbinary%2Fneeto-git-web+-repo%3Abigbinary%2Fneeto-record-web+-repo%3Abigbinary%2Fneeto-tower-web+-repo%3Abigbinary%2Fneeto-trail-web+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+-repo%3Abigbinary%2Fadvanced-react-js+-repo%3Abigbinary%2Fneeto-blog+-repo%3Abigbinary%2Fbigbinary-website+-repo%3Abigbinary%2Fneeto-planner-electron+-repo%3Abigbinary%2Fbigbinary-books-content+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fbb-academy-content+-repo%3Abigbinary%2Fneeto-seoaudit-electron+-repo%3Abigbinary%2Fios-certs-fastlane-match+-repo%3Abigbinary%2Fheadstrong-digital+-repo%3Abigbinary%2Fneeto-chatify-web+-repo%3Abigbinary%2Fneeto-engineering-web+-repo%3Abigbinary%2Fneeto-engineering-ui-ux+-repo%3Abigbinary%2Fneeto-kb-eui+-repo%3Abigbinary%2Fneeto-site-blocks+-repo%3Abigbinary%2Fneeto-site-eui+-repo%3Abigbinary%2Fneeto-code-blocks+-repo%3Abigbinary%2Fneeto-course-page+-repo%3Abigbinary%2Fneeto-course-site+-repo%3Abigbinary%2Fneeto-course-nextjs+-repo%3Abigbinary%2Fneeto-course-sql-runner+-repo%3Abigbinary%2Fneeto-replay-lambda+-repo%3Abigbinary%2Fneeto-compliance-automata+-repo%3Abigbinary%2Fneeto-libraries-latest-version+-repo%3Abigbinary%2Fneeto-deploy-package-json-standardizer-buildpack+-repo%3Abigbinary%2Fneeto-deploy-awscli-buildpack+-repo%3Abigbinary%2Fneeto-deploy-dyno-manager+-repo%3Abigbinary%2Fneeto-deploy-pod-idling-service+-repo%3Abigbinary%2Fneeto-deploy-downtime-service+-repo%3Abigbinary%2Fneeto-deploy-addon-manager-web+-repo%3Abigbinary%2Fneeto-deploy-slug-compiler-web+-repo%3Abigbinary%2Fneeto-deploy-helm-chart+-repo%3Abigbinary%2Fneeto-docker-images+-repo%3Abigbinary%2Fneeto-code-docker-images+-repo%3Abigbinary%2Fneeto-chatify-node+-repo%3Abigbinary%2Fneeto-deploy-cli+-repo%3Abigbinary%2Fneeto-cygen-ext+-repo%3Abigbinary%2Fgranite+-repo%3Abigbinary%2Fneeto-changelog-widget+-repo%3Abigbinary%2Fneeto-base-widget+-repo%3Abigbinary%2Fneeto-chat-widget+-repo%3Abigbinary%2Fneeto-replay-widget+-project%3Abigbinary%2F66+-project%3Abigbinary%2F79+-project%3Abigbinary%2F65+-project%3Abigbinary%2F73+-project%3Abigbinary%2F78+-project%3Abigbinary%2F52+-project%3Abigbinary%2F64+-project%3Abigbinary%2F56+-project%3Abigbinary%2F57+-project%3Abigbinary%2F63+-project%3Abigbinary%2F67+-project%3Abigbinary%2F68+-project%3Abigbinary%2F64+-project%3Abigbinary%2F80+sort%3Acreated-asc+)
|
7
|
+
|
8
|
+
[All UI issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+label%3Aui%2CUI-team+)
|
9
|
+
|
10
|
+
[All UX issues](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+label%3Aux%2CUX-team%2CUX-design-needed+)
|
4
11
|
|
5
12
|
[Engineer needed](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+label%3Aengineer-needed)
|
6
13
|
|
7
|
-
[Issues across repos in bigbinary excluding client repos](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+sort%3Acreated-asc+)
|
14
|
+
[Issues across repos in bigbinary excluding client repos](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+archived%3Afalse+-repo%3Abigbinary%2Fnetcamps+-repo%3Abigbinary%2Fneeto-seoaudit-electron-deprecated+-repo%3Abigbinary%2Fjacky-winter-web+-repo%3Abigbinary%2Faceinvoice-web+-repo%3Abigbinary%2Ftrtle-rn+-repo%3Abigbinary%2Ftrtle-web+sort%3Acreated-asc+)
|
15
|
+
|
16
|
+
## Project boards / Milestone boards:
|
17
|
+
- [Unni's Board](https://github.com/orgs/bigbinary/projects/66) - [neetoAuth & neeto-sso](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-auth-web%22),
|
18
|
+
[neetoDeploy](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-deploy-web%22),
|
19
|
+
[neetoCI](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-ci-web%22),
|
20
|
+
[neetoRecord](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-record-web%22%2C%22bigbinary%2Fneeto-record-chrome-extension%22+),
|
21
|
+
[neetoInvoice](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-invoice-web%22),
|
22
|
+
[Compliance & commons backend](https://github.com/orgs/bigbinary/projects/66/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-commons-backend%22+),
|
23
|
+
- [Sandip's Board](https://github.com/orgs/bigbinary/projects/56): [neeto-desk-web](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-desk-web%22),
|
24
|
+
[neeto-kb-web](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-kb-web%22),
|
25
|
+
[neeto-kb-eui](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-kb-eui%22),
|
26
|
+
[neeto-projects-nano](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-projects-nano%22),
|
27
|
+
[neeto-activities-nano](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-activities-nano%22),
|
28
|
+
[neeto-payments-nano](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-payments-nano%22),
|
29
|
+
[neeto-approvals-nano](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-approvals-nano%22),
|
30
|
+
[neeto-invite-links-engine](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-invite-links-engine%22),
|
31
|
+
[neeto-mail-interceptor](https://github.com/orgs/bigbinary/projects/56/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-mail-interceptor%22)
|
32
|
+
- [Akash's Board](https://github.com/orgs/bigbinary/projects/57/views/2):
|
33
|
+
[neeto-course-web](https://github.com/orgs/bigbinary/projects/57/views/2?filterQuery=repo%3A%22bigbinary%2Fneeto-course-web%22%2C%22bigbinary%2Fneeto-course-site%22%2C%22bigbinary%2Fneeto-course-page%22),
|
34
|
+
[neeto-quiz-web](https://github.com/orgs/bigbinary/projects/57/views/2?filterQuery=repo%3A%22bigbinary%2Fneeto-quiz-web%22),
|
35
|
+
[neeto-code-web](https://github.com/orgs/bigbinary/projects/57/views/2?filterQuery=repo%3A%22bigbinary%2Fneeto-code-web%22),
|
36
|
+
[neeto-email-notifications-nano](https://github.com/orgs/bigbinary/projects/57/views/2?filterQuery=repo%3A%22bigbinary%2Femail-notifications-nano%22),
|
37
|
+
[neeto-code-blocks](https://github.com/orgs/bigbinary/projects/57/views/2?filterQuery=repo%3A%22bigbinary%2Fneeto-code-blocks%22)
|
38
|
+
- [Subin's Board](https://github.com/orgs/bigbinary/projects/67/views/1):
|
39
|
+
[neeto-cal-web](https://github.com/orgs/bigbinary/projects/67/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-cal-web%22),
|
40
|
+
[neeto-webhooks-nano](https://github.com/orgs/bigbinary/projects/67/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-webhooks-nano%22),
|
41
|
+
|
42
|
+
- [Abhay's Board](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=):
|
43
|
+
[neeto-changelog-web](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-changelog-web%22),
|
44
|
+
[neeto-site-web](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-site-web%22%2C%22bigbinary%2Fneeto-site-blocks%22%2C%22bigbinary%2Fneeto-site-eui%22),
|
45
|
+
[neeto-invisible-web](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-invisible-web%22),
|
46
|
+
[neeto-invisible-chrome-extension](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-invisible-chrome%22),
|
47
|
+
[neeto-engineering-web](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-engineering-web%22),
|
48
|
+
[neeto-wheel-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-wheel-nano%22),
|
49
|
+
[neeto-image-uploader-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-image-uploader%22),
|
50
|
+
[neeto-api-keys-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-api-keys%22),
|
51
|
+
[neeto-templates-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-templates-nano%22),
|
52
|
+
[neeto-filters-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-filters-nano%22),
|
53
|
+
[neeto-rules-nano](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-rules-nano%22),
|
54
|
+
[neeto-area51-engine](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-area51-engine%22),
|
55
|
+
[neeto-editor-engine](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-editor-engine%22),
|
56
|
+
[neeto-editor](https://github.com/orgs/bigbinary/projects/64/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-editor%22),
|
57
|
+
[neeto-commons-frontend](https://github.com/orgs/bigbinary/projects/64/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-commons-frontend%22),
|
58
|
+
[neeto-ui](https://github.com/orgs/bigbinary/projects/53/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-ui%22),
|
59
|
+
[neeto-molecules](https://github.com/orgs/bigbinary/projects/53/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-molecules%22),
|
60
|
+
[neeto-changelog-widget](https://github.com/orgs/bigbinary/projects/53/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-changelog-widget%22),
|
61
|
+
|
62
|
+
- [Chirag's Board](https://github.com/orgs/bigbinary/projects/52/views/3):
|
63
|
+
[RN work](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-chat-rn%22%2C%22bigbinary%2Fneeto-invoice-rn%22%2C%22bigbinary%2Fneeto-desk-rn%22%2C%22bigbinary%2Fneeto-planner-rn%22%2C%22bigbinary%2Fneeto-form-rn%22%2C%22bigbinary%2Fneeto-cal-rn%22%2C%22bigbinary%2Fneeto-quiz-rn%22%2C%22bigbinary%2Fneeto-wheel-rn%22%2C%22bigbinary%2Fneeto-ui-rn%22%2C%22bigbinary%2Fneeto-commons-rn%22%2C%22bigbinary%2Fneeto-engineering-rn%22),
|
64
|
+
[neeto-form-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-form-web%22),
|
65
|
+
[neeto-crm-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-crm-web%22),
|
66
|
+
[neeto-engineering-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-engineering-web%22),
|
67
|
+
[neeto-testify-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-testify-web%22),
|
68
|
+
[neeto-chatify-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-chatify-web%22),
|
69
|
+
[neeto-tower-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-tower-web%22),
|
70
|
+
[neeto-notifications-web](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-notifications-web%22),
|
71
|
+
[neeto-message-templates-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-message-templates%22),
|
72
|
+
[neeto-fields-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-fields-nano%22),
|
73
|
+
[neeto-tags-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-tags-nano%22),
|
74
|
+
[neeto-team-members-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-team-members%22),
|
75
|
+
[neeto-message-templates-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-message-templates-nano%22),
|
76
|
+
[neeto-form-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-form-nano%22),
|
77
|
+
[neeto-slack-nano](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-slack-nano%22),
|
78
|
+
[neeto-notifications-engine](https://github.com/orgs/bigbinary/projects/52/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-notifications-engine%22)
|
79
|
+
|
80
|
+
- [Joseph's Board](https://github.com/orgs/bigbinary/projects/79/views/1):
|
81
|
+
[neeto-engineering-web](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-engineering-web%22),
|
82
|
+
[neeto-replay-web](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-replay-web%22),
|
83
|
+
[neeto-commons-frontend](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-commons-frontend%22),
|
84
|
+
[eslint-plugin-neeto](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Feslint-plugin-neeto%22),
|
85
|
+
[babel-preset-neeto](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fbabel-preset-neeto%22),
|
86
|
+
[neeto-replay-widget](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-replay-widget%22),
|
87
|
+
[neeto-replay-lambda](https://github.com/orgs/bigbinary/projects/79/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-replay-lambda%22)
|
88
|
+
[neeto-base-widget](https://github.com/orgs/bigbinary/projects/79/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-base-widget%22),
|
89
|
+
[neeto-ui](https://github.com/orgs/bigbinary/projects/53/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-ui%22),
|
90
|
+
[neeto-molecules](https://github.com/orgs/bigbinary/projects/53/views/3?filterQuery=repo%3A%22bigbinary%2Fneeto-molecules%22),
|
8
91
|
|
92
|
+
- [Yedhin's Board](https://github.com/orgs/bigbinary/projects/68/views/1):
|
93
|
+
[neeto-planner-web](https://github.com/orgs/bigbinary/projects/68/views/1?filterQuery=repo%3A%22bigbinary%2Fneeto-planner-web%22),
|
94
|
+
[neetob](https://github.com/orgs/bigbinary/projects/68/views/1?filterQuery=repo%3A%22bigbinary%2Fneetob%22),
|
9
95
|
|
10
|
-
|
96
|
+
- [Praveen's Board](https://github.com/orgs/bigbinary/projects/65/views/1)
|
97
|
+
|
98
|
+
- [Varun's Board](https://github.com/orgs/bigbinary/projects/73/views/1)
|
99
|
+
|
100
|
+
- [Farhan's Board](https://github.com/orgs/bigbinary/projects/78/views/1)
|
101
|
+
|
102
|
+
- [Vysakh's Board](https://github.com/orgs/bigbinary/projects/80/views/1)
|
103
|
+
|
104
|
+
## Products checklist
|
11
105
|
|
12
106
|
- [ ] neeto-auth-web
|
107
|
+
- [ ] neeto-form-web
|
108
|
+
- [ ] neeto-cal-web
|
13
109
|
- [ ] neeto-chat-web
|
14
110
|
- [ ] neeto-desk-web
|
15
111
|
- [ ] neeto-kb-web
|
112
|
+
- [ ] neeto-quiz-web
|
113
|
+
- [ ] neeto-site-web
|
114
|
+
- [ ] neeto-invisible-web
|
115
|
+
- [ ] neeto-runner-web
|
116
|
+
- [ ] neeto-replay-web
|
16
117
|
- [ ] neeto-invoice-web
|
17
|
-
- [ ] neeto-form-web
|
18
|
-
- [ ] neeto-cal-web
|
19
118
|
- [ ] neeto-planner-web
|
20
119
|
- [ ] neeto-course-web
|
21
|
-
- [ ] neeto-runner-web
|
22
|
-
- [ ] neeto-social-web
|
23
120
|
- [ ] neeto-wireframe-web
|
24
121
|
- [ ] neeto-changelog-web
|
25
|
-
- [ ] neeto-quiz-web
|
26
|
-
- [ ] neeto-site-web
|
27
122
|
- [ ] neeto-crm-web
|
28
|
-
- [ ] neeto-replay-web
|
29
|
-
- [ ] neeto-invisible-web
|
30
123
|
- [ ] neeto-testify-web
|
31
124
|
- [ ] neeto-deploy-web
|
32
|
-
- [ ] neeto-bugtrap-web
|
33
|
-
- [ ] neeto-sign-web
|
34
|
-
- [ ] neeto-monitor-web
|
35
125
|
- [ ] neeto-ci-web
|
36
126
|
- [ ] neeto-git-web
|
127
|
+
- [ ] neeto-record-web
|
128
|
+
- [ ] neeto-tower-web
|
129
|
+
- [ ] neeto-trail-web
|
@@ -3,7 +3,7 @@
|
|
3
3
|
{
|
4
4
|
"required_status_checks": {
|
5
5
|
"strict": true,
|
6
|
-
"contexts": ["ci/
|
6
|
+
"contexts": ["ci/neeto-ci/pull_request/default"]
|
7
7
|
},
|
8
8
|
"required_conversation_resolution": true,
|
9
9
|
"has_required_deployments": true,
|
@@ -15,9 +15,9 @@
|
|
15
15
|
},
|
16
16
|
"required_signatures": false,
|
17
17
|
"enforce_admins": false,
|
18
|
-
"required_linear_history":
|
18
|
+
"required_linear_history": true,
|
19
19
|
"allow_force_pushes": false,
|
20
|
-
"allow_deletions":
|
20
|
+
"allow_deletions": false,
|
21
21
|
"block_creations": false,
|
22
22
|
"lock_branch": false,
|
23
23
|
"allow_fork_syncing": false,
|
data/data/github-labels.json
CHANGED
@@ -99,6 +99,51 @@
|
|
99
99
|
"description": "Cypress tests have caught the bug.",
|
100
100
|
"color": "FEF2C0"
|
101
101
|
},
|
102
|
+
{
|
103
|
+
"name": "playwright-completed",
|
104
|
+
"description": "Playwright tests have finished running.",
|
105
|
+
"color": "c2d6d6"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"name": "playwright-flaky-test",
|
109
|
+
"description": "Fix Playwright flaky tests.",
|
110
|
+
"color": "c2d6d6"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"name": "playwright-happy-path-completed",
|
114
|
+
"description": "Playwright happy path tests have finished running.",
|
115
|
+
"color": "c2d6d6"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"name": "playwright-happy-path-run",
|
119
|
+
"description": "Run the Playwright tests with the tag happy-path.",
|
120
|
+
"color": "c2d6d6"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"name": "playwright-happy-path-triggered",
|
124
|
+
"description": "Playwright happy path tests have been triggered.",
|
125
|
+
"color": "c2d6d6"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"name": "playwright-needed",
|
129
|
+
"description": "Playwright tests need to be written.",
|
130
|
+
"color": "c2d6d6"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"name": "playwright-run",
|
134
|
+
"description": "Run the Playwright tests.",
|
135
|
+
"color": "c2d6d6"
|
136
|
+
},
|
137
|
+
{
|
138
|
+
"name": "playwright-triggered",
|
139
|
+
"description": "Playwright tests have been triggered.",
|
140
|
+
"color": "c2d6d6"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"name": "caught-by-playwright",
|
144
|
+
"description": "Playwright tests have caught the bug.",
|
145
|
+
"color": "c2d6d6"
|
146
|
+
},
|
102
147
|
{
|
103
148
|
"name": "documentation",
|
104
149
|
"description": "Improvements or additions to documentation.",
|
@@ -225,17 +270,17 @@
|
|
225
270
|
"color": "D0ECE7"
|
226
271
|
},
|
227
272
|
{
|
228
|
-
"name": "
|
273
|
+
"name": "sqa-needed",
|
229
274
|
"description": "Manual QA is needed to verify the changes.",
|
230
275
|
"color": "CCDDCD"
|
231
276
|
},
|
232
277
|
{
|
233
|
-
"name": "
|
278
|
+
"name": "sqa-team",
|
234
279
|
"description": "Manual QA team needs to look into this issue.",
|
235
280
|
"color": "CCDDCD"
|
236
281
|
},
|
237
282
|
{
|
238
|
-
"name": "
|
283
|
+
"name": "sqa-completed",
|
239
284
|
"description": "Manual QA team has finished verifying the changes.",
|
240
285
|
"color": "CCDDCD"
|
241
286
|
},
|
data/lib/neetob/cli/base.rb
CHANGED
@@ -108,7 +108,8 @@ module Neetob
|
|
108
108
|
NeetoCompliance::NeetoRepos::electron_apps +
|
109
109
|
NeetoCompliance::NeetoRepos::executables +
|
110
110
|
NeetoCompliance::NeetoRepos::mobile_apps +
|
111
|
-
NeetoCompliance::NeetoRepos::other_repos
|
111
|
+
NeetoCompliance::NeetoRepos::other_repos +
|
112
|
+
NeetoCompliance::NeetoRepos::nanos_mono_repos
|
112
113
|
end
|
113
114
|
|
114
115
|
def find_all_matching_gems(gems = ["*"])
|
@@ -21,7 +21,7 @@ module Neetob
|
|
21
21
|
begin
|
22
22
|
ui.info("\nWorking on repo #{repo}")
|
23
23
|
clone_repo_in_tmp_dir(repo)
|
24
|
-
bundle_install(repo)
|
24
|
+
bundle_install!(repo)
|
25
25
|
report = run_brakeman(repo)
|
26
26
|
ui.success("Successfully executed brakeman for #{repo}")
|
27
27
|
warnings = report.split("\n\n== Warnings ==\n\n").last&.split("\n\n")
|
@@ -19,8 +19,8 @@ module Neetob
|
|
19
19
|
|
20
20
|
private
|
21
21
|
|
22
|
-
def bundle_install(repo, local_repo)
|
23
|
-
|
22
|
+
def bundle_install!(repo, local_repo)
|
23
|
+
execute_command!("#{cd_to_repo(repo, local_repo)} && bundle install")
|
24
24
|
end
|
25
25
|
|
26
26
|
def delete_and_create_temp_neetob_dir
|
@@ -32,17 +32,27 @@ module Neetob
|
|
32
32
|
repo.split("/").last
|
33
33
|
end
|
34
34
|
|
35
|
-
def shallow_clone_repo_in_tmp_dir(repo)
|
36
|
-
|
35
|
+
def shallow_clone_repo_in_tmp_dir!(repo)
|
36
|
+
execute_command!(
|
37
|
+
"git clone --quiet --depth 1 git@github.com:#{repo}.git /tmp/neetob/#{repo_name_without_org_suffix(repo)}"
|
38
|
+
)
|
37
39
|
end
|
38
40
|
|
39
41
|
def clone_repo_in_tmp_dir(repo)
|
40
42
|
`git clone --quiet git@github.com:#{repo}.git /tmp/neetob/#{repo_name_without_org_suffix(repo)}`
|
41
43
|
end
|
42
44
|
|
43
|
-
def add_commmit_and_push_changes(repo, local_repo = false)
|
44
|
-
|
45
|
-
|
45
|
+
def add_commmit_and_push_changes!(repo, local_repo = false)
|
46
|
+
create_commit!(repo, local_repo)
|
47
|
+
push_changes!(repo, local_repo)
|
48
|
+
end
|
49
|
+
|
50
|
+
def create_commit!(repo, local_repo)
|
51
|
+
execute_command!("#{cd_to_repo(repo, local_repo)} && git add . && git commit -m \"#{pr_title}\"")
|
52
|
+
end
|
53
|
+
|
54
|
+
def push_changes!(repo, local_repo)
|
55
|
+
execute_command!("#{cd_to_repo(repo, local_repo)} && git push -u origin #{branch_name} --force")
|
46
56
|
end
|
47
57
|
|
48
58
|
def delete_local_feature_branch(repo, local_repo = false)
|
@@ -94,6 +104,11 @@ module Neetob
|
|
94
104
|
def warn_about_local_repos
|
95
105
|
ui.say("The above mentioned command will be using the local repos. Local changes will be lost!\n")
|
96
106
|
end
|
107
|
+
|
108
|
+
def execute_command!(command)
|
109
|
+
`#{command}`
|
110
|
+
raise Neetob::CommandExecutionError.new(command, $?.exitstatus) unless $?.success?
|
111
|
+
end
|
97
112
|
end
|
98
113
|
end
|
99
114
|
end
|
@@ -37,11 +37,15 @@ module Neetob
|
|
37
37
|
end
|
38
38
|
stash_local_changes(repo, local)
|
39
39
|
end
|
40
|
-
|
40
|
+
|
41
|
+
shallow_clone_repo_in_tmp_dir!(repo) if !local
|
42
|
+
|
41
43
|
check_and_delete_remote_branch(repo, local)
|
42
|
-
bundle_install(repo, local)
|
44
|
+
bundle_install!(repo, local)
|
45
|
+
|
43
46
|
fix_neeto_audit(repo, local)
|
44
|
-
ui.info(add_commmit_and_push_changes(repo, local))
|
47
|
+
ui.info(add_commmit_and_push_changes!(repo, local))
|
48
|
+
|
45
49
|
delete_local_feature_branch(repo, local)
|
46
50
|
pull_request = client.create_pull_request(repo, "main", BRANCH_NAME, PR_TITLE)
|
47
51
|
ui.success("PR created in \"#{repo}\" project successfully.")
|
@@ -41,11 +41,11 @@ module Neetob
|
|
41
41
|
end
|
42
42
|
stash_local_changes(repo, local)
|
43
43
|
end
|
44
|
-
shallow_clone_repo_in_tmp_dir(repo) if !local
|
44
|
+
shallow_clone_repo_in_tmp_dir!(repo) if !local
|
45
45
|
check_and_delete_remote_branch(repo, local)
|
46
46
|
update_script_file_permissions
|
47
47
|
execute_script(repo, local)
|
48
|
-
ui.info(add_commmit_and_push_changes(repo, local))
|
48
|
+
ui.info(add_commmit_and_push_changes!(repo, local))
|
49
49
|
delete_local_feature_branch(repo, local)
|
50
50
|
pull_request = client.create_pull_request(repo, "main", branch_name, pr_title, pr_description)
|
51
51
|
ui.success("PR created in \"#{repo}\" project successfully.")
|
@@ -32,7 +32,7 @@ module Neetob
|
|
32
32
|
find_and_replace_keyword(repo)
|
33
33
|
ui.say("No changes were made to #{repo}, check if keyword exists.") and next if !are_changes_made?(repo)
|
34
34
|
|
35
|
-
ui.info(add_commmit_and_push_changes(repo))
|
35
|
+
ui.info(add_commmit_and_push_changes!(repo))
|
36
36
|
delete_local_feature_branch(repo)
|
37
37
|
pull_request = client.create_pull_request(repo, "main", branch_name, pr_title)
|
38
38
|
ui.success("Successfully replaced \"#{key_to_search}\" with \"#{replacement_term}\" in #{repo}")
|
@@ -20,19 +20,19 @@ module Neetob
|
|
20
20
|
|
21
21
|
desc "list", "List all the users of the Heroku apps"
|
22
22
|
def list
|
23
|
-
List.new(options[:apps], options[:sandbox]).
|
23
|
+
List.new(options[:apps], options[:sandbox]).process
|
24
24
|
end
|
25
25
|
|
26
26
|
desc "add", "Add new users to the Heroku apps"
|
27
27
|
option :users, type: :array, required: true, desc: "Users' emails that need to be added to Heroku apps"
|
28
28
|
def add
|
29
|
-
Add.new(options[:apps], options[:users], options[:sandbox]).
|
29
|
+
Add.new(options[:apps], options[:users], options[:sandbox]).process
|
30
30
|
end
|
31
31
|
|
32
32
|
desc "remove", "Remove the users from the Heroku apps"
|
33
33
|
option :users, type: :array, required: true, desc: "Users' emails that need to be removed from the Heroku apps"
|
34
34
|
def remove
|
35
|
-
Remove.new(options[:apps], options[:users], options[:sandbox]).
|
35
|
+
Remove.new(options[:apps], options[:users], options[:sandbox]).process
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../base"
|
4
|
+
|
5
|
+
module Neetob
|
6
|
+
class CLI
|
7
|
+
module Heroku
|
8
|
+
class Base < CLI::Base
|
9
|
+
NEETO_DEPLOY_DOCS = "https://github.com/bigbinary/neetob/#working-with-neetodeploy"
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
super()
|
13
|
+
|
14
|
+
@staging_apps = []
|
15
|
+
end
|
16
|
+
|
17
|
+
def process(*args)
|
18
|
+
run(*args)
|
19
|
+
|
20
|
+
show_matching_staging_apps if @staging_apps.present?
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def find_all_matching_apps_or_repos(*args)
|
26
|
+
apps_list = super(*args)
|
27
|
+
|
28
|
+
@staging_apps, production_apps = apps_list.partition { |app| app.include?("-web-staging") }
|
29
|
+
|
30
|
+
production_apps
|
31
|
+
end
|
32
|
+
|
33
|
+
def show_matching_staging_apps
|
34
|
+
ui.info(
|
35
|
+
"\n\nWe have migrated all the staging apps to neetoDeploy. \
|
36
|
+
\nGiven apps param matches the following app(s) which no longer exist in Heroku:\n\n")
|
37
|
+
|
38
|
+
@staging_apps.map do |app|
|
39
|
+
ui.info(" - #{app}")
|
40
|
+
end
|
41
|
+
|
42
|
+
ui.info("\nPlease find the corresponding command for neetodeploy: #{NEETO_DEPLOY_DOCS}")
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -14,7 +14,7 @@ module Neetob
|
|
14
14
|
option :rails, type: :boolean, aliases: "-r", default: false, desc: "Use this flag to run the given command in the Rails console"
|
15
15
|
option :apps, type: :array, aliases: "-a", required: true, desc: "Heroku app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web-staging\""
|
16
16
|
def execute
|
17
|
-
Execute.new(options[:apps], options[:command], options[:rails], options[:sandbox]).
|
17
|
+
Execute.new(options[:apps], options[:command], options[:rails], options[:sandbox]).process
|
18
18
|
end
|
19
19
|
|
20
20
|
desc "config_vars", "Interact with the config(env) variables on Heroku apps"
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require_relative "
|
3
|
+
require_relative "../base"
|
4
4
|
|
5
5
|
module Neetob
|
6
6
|
class CLI
|
7
7
|
module Heroku
|
8
8
|
module ConfigVars
|
9
|
-
class Base < CLI::Base
|
9
|
+
class Base < CLI::Heroku::Base
|
10
10
|
attr_accessor :client
|
11
11
|
|
12
12
|
def initialize
|
@@ -18,14 +18,14 @@ module Neetob
|
|
18
18
|
option :keys, type: :array, desc: "Array of config vars that needs to be listed."
|
19
19
|
option :path, type: :string, desc: "The JSON file path which has config vars that needs to be listed"
|
20
20
|
def list
|
21
|
-
List.new(options[:apps], options[:keys], options[:path], options[:sandbox]).
|
21
|
+
List.new(options[:apps], options[:keys], options[:path], options[:sandbox]).process
|
22
22
|
end
|
23
23
|
|
24
24
|
desc "audit", "Verify whether config vars set in Heroku apps matches against the conditions specified in JSON file."
|
25
25
|
option :apps, type: :array, aliases: :a, required: true, desc: "Heroku app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web-staging\""
|
26
26
|
option :path, type: :string, desc: "The JSON file path from which config vars will be compared"
|
27
27
|
def audit
|
28
|
-
Audit.new(options[:apps], options[:path], options[:sandbox]).
|
28
|
+
Audit.new(options[:apps], options[:path], options[:sandbox]).process
|
29
29
|
end
|
30
30
|
|
31
31
|
desc "upsert", "Update and insert the config vars in Heroku apps"
|
@@ -33,14 +33,14 @@ module Neetob
|
|
33
33
|
option :path, type: :string, aliases: :p, desc: "The JSON file path from which config vars will be upserted"
|
34
34
|
option :path_with_project_keys, type: :string, desc: "The JSON file path with the project names as the key containing required config vars for each project."
|
35
35
|
def upsert
|
36
|
-
Upsert.new(options[:apps], options[:path], options[:path_with_project_keys], options[:sandbox]).
|
36
|
+
Upsert.new(options[:apps], options[:path], options[:path_with_project_keys], options[:sandbox]).process
|
37
37
|
end
|
38
38
|
|
39
39
|
desc "remove", "Remove the config vars from Heroku apps"
|
40
40
|
option :apps, type: :array, aliases: :a, required: true, desc: "Heroku app names. Can be matched using the '*' wildcard. Example: \"neeto*\" \"neeto-cal-web-staging\""
|
41
41
|
option :keys, type: :array, required: true, desc: "Array of config vars to be removed."
|
42
42
|
def remove
|
43
|
-
Remove.new(options[:apps], options[:keys], options[:sandbox]).
|
43
|
+
Remove.new(options[:apps], options[:keys], options[:sandbox]).process
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
data/lib/neetob/version.rb
CHANGED
data/lib/neetob.rb
CHANGED
@@ -6,5 +6,10 @@ require_relative "neetob/exception_handler"
|
|
6
6
|
|
7
7
|
module Neetob
|
8
8
|
class Error < StandardError; end
|
9
|
-
|
9
|
+
|
10
|
+
class CommandExecutionError < Neetob::Error
|
11
|
+
def initialize(command, status_code)
|
12
|
+
super("Failed to execute: #{command} \nProcess terminated with status code: #{status_code}")
|
13
|
+
end
|
14
|
+
end
|
10
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neetob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Udai Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -187,6 +187,7 @@ files:
|
|
187
187
|
- lib/neetob/cli/heroku/access/commands.rb
|
188
188
|
- lib/neetob/cli/heroku/access/list.rb
|
189
189
|
- lib/neetob/cli/heroku/access/remove.rb
|
190
|
+
- lib/neetob/cli/heroku/base.rb
|
190
191
|
- lib/neetob/cli/heroku/commands.rb
|
191
192
|
- lib/neetob/cli/heroku/config_vars/audit.rb
|
192
193
|
- lib/neetob/cli/heroku/config_vars/base.rb
|