neetob 0.4.8 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.neetoci/default.yml +1 -0
- data/CHANGELOG.md +14 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -0
- data/data/github-labels.json +6 -1
- data/lib/neetob/cli/base.rb +16 -1
- data/lib/neetob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ce1b302e4f9bdf8f62fca55537f0171a48963a224c961c3638dcf340dd2afd1
|
4
|
+
data.tar.gz: 1c9bd7a3c53cd44b87b66c819352f014cb0a52b0b73d3e5fdcfb43148d6b9902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16a45922adaae6452d113425007fc34369445ee2f3a729865ab68c519bdf1c649049b508a54f3c55e10e9c069cff734e76560b3ca9271548c98e9b6d854b712d
|
7
|
+
data.tar.gz: 7f68cbd5bece764cd868f513e86e7b2776049de5da362515f30922b302607cffa11015f9c6e6e0730953205eda9f299ecca29d098ca717f2d5b83fe16f0c9711
|
data/.neetoci/default.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
### [0.4.10](https://www.github.com/bigbinary/neetob/compare/v0.4.9...v0.4.10) (2023-08-23)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Added engines option for repos query ([#288](https://www.github.com/bigbinary/neetob/issues/288)) ([3f1dbcb](https://www.github.com/bigbinary/neetob/commit/3f1dbcb79ff71c636077e0b77653f96a9a60ed94))
|
9
|
+
|
10
|
+
### [0.4.9](https://www.github.com/bigbinary/neetob/compare/v0.4.8...v0.4.9) (2023-08-21)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* Update github-labels.json ([#284](https://www.github.com/bigbinary/neetob/issues/284)) ([9919575](https://www.github.com/bigbinary/neetob/commit/9919575c2fd81269162409e9f6f1f878bb42a191))
|
16
|
+
|
3
17
|
### [0.4.8](https://www.github.com/bigbinary/neetob/compare/v0.4.7...v0.4.8) (2023-07-06)
|
4
18
|
|
5
19
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -116,6 +116,9 @@ neetob github issues list --count --label bug --state open --assignee none \
|
|
116
116
|
# Creates an issue in Github repos
|
117
117
|
# You will be prompted to enter issue title, description etc.
|
118
118
|
neetob github issues create --repos "neeto-*-web"
|
119
|
+
|
120
|
+
# Creates an issue in engine repos
|
121
|
+
neetob github issues create --repos "engines"
|
119
122
|
```
|
120
123
|
|
121
124
|
### Labels
|
data/data/github-labels.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[
|
2
2
|
{
|
3
|
-
"name": "
|
3
|
+
"name": "small",
|
4
4
|
"description": "Estimate - less than 2 hours",
|
5
5
|
"color": "B0C4DE"
|
6
6
|
},
|
@@ -249,4 +249,9 @@
|
|
249
249
|
"description": "Further discussion is required to work on this issue. Better we should move it to neetoPlanner's roadmap.",
|
250
250
|
"color": "A62F71"
|
251
251
|
},
|
252
|
+
{
|
253
|
+
"name": "consistency",
|
254
|
+
"description": "This is an issue related to inconsistency.",
|
255
|
+
"color": "E7DC0E"
|
256
|
+
}
|
252
257
|
]
|
data/lib/neetob/cli/base.rb
CHANGED
@@ -22,10 +22,19 @@ module Neetob
|
|
22
22
|
def find_all_matching_apps_or_repos(apps, platform_name, sandbox_mode, quiet = false)
|
23
23
|
all_neeto_repos = apps == ["all"]
|
24
24
|
inform_about_current_working_mode(sandbox_mode, quiet)
|
25
|
+
|
25
26
|
all_available_apps = sandbox_mode ?
|
26
27
|
testing_apps(platform_name) :
|
27
28
|
build_app_list_from_neeto_compliance(platform_name, all_neeto_repos)
|
28
|
-
|
29
|
+
|
30
|
+
matching_apps = if apps == ["all"]
|
31
|
+
all_available_apps
|
32
|
+
elsif apps == ["engines"]
|
33
|
+
all_engine_repos(sandbox_mode)
|
34
|
+
else
|
35
|
+
match_apps(apps || ["*"], all_available_apps)
|
36
|
+
end
|
37
|
+
|
29
38
|
if matching_apps.length == 0
|
30
39
|
error_msg = sandbox_mode ?
|
31
40
|
"Only \"neeto-dummy\" app is available for sandbox mode. Remove the \"--sandbox\" flag to run the given command for all the neeto applications." :
|
@@ -37,6 +46,12 @@ module Neetob
|
|
37
46
|
matching_apps
|
38
47
|
end
|
39
48
|
|
49
|
+
def all_engine_repos(sandbox_mode)
|
50
|
+
sandbox_mode ?
|
51
|
+
testing_apps(:github) :
|
52
|
+
NeetoCompliance::NeetoRepos.nanos_backend
|
53
|
+
end
|
54
|
+
|
40
55
|
def match_apps(required_apps, available_apps)
|
41
56
|
apps = required_apps&.map { |app| Regexp.new "#{app.gsub("*", "[-a-zA-Z0-9]*")}" }
|
42
57
|
available_apps.select do |available_app|
|
data/lib/neetob/version.rb
CHANGED
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.10
|
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-
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|