gitlab-triage 1.23.0 → 1.23.1

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: f64813b8d681fea2e5b23b4e53682089f4642a38037019658a3798456d219a77
4
- data.tar.gz: 626bfa2d49c630ddab0f28c032b7665a96f07a65faa9b20da3812c538f3fcb42
3
+ metadata.gz: 34fcebd4ec7d33597bb45cf4a48a9708143972b9d5c836f374f2cc629dc392a8
4
+ data.tar.gz: 48ed9e443369d98b3681d07bd83d81962a82fc5e5449c6c3198935f46a52e764
5
5
  SHA512:
6
- metadata.gz: 5114d8ccdeccf7da91c2326f0b25c8ab3fe2c478ac4a90051f0757b545a90fc7087b16f573eae22e6ca85f0c3e9ded9e3e8d9299f8aad806325edee83b72753b
7
- data.tar.gz: e03e119075fb170f5cfd424b6ec07c6739efc0975c928aeeea04c60cb01e2e89e0f596b1a84cd0d446073d0d20bcb6c9cc9bad7c65f590fd1ec9c15093b9556b
6
+ metadata.gz: d32b0e581d1067771b25a1124d591e1e084c10e042a82d20e00ac4d00346e0f386c4c0962477db98d166dab2b0e893d82cbc171f7a5e81c398d2758c6839807d
7
+ data.tar.gz: 94b2712733c583bab7bc2a4f0c7d92155f9b454a257cd8461cecb1290b4e3aef77d758fadbba1b8720f95585372d2b1c4366ed38481d013f8c19a7ae52d19f44
@@ -0,0 +1,11 @@
1
+ Before raising an issue to the GitLab issue tracker, please read through our guide for finding help to determine the best place to post:
2
+
3
+ * https://about.gitlab.com/getting-help/
4
+
5
+ If you are experiencing an issue when using GitLab.com, your first port of call should be the Community Forum. Your issue may have already been reported there by another user. Please check:
6
+
7
+ * https://forum.gitlab.com/
8
+
9
+ If you feel that your issue can be categorized as a reproducible bug or a feature proposal, please use one of the issue templates provided and include as much information as possible.
10
+
11
+ Thank you for helping to make GitLab a better product.
@@ -0,0 +1,9 @@
1
+ ## What does this MR do and why?
2
+
3
+ _Describe in detail what your merge request does and why._
4
+
5
+ <!--
6
+ Please keep this description updated with any discussion that takes place so
7
+ that reviewers can understand your intent. Keeping the description updated is
8
+ especially important if they didn't participate in the discussion.
9
+ -->
data/Gemfile CHANGED
@@ -10,6 +10,6 @@ group :test do
10
10
  end
11
11
 
12
12
  group :development, :test, :danger do
13
- gem 'gitlab-dangerfiles', '~> 2.6.1', require: false
13
+ gem 'gitlab-dangerfiles', '~> 2.11.0', require: false
14
14
  gem 'guard-rspec', '~> 4.7.3', require: false
15
15
  end
@@ -69,7 +69,9 @@ module Gitlab
69
69
  max_levels: MAX_PARENT_LOOKUP)
70
70
  raise SourceTooDeep if max_levels <= 0
71
71
 
72
- parent_id = resource.dig(:namespace, :parent_id)
72
+ # In projects, the reference to the namespace's parent ID is `namespace.parent_id`
73
+ # but in groups, the reference is directly in `parent_id`
74
+ parent_id = resource.dig(:namespace, :parent_id) || resource.dig(:parent_id)
73
75
 
74
76
  if parent_id
75
77
  root_id(
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  module Triage
5
- VERSION = '1.23.0'
5
+ VERSION = '1.23.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-triage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -149,6 +149,8 @@ files:
149
149
  - ".gitlab-ci.yml"
150
150
  - ".gitlab/CODEOWNERS"
151
151
  - ".gitlab/changelog_config.yml"
152
+ - ".gitlab/issue_templates/Default.md"
153
+ - ".gitlab/merge_request_templates/Default.md"
152
154
  - ".gitlab/merge_request_templates/Release.md"
153
155
  - ".rubocop.yml"
154
156
  - ".ruby-version"