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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed41146b9e4ce0dd2ca67b66d77b9e2e1ee759a69bb779ab4e191ea62da0ce8d
4
- data.tar.gz: '08820efc4daf2375365d6f107c90a88b91d364bfe6d61b88dfef00be9dd60f48'
3
+ metadata.gz: 6ce1b302e4f9bdf8f62fca55537f0171a48963a224c961c3638dcf340dd2afd1
4
+ data.tar.gz: 1c9bd7a3c53cd44b87b66c819352f014cb0a52b0b73d3e5fdcfb43148d6b9902
5
5
  SHA512:
6
- metadata.gz: 558267a6462668e02a63354ec359615deb2d92f09b9b9b91dd7375621c9f9ad2dae97945d9db78a7be1d4a4c013b25479b9ae5ecb5e2338d620a3f1566674bae
7
- data.tar.gz: ee676a6f55d4621c783ff1b8ee9a65b64957b6066b40fba00f256efa3e69fbd97810784163accccc36aec760cf2f06d9074314d8172798dfc6c9f891d48140b6
6
+ metadata.gz: 16a45922adaae6452d113425007fc34369445ee2f3a729865ab68c519bdf1c649049b508a54f3c55e10e9c069cff734e76560b3ca9271548c98e9b6d854b712d
7
+ data.tar.gz: 7f68cbd5bece764cd868f513e86e7b2776049de5da362515f30922b302607cffa11015f9c6e6e0730953205eda9f299ecca29d098ca717f2d5b83fe16f0c9711
data/.neetoci/default.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  version: v1.0
2
+ plan: standard-2
2
3
  name: neetob
3
4
  global_job_config:
4
5
  setup:
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.4.8)
4
+ neetob (0.4.10)
5
5
  brakeman (~> 5.0)
6
6
  chronic
7
7
  dotenv (~> 2.8.1)
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
@@ -1,6 +1,6 @@
1
1
  [
2
2
  {
3
- "name": "minor",
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
  ]
@@ -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
- matching_apps = all_neeto_repos ? all_available_apps : match_apps(apps || ["*"], all_available_apps)
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|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.4.8"
4
+ VERSION = "0.4.10"
5
5
  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.8
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-07-14 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor