Skip to content

Commit

Permalink
Merge pull request #146 from snyk/feat/allow-vbproj-files
Browse files Browse the repository at this point in the history
feat: allow vbproj files
  • Loading branch information
karniwl authored Nov 18, 2018
2 parents 2116f20 + e3f5961 commit 0bd21f4
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 1 deletion.
11 changes: 11 additions & 0 deletions client-templates/bitbucket-server/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,17 @@
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/projects/:project/repos/:repo/browse*/*.vbproj",
"origin": "https://${BITBUCKET_API}",
"auth": {
"scheme": "basic",
"username": "${BITBUCKET_USERNAME}",
"password": "${BITBUCKET_PASSWORD}"
}
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand Down
20 changes: 20 additions & 0 deletions client-templates/github-com/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
{
"path": "commits.*.modified.*",
"value": "*.csproj"
},
{
"path": "commits.*.added.*",
"value": "*.vbproj"
},
{
"path": "commits.*.modified.*",
"value": "*.vbproj"
}
]
},
Expand Down Expand Up @@ -360,6 +368,18 @@
"path": "/:name/:repo/:path*/*.csproj",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/repos/:name/:repo/contents/:path*/*.vbproj",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/:name/:repo/:path*/*.vbproj",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_RAW}"
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand Down
14 changes: 14 additions & 0 deletions client-templates/github-enterprise/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
{
"path": "commits.*.modified.*",
"value": "*.csproj"
},
{
"path": "commits.*.added.*",
"value": "*.vbproj"
},
{
"path": "commits.*.modified.*",
"value": "*.vbproj"
}
]
},
Expand Down Expand Up @@ -294,6 +302,12 @@
"path": "/repos/:name/:repo/contents/:path*/*.csproj",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/repos/:name/:repo/contents/:path*/*.vbproj",
"origin": "https://${GITHUB_TOKEN}@${GITHUB_API}"
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand Down
9 changes: 8 additions & 1 deletion client-templates/gitlab/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@
"path": "/api/v4/projects/:project/repository/files*/*.csproj",
"origin": "https://${GITLAB}"
},
{
"//": "used to determine the full dependency tree",
"method": "GET",
"path": "/api/v4/projects/:project/repository/files*/*.vbproj",
"origin": "https://${GITLAB}"
},
{
"//": "used to check if there's any ignore rules or existing patches",
"method": "GET",
Expand All @@ -137,7 +143,8 @@
"**/build.sbt",
"**/.snyk",
"**/packages.config",
"**/*.csproj"
"**/*.csproj",
"**/*.vbproj"
]
}
]
Expand Down

0 comments on commit 0bd21f4

Please sign in to comment.