neetob 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db01d1b2016e6c59d67ae056f53722b919ff42d02a90cad6870c2899dff4936f
4
- data.tar.gz: e7f7f4d09faa15c778012285c6db15cc257b588951b8b2fdd1946b305131dd75
3
+ metadata.gz: f81625c823e05e9fcddcb86381a5730e3cc2c03acf3f137803a0cbb74d1ee220
4
+ data.tar.gz: 9a127257a9793d42dc5aa8e3bc7d59356236152f606e262d12ed87a2a937b7ed
5
5
  SHA512:
6
- metadata.gz: e004714a7fc30663a27cdd3c1a0268a6b33ad54476724897a40b10425fa36cedcafb62435a4a97bd8701ec594701b159e60717839b6a20126105777375c1cc55
7
- data.tar.gz: 373e1262f481fa4a0a5126c15c75ff188830723def4273713710e122df18ecf3df8487075733db6af94ab30b62959dcc3e50b43c4694a5199807d13817f124ea
6
+ metadata.gz: fab4a057fc1341c2bd0827396e224b632dd7aea72c6627a0b06679efb8e4e2bac704d6f22542ea1afc1eb2bfdb678efc4749a135e77f9df0f36b7cfa25feabe8
7
+ data.tar.gz: 1cc41989ec73d0cd004b953dc21598e66ec01ae3e39c18a9ed501b172b174d317bc51492a507b0f11e294b68ae86867cb60244cf1d3fd76511af0c794cb8797b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### [0.2.2](https://www.github.com/bigbinary/neetob/compare/v0.2.1...v0.2.2) (2023-03-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Fixed update label command to ignore repos that doesn't have the specified label. ([#199](https://www.github.com/bigbinary/neetob/issues/199)) ([bc98c0d](https://www.github.com/bigbinary/neetob/commit/bc98c0dbd3691e66b8e2c161788f3f3a6ff6b977))
9
+ * Updated docs for gem release ([#204](https://www.github.com/bigbinary/neetob/issues/204)) ([1a93745](https://www.github.com/bigbinary/neetob/commit/1a937450b7a49f81c0e45ad7ca235ffe66a0a1e2))
10
+
11
+ ### [0.2.1](https://www.github.com/bigbinary/neetob/compare/v0.2.0...v0.2.1) (2023-03-06)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * Fixed outdated ruby version error to be more meaningful. ([#198](https://www.github.com/bigbinary/neetob/issues/198)) ([025b16d](https://www.github.com/bigbinary/neetob/commit/025b16d6b999dad45bb8baf8af8693c8a5260efa))
17
+
3
18
  ## [0.2.0](https://www.github.com/bigbinary/neetob/compare/v0.1.5...v0.2.0) (2023-03-01)
4
19
 
5
20
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.2.0)
4
+ neetob (0.2.2)
5
5
  dotenv (~> 2.8.1)
6
6
  launchy (~> 2.5.0)
7
7
  octokit (~> 4.0)
data/README.md CHANGED
@@ -7,6 +7,7 @@ The `neetob` gem gives different commands for interacting with Github repos, Her
7
7
  1. [Usage](#usage)
8
8
  1. [Installing neetob for use](#installing-neetob-for-use)
9
9
  2. [For development](#for-development)
10
+ 3. [Gem release](#gem-release)
10
11
  2. [Source of truth](#source-of-truth)
11
12
  3. [Working with GitHub](#working-with-github)
12
13
  1. [Issues](#issues)
@@ -115,6 +116,11 @@ For example:
115
116
 
116
117
  ![Commit message update](images/commit-message-update.png)
117
118
 
119
+
120
+ ### Gem release
121
+
122
+ When a commit is added to the `main` branch [release](.github/workflows/release.yml) Github action checks that commit for the [conventional commit message](#conventional-commit-messages). If a proper suffix like `fix:`, `feat:`, etc is used in that commit message then the Github action will create a new PR with the updated version and changelog. The version and changelog for the `neetob` gem are updated automatically by the Github action using the commit message. When we merge this newly created PR by the Github action into the main branch, an updated Gem is released to the [rubygems](https://rubygems.org).
123
+
118
124
  ## Source of truth
119
125
 
120
126
  This [list of repos](https://github.com/bigbinary/neeto-compliance/blob/main/data/neeto_repos.json) is used as the "source of truth".
data/bookmarks.md CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  [Engineer needed](https://github.com/issues?q=is%3Aopen+is%3Aissue+org%3Abigbinary+label%3Aengineer-needed)
6
6
 
7
+ - [ ] neeto-auth-web
7
8
  - [ ] neeto-chat-web
8
9
  - [ ] neeto-desk-web
9
10
  - [ ] neeto-kb-web
@@ -1,4 +1,9 @@
1
1
  [
2
+ {
3
+ "name": "minor",
4
+ "description": "Estimate - less than 2 hours",
5
+ "color": "B0C4DE"
6
+ },
2
7
  {
3
8
  "name": "0.25D",
4
9
  "description": "Estimate - 2 hours",
@@ -89,6 +94,11 @@
89
94
  "description": "Cypress tests have been triggered.",
90
95
  "color": "FEF2C0"
91
96
  },
97
+ {
98
+ "name": "caught-by-cypress",
99
+ "description": "Cypress tests have caught the bug.",
100
+ "color": "FEF2C0"
101
+ },
92
102
  {
93
103
  "name": "documentation",
94
104
  "description": "Improvements or additions to documentation.",
@@ -111,17 +121,27 @@
111
121
  },
112
122
  {
113
123
  "name": "frontend",
114
- "description": "Deals with JS(React or JS configs etc) code majorly. It can also include UI fixes without the help of the UI team.",
124
+ "description": "Deals with React/JS code majorly. It can also include UI fixes without the help of the UI team.",
115
125
  "color": "C2E0C6"
116
126
  },
117
- {
127
+ {
118
128
  "name": "UI",
119
- "description": "UI/CSS work needed.",
129
+ "description": "UI issue.",
120
130
  "color": "8250df"
121
131
  },
122
132
  {
133
+ "name": "UI-team",
134
+ "description": "UI help is needed from UI team.",
135
+ "color": "8250df"
136
+ },
137
+ {
123
138
  "name": "UX",
124
- "description": "UX design needed.",
139
+ "description": "UX issue.",
140
+ "color": "366FB9"
141
+ },
142
+ {
143
+ "name": "UX-team",
144
+ "description": "UX help is needed from UX-team.",
125
145
  "color": "366FB9"
126
146
  },
127
147
  {
@@ -156,7 +176,7 @@
156
176
  },
157
177
  {
158
178
  "name": "on-hold",
159
- "description": "The issue is on hold as per provided reason. The reason should be specified as a comment before putting the issue/PR on-hold.",
179
+ "description": "The reason should be specified as a comment before putting the issue/PR on-hold.",
160
180
  "color": "E54D82"
161
181
  },
162
182
  {
@@ -208,6 +228,11 @@
208
228
  "name": "manual-qa-needed",
209
229
  "description": "Manual QA is needed to verify the changes.",
210
230
  "color": "CCDDCD"
231
+ },
232
+ {
233
+ "name": "manual-qa-team",
234
+ "description": "Manual QA team needs to look into this issue.",
235
+ "color": "CCDDCD"
211
236
  },
212
237
  {
213
238
  "name": "manual-qa-completed",
data/exe/neetob CHANGED
@@ -4,6 +4,12 @@
4
4
  require "dotenv"
5
5
  require "bundler/setup"
6
6
 
7
+ MIN_RUBY_VERSION = File.read(".ruby-version").strip
8
+
9
+ if RUBY_VERSION < MIN_RUBY_VERSION
10
+ raise RuntimeError, "neetob requires Ruby version of #{MIN_RUBY_VERSION} or higher"
11
+ end
12
+
7
13
  Dotenv.load(
8
14
  File.expand_path("../.env", __dir__)
9
15
  )
@@ -24,9 +24,11 @@ module Neetob
24
24
  check_for_apps_and_all_neeto_repos_option(apps, all_neeto_repos)
25
25
  matching_apps = find_all_matching_apps(apps, :github, sandbox, false, all_neeto_repos)
26
26
  matching_apps.each do |app|
27
- ui.info("\n Updating label for #{app} repo \n")
27
+ ui.info("\nUpdating label for #{app} repo \n")
28
28
  begin
29
29
  update_label!(app, old_name, new_name)
30
+ rescue Octokit::NotFound
31
+ ui.say("Ignoring update for #{app} repo as it doesn't have the \"#{old_name}\" label.")
30
32
  rescue StandardError => e
31
33
  ExceptionHandler.new(e).process
32
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.2"
5
5
  end
data/neetob.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "This gem gives different commands for interacting with Github and Heroku instances of existing neeto repos."
13
13
  spec.homepage = "https://github.com/bigbinary/neetob"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 3.0.0"
15
+ spec.required_ruby_version = ">= 3.1.3"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = "https://github.com/bigbinary/neetob"
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.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-01 00:00:00.000000000 Z
11
+ date: 2023-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
- version: 3.0.0
178
+ version: 3.1.3
179
179
  required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  requirements:
181
181
  - - ">="