Skip to content

Commit c42611a

Browse files
committed
feat: add support for python custom filenames
1 parent a1a08e3 commit c42611a

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

client-templates/bitbucket-server/accept.json.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
{
176176
"//": "used to determine the full dependency tree",
177177
"method": "GET",
178-
"path": "/projects/:project/repos/:repo/browse*/requirements.txt",
178+
"path": "/projects/:project/repos/:repo/browse*/*req*.txt",
179179
"origin": "https://${BITBUCKET_API}",
180180
"auth": {
181181
"scheme": "basic",
@@ -186,7 +186,7 @@
186186
{
187187
"//": "used to determine the full dependency tree",
188188
"method": "GET",
189-
"path": "/projects/:project/repos/:repo/browse*%2Frequirements.txt",
189+
"path": "/projects/:project/repos/:repo/browse*%2F*req*.txt",
190190
"origin": "https://${BITBUCKET_API}",
191191
"auth": {
192192
"scheme": "basic",

client-templates/github-com/accept.json.sample

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
},
3838
{
3939
"path": "commits.*.added.*",
40-
"value": "requirements.txt"
40+
"value": "*req*.txt"
4141
},
4242
{
4343
"path": "commits.*.modified.*",
44-
"value": "requirements.txt"
44+
"value": "*req*.txt"
4545
},
4646
{
4747
"path": "commits.*.added.*",
@@ -430,25 +430,25 @@
430430
{
431431
"//": "used to determine the full dependency tree",
432432
"method": "GET",
433-
"path": "/repos/:name/:repo/contents/:path*/requirements.txt",
433+
"path": "/repos/:name/:repo/contents/:path*/*req*.txt",
434434
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
435435
},
436436
{
437437
"//": "used to determine the full dependency tree",
438438
"method": "GET",
439-
"path": "/repos/:name/:repo/contents/:path*%2Frequirements.txt",
439+
"path": "/repos/:name/:repo/contents/:path*%2F*req*.txt",
440440
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
441441
},
442442
{
443443
"//": "used to determine the full dependency tree",
444444
"method": "GET",
445-
"path": "/:name/:repo/:path*/requirements.txt",
445+
"path": "/:name/:repo/:path*/*req*.txt",
446446
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
447447
},
448448
{
449449
"//": "used to determine the full dependency tree",
450450
"method": "GET",
451-
"path": "/:name/:repo/:path*%2Frequirements.txt",
451+
"path": "/:name/:repo/:path*%2F*req*.txt",
452452
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
453453
},
454454
{

client-templates/github-enterprise/accept.json.sample

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
},
3838
{
3939
"path": "commits.*.added.*",
40-
"value": "requirements.txt"
40+
"value": "*req*.txt"
4141
},
4242
{
4343
"path": "commits.*.modified.*",
44-
"value": "requirements.txt"
44+
"value": "*req*.txt"
4545
},
4646
{
4747
"path": "commits.*.added.*",
@@ -371,13 +371,13 @@
371371
{
372372
"//": "used to determine the full dependency tree",
373373
"method": "GET",
374-
"path": "/repos/:name/:repo/contents/:path*/requirements.txt",
374+
"path": "/repos/:name/:repo/contents/:path*/*req*.txt",
375375
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
376376
},
377377
{
378378
"//": "used to determine the full dependency tree",
379379
"method": "GET",
380-
"path": "/repos/:name/:repo/contents/:path*%2Frequirements.txt",
380+
"path": "/repos/:name/:repo/contents/:path*%2F*req*.txt",
381381
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
382382
},
383383
{

client-templates/gitlab/accept.json.sample

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@
114114
{
115115
"//": "used to determine the full dependency tree",
116116
"method": "GET",
117-
"path": "/api/v4/projects/:project/repository/files*/requirements.txt",
117+
"path": "/api/v4/projects/:project/repository/files*/*req*.txt",
118118
"origin": "https://${GITLAB}"
119119
},
120120
{
121121
"//": "used to determine the full dependency tree",
122122
"method": "GET",
123-
"path": "/api/v4/projects/:project/repository/files*%2Frequirements.txt",
123+
"path": "/api/v4/projects/:project/repository/files*%2F*req*.txt",
124124
"origin": "https://${GITLAB}"
125125
},
126126
{
@@ -324,8 +324,8 @@
324324
"**%2FGemfile.lock",
325325
"**/pom.xml",
326326
"**%2Fpom.xml",
327-
"**/requirements.txt",
328-
"**%2Frequirements.txt",
327+
"**/*req*.txt",
328+
"**%2F*req*.txt",
329329
"**/build.gradle",
330330
"**%2Fbuild.gradle",
331331
"**/build.sbt",

0 commit comments

Comments
 (0)