neetob 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -0
- data/lib/neetob/cli/github/labels/update.rb +3 -1
- 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: f81625c823e05e9fcddcb86381a5730e3cc2c03acf3f137803a0cbb74d1ee220
|
4
|
+
data.tar.gz: 9a127257a9793d42dc5aa8e3bc7d59356236152f606e262d12ed87a2a937b7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fab4a057fc1341c2bd0827396e224b632dd7aea72c6627a0b06679efb8e4e2bac704d6f22542ea1afc1eb2bfdb678efc4749a135e77f9df0f36b7cfa25feabe8
|
7
|
+
data.tar.gz: 1cc41989ec73d0cd004b953dc21598e66ec01ae3e39c18a9ed501b172b174d317bc51492a507b0f11e294b68ae86867cb60244cf1d3fd76511af0c794cb8797b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
3
11
|
### [0.2.1](https://www.github.com/bigbinary/neetob/compare/v0.2.0...v0.2.1) (2023-03-06)
|
4
12
|
|
5
13
|
|
data/Gemfile.lock
CHANGED
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".
|
@@ -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("\
|
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
|
data/lib/neetob/version.rb
CHANGED