Skip to content

Commit 8a4d292

Browse files
authored
Merge pull request #38 from dsp-testing/add-group-by-dependency-name-testing
feat: Add group-by: dependency-name test directories
2 parents 0f6215c + 4ee9561 commit 8a4d292

File tree

11 files changed

+3151
-0
lines changed

11 files changed

+3151
-0
lines changed

.github/dependabot.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,46 @@ updates:
5151
- "aws*"
5252
- "rails"
5353
update-types: ["minor", "patch"]
54+
55+
# === group-by: dependency-name testing ===
56+
57+
# Test 1: group-by as sole rule (bundler, single directory)
58+
- package-ecosystem: "bundler"
59+
directory: "/group-by/bundler-standalone"
60+
schedule:
61+
interval: "weekly"
62+
groups:
63+
per-dependency:
64+
group-by: dependency-name
65+
66+
# Test 2: group-by combined with patterns (bundler, single directory)
67+
- package-ecosystem: "bundler"
68+
directory: "/group-by/bundler-with-patterns"
69+
schedule:
70+
interval: "weekly"
71+
groups:
72+
filtered-per-dependency:
73+
patterns:
74+
- "aws*"
75+
- "rails"
76+
group-by: dependency-name
77+
78+
# Test 3: group-by with multi-directory (bundler)
79+
- package-ecosystem: "bundler"
80+
directories:
81+
- "/group-by/bundler-multi-dir/app-a"
82+
- "/group-by/bundler-multi-dir/app-b"
83+
schedule:
84+
interval: "weekly"
85+
groups:
86+
per-dependency:
87+
group-by: dependency-name
88+
89+
# Test 4: group-by as sole rule (npm, single directory)
90+
- package-ecosystem: "npm"
91+
directory: "/group-by/npm-standalone"
92+
schedule:
93+
interval: "weekly"
94+
groups:
95+
per-dependency:
96+
group-by: dependency-name
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
ruby '>= 3.1.0'
6+
7+
# Shared dependencies for grouped updates testing
8+
# Using intentionally outdated versions to trigger Dependabot updates
9+
10+
# Rails framework (7.0.8.3 is latest 7.0.x)
11+
gem 'rails', '7.0.4'
12+
13+
# AWS SDK gems (grouped under "aws*" pattern)
14+
# Latest: aws-sdk-core 3.241.x, aws-sdk-s3 1.213.x, aws-partitions 1.1211.x
15+
# Using older but compatible versions
16+
gem 'aws-sdk-core', '3.203.0'
17+
gem 'aws-sdk-s3', '1.160.0'
18+
gem 'aws-partitions', '1.950.0'
Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (7.0.4)
5+
actionpack (= 7.0.4)
6+
activesupport (= 7.0.4)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (7.0.4)
10+
actionpack (= 7.0.4)
11+
activejob (= 7.0.4)
12+
activerecord (= 7.0.4)
13+
activestorage (= 7.0.4)
14+
activesupport (= 7.0.4)
15+
mail (>= 2.7.1)
16+
net-imap
17+
net-pop
18+
net-smtp
19+
actionmailer (7.0.4)
20+
actionpack (= 7.0.4)
21+
actionview (= 7.0.4)
22+
activejob (= 7.0.4)
23+
activesupport (= 7.0.4)
24+
mail (~> 2.5, >= 2.5.4)
25+
net-imap
26+
net-pop
27+
net-smtp
28+
rails-dom-testing (~> 2.0)
29+
actionpack (7.0.4)
30+
actionview (= 7.0.4)
31+
activesupport (= 7.0.4)
32+
rack (~> 2.0, >= 2.2.0)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.0)
35+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36+
actiontext (7.0.4)
37+
actionpack (= 7.0.4)
38+
activerecord (= 7.0.4)
39+
activestorage (= 7.0.4)
40+
activesupport (= 7.0.4)
41+
globalid (>= 0.6.0)
42+
nokogiri (>= 1.8.5)
43+
actionview (7.0.4)
44+
activesupport (= 7.0.4)
45+
builder (~> 3.1)
46+
erubi (~> 1.4)
47+
rails-dom-testing (~> 2.0)
48+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49+
activejob (7.0.4)
50+
activesupport (= 7.0.4)
51+
globalid (>= 0.3.6)
52+
activemodel (7.0.4)
53+
activesupport (= 7.0.4)
54+
activerecord (7.0.4)
55+
activemodel (= 7.0.4)
56+
activesupport (= 7.0.4)
57+
activestorage (7.0.4)
58+
actionpack (= 7.0.4)
59+
activejob (= 7.0.4)
60+
activerecord (= 7.0.4)
61+
activesupport (= 7.0.4)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.4)
65+
concurrent-ruby (~> 1.0, >= 1.0.2)
66+
i18n (>= 1.6, < 2)
67+
minitest (>= 5.1)
68+
tzinfo (~> 2.0)
69+
aws-eventstream (1.4.0)
70+
aws-partitions (1.950.0)
71+
aws-sdk-core (3.203.0)
72+
aws-eventstream (~> 1, >= 1.3.0)
73+
aws-partitions (~> 1, >= 1.651.0)
74+
aws-sigv4 (~> 1.9)
75+
jmespath (~> 1, >= 1.6.1)
76+
aws-sdk-kms (1.90.0)
77+
aws-sdk-core (~> 3, >= 3.203.0)
78+
aws-sigv4 (~> 1.5)
79+
aws-sdk-s3 (1.160.0)
80+
aws-sdk-core (~> 3, >= 3.203.0)
81+
aws-sdk-kms (~> 1)
82+
aws-sigv4 (~> 1.5)
83+
aws-sigv4 (1.12.1)
84+
aws-eventstream (~> 1, >= 1.0.2)
85+
base64 (0.3.0)
86+
builder (3.3.0)
87+
concurrent-ruby (1.3.6)
88+
crass (1.0.6)
89+
date (3.5.1)
90+
erubi (1.13.1)
91+
globalid (1.3.0)
92+
activesupport (>= 6.1)
93+
i18n (1.14.8)
94+
concurrent-ruby (~> 1.0)
95+
jmespath (1.6.2)
96+
logger (1.7.0)
97+
loofah (2.25.0)
98+
crass (~> 1.0.2)
99+
nokogiri (>= 1.12.0)
100+
mail (2.9.0)
101+
logger
102+
mini_mime (>= 0.1.1)
103+
net-imap
104+
net-pop
105+
net-smtp
106+
marcel (1.1.0)
107+
method_source (1.1.0)
108+
mini_mime (1.1.5)
109+
minitest (6.0.1)
110+
prism (~> 1.5)
111+
net-imap (0.6.2)
112+
date
113+
net-protocol
114+
net-pop (0.1.2)
115+
net-protocol
116+
net-protocol (0.2.2)
117+
timeout
118+
net-smtp (0.5.1)
119+
net-protocol
120+
nio4r (2.7.5)
121+
nokogiri (1.19.0-aarch64-linux-gnu)
122+
racc (~> 1.4)
123+
nokogiri (1.19.0-aarch64-linux-musl)
124+
racc (~> 1.4)
125+
nokogiri (1.19.0-arm-linux-gnu)
126+
racc (~> 1.4)
127+
nokogiri (1.19.0-arm-linux-musl)
128+
racc (~> 1.4)
129+
nokogiri (1.19.0-arm64-darwin)
130+
racc (~> 1.4)
131+
nokogiri (1.19.0-x86_64-darwin)
132+
racc (~> 1.4)
133+
nokogiri (1.19.0-x86_64-linux-gnu)
134+
racc (~> 1.4)
135+
nokogiri (1.19.0-x86_64-linux-musl)
136+
racc (~> 1.4)
137+
prism (1.9.0)
138+
racc (1.8.1)
139+
rack (2.2.21)
140+
rack-test (2.2.0)
141+
rack (>= 1.3)
142+
rails (7.0.4)
143+
actioncable (= 7.0.4)
144+
actionmailbox (= 7.0.4)
145+
actionmailer (= 7.0.4)
146+
actionpack (= 7.0.4)
147+
actiontext (= 7.0.4)
148+
actionview (= 7.0.4)
149+
activejob (= 7.0.4)
150+
activemodel (= 7.0.4)
151+
activerecord (= 7.0.4)
152+
activestorage (= 7.0.4)
153+
activesupport (= 7.0.4)
154+
bundler (>= 1.15.0)
155+
railties (= 7.0.4)
156+
rails-dom-testing (2.3.0)
157+
activesupport (>= 5.0.0)
158+
minitest
159+
nokogiri (>= 1.6)
160+
rails-html-sanitizer (1.6.2)
161+
loofah (~> 2.21)
162+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
163+
railties (7.0.4)
164+
actionpack (= 7.0.4)
165+
activesupport (= 7.0.4)
166+
method_source
167+
rake (>= 12.2)
168+
thor (~> 1.0)
169+
zeitwerk (~> 2.5)
170+
rake (13.3.1)
171+
thor (1.5.0)
172+
timeout (0.6.0)
173+
tzinfo (2.0.6)
174+
concurrent-ruby (~> 1.0)
175+
websocket-driver (0.8.0)
176+
base64
177+
websocket-extensions (>= 0.1.0)
178+
websocket-extensions (0.1.5)
179+
zeitwerk (2.7.4)
180+
181+
PLATFORMS
182+
aarch64-linux-gnu
183+
aarch64-linux-musl
184+
arm-linux-gnu
185+
arm-linux-musl
186+
arm64-darwin
187+
x86_64-darwin
188+
x86_64-linux-gnu
189+
x86_64-linux-musl
190+
191+
DEPENDENCIES
192+
aws-partitions (= 1.950.0)
193+
aws-sdk-core (= 3.203.0)
194+
aws-sdk-s3 (= 1.160.0)
195+
rails (= 7.0.4)
196+
197+
RUBY VERSION
198+
ruby 3.4.7p58
199+
200+
BUNDLED WITH
201+
2.6.9
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
ruby '>= 3.1.0'
6+
7+
# Shared dependencies for grouped updates testing
8+
# Using intentionally outdated versions (different from app-a) to trigger Dependabot updates
9+
10+
# Rails framework (7.0.8.3 is latest 7.0.x)
11+
gem 'rails', '7.0.6'
12+
13+
# AWS SDK gems (grouped under "aws*" pattern)
14+
# Latest: aws-sdk-core 3.241.x, aws-sdk-s3 1.213.x, aws-partitions 1.1211.x
15+
# Using older but compatible versions (slightly newer than app-a)
16+
gem 'aws-sdk-core', '3.210.0'
17+
gem 'aws-sdk-s3', '1.170.0'
18+
gem 'aws-partitions', '1.995.0'

0 commit comments

Comments
 (0)