gitlab-triage 1.44.4 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gitlab/triage/action/comment_on_summary.rb +1 -1
- data/lib/gitlab/triage/action/summarize.rb +5 -2
- data/lib/gitlab/triage/graphql_queries/query_builder.rb +1 -1
- data/lib/gitlab/triage/resource/milestone.rb +5 -5
- data/lib/gitlab/triage/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1856f27e2fd90073a787ff462f8d44dbf663e0891997a0cc47004d0744626fb5
|
4
|
+
data.tar.gz: 27c3c82f06e1d627d1a4be488a7f3f5da10f2128194e586683cbe1f25a4a4a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c12667106d68abdf922dd98a60250e3b13a50930c0a7b3e712e5ecbbf84f5bd66726af8037acdd2f9d416335d4e4c5a07c896c32d96a0f9f58f4088f23d5d77d
|
7
|
+
data.tar.gz: 40cc0873abb688baf9536d5739d1b654497caf6aad2e9bd55f693cf5af34e22cc725b4becdd6282652788e184e4305333ed366493db93c2bea82a32919205aca
|
data/Gemfile.lock
CHANGED
@@ -57,7 +57,7 @@ module Gitlab
|
|
57
57
|
post_url = UrlBuilders::UrlBuilder.new(
|
58
58
|
network_options: network.options,
|
59
59
|
source_id: summary['project_id'],
|
60
|
-
resource_type:
|
60
|
+
resource_type: summary['type'],
|
61
61
|
resource_id: summary['iid'],
|
62
62
|
sub_resource_type: sub_resource_type
|
63
63
|
).build
|
@@ -6,6 +6,8 @@ module Gitlab
|
|
6
6
|
module Triage
|
7
7
|
module Action
|
8
8
|
class Summarize < Base
|
9
|
+
SUMMARY_RESOURCE_TYPE = 'issues'
|
10
|
+
|
9
11
|
class Dry < Summarize
|
10
12
|
private
|
11
13
|
|
@@ -13,7 +15,8 @@ module Gitlab
|
|
13
15
|
policy.summary = {
|
14
16
|
web_url: '[the-created-issue-url]',
|
15
17
|
project_id: 'some-id',
|
16
|
-
iid: 'some-iid'
|
18
|
+
iid: 'some-iid',
|
19
|
+
type: SUMMARY_RESOURCE_TYPE
|
17
20
|
}.with_indifferent_access
|
18
21
|
|
19
22
|
if group_summary_without_destination?
|
@@ -62,7 +65,7 @@ module Gitlab
|
|
62
65
|
post_url = UrlBuilders::UrlBuilder.new(
|
63
66
|
network_options: network.options,
|
64
67
|
source_id: destination,
|
65
|
-
resource_type:
|
68
|
+
resource_type: SUMMARY_RESOURCE_TYPE
|
66
69
|
).build
|
67
70
|
|
68
71
|
puts Gitlab::Triage::UI.debug "post_issue_url: #{post_url}" if network.options.debug
|
@@ -76,6 +76,11 @@ module Gitlab
|
|
76
76
|
started?(today) && !expired?(today)
|
77
77
|
end
|
78
78
|
|
79
|
+
def all_active_with_start_date
|
80
|
+
@all_active_with_start_date ||=
|
81
|
+
all_active.select(&:start_date).sort_by(&:start_date)
|
82
|
+
end
|
83
|
+
|
79
84
|
private
|
80
85
|
|
81
86
|
def current_index
|
@@ -83,11 +88,6 @@ module Gitlab
|
|
83
88
|
.index { |milestone| milestone.id == id }
|
84
89
|
end
|
85
90
|
|
86
|
-
def all_active_with_start_date
|
87
|
-
@all_active_with_start_date ||=
|
88
|
-
all_active.select(&:start_date).sort_by(&:start_date)
|
89
|
-
end
|
90
|
-
|
91
91
|
def all_active
|
92
92
|
@all_active ||=
|
93
93
|
network
|
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.
|
4
|
+
version: 1.45.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -339,7 +339,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
339
|
- !ruby/object:Gem::Version
|
340
340
|
version: '0'
|
341
341
|
requirements: []
|
342
|
-
rubygems_version: 3.
|
342
|
+
rubygems_version: 3.5.22
|
343
343
|
signing_key:
|
344
344
|
specification_version: 4
|
345
345
|
summary: GitLab triage automation project.
|