Skip to content

Commit

Permalink
Exclude forks from the list of the analyzed repo
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Dec 18, 2023
1 parent 8a70b9d commit 1605b15
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 106 deletions.
6 changes: 4 additions & 2 deletions scripts/generate-projects-json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ function join_array {
readarray repositories < <(curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/wiremock/repos?per_page=100 \
-H "Authorization: Bearer $(cat settings/api-token.txt)" \
"https://api.github.com/orgs/wiremock/repos?type=sources&per_page=100" \
| jq --raw-output '.[].name')

echo "${repositories[@]}" > settings/projects.lock

repoUrls=()
gitUrls=()
for repo in "${repositories[@]}"
Expand All @@ -30,4 +33,3 @@ git_repos=$(join_array ",\n " ${gitUrls[@]})
github_repos=$(join_array ",\n " ${repoUrls[@]})

awk -v git="$git_repos" -v github="$github_repos" '{gsub(/\${GIT_REPOS}/,git); gsub(/\${GITHUB_REPOS}/,github)}2' settings/projects.json.template > settings/projects.json

104 changes: 0 additions & 104 deletions settings/projects.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,15 @@
"https://github.com/wiremock/python-wiremock.git",
"https://github.com/wiremock/wiremock-cloud-demo-app.git",
"https://github.com/wiremock/robotframework-wiremock.git",
"https://github.com/wiremock/wiremock-php.git",
"https://github.com/wiremock/wiremock-js.git",
"https://github.com/wiremock/wiremock_mapper.git",
"https://github.com/wiremock/clj-wiremock.git",
"https://github.com/wiremock/wiremock-extension.git",
"https://github.com/wiremock/swagwire.git",
"https://github.com/wiremock/spock-wiremock-extension.git",
"https://github.com/wiremock/WiremockClient.git",
"https://github.com/wiremock/wiremock-resilience-examples.git",
"https://github.com/wiremock/wiremock-performance-tests.git",
"https://github.com/wiremock/wiremock-npm.git",
"https://github.com/wiremock/helm-charts.git",
"https://github.com/wiremock/kotlin-wiremock.git",
"https://github.com/wiremock/go-wiremock.git",
"https://github.com/wiremock/JsonUnit.git",
"https://github.com/wiremock/wiremock.org.git",
"https://github.com/wiremock/wiremock-studio-kubernetes-example.git",
"https://github.com/wiremock/wiremock-connect-problem.git",
"https://github.com/wiremock/elements.git",
"https://github.com/wiremock/docs.wiremock.io-website.git",
"https://github.com/wiremock/ember-simple-auth-oidc.git",
"https://github.com/wiremock/api-template-library.git",
"https://github.com/wiremock/library.wiremock.org-sources.git",
"https://github.com/wiremock/.github.git",
Expand All @@ -39,7 +27,6 @@
"https://github.com/wiremock/ecosystem.git",
"https://github.com/wiremock/wiremock-testcontainers-java.git",
"https://github.com/wiremock/wiremock-cloud-postman-collections.git",
"https://github.com/wiremock/swagger-parser.git",
"https://github.com/wiremock/grpc-wiremock.git",
"https://github.com/wiremock/wiremock-templates-demo.git",
"https://github.com/wiremock/spec.git",
Expand All @@ -65,27 +52,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -94,7 +69,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -120,27 +94,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -149,7 +111,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -175,27 +136,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -204,7 +153,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -230,27 +178,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -259,7 +195,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -285,27 +220,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -314,7 +237,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -340,27 +262,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -369,7 +279,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand All @@ -395,27 +304,15 @@
"https://github.com/wiremock/python-wiremock",
"https://github.com/wiremock/wiremock-cloud-demo-app",
"https://github.com/wiremock/robotframework-wiremock",
"https://github.com/wiremock/wiremock-php",
"https://github.com/wiremock/wiremock-js",
"https://github.com/wiremock/wiremock_mapper",
"https://github.com/wiremock/clj-wiremock",
"https://github.com/wiremock/wiremock-extension",
"https://github.com/wiremock/swagwire",
"https://github.com/wiremock/spock-wiremock-extension",
"https://github.com/wiremock/WiremockClient",
"https://github.com/wiremock/wiremock-resilience-examples",
"https://github.com/wiremock/wiremock-performance-tests",
"https://github.com/wiremock/wiremock-npm",
"https://github.com/wiremock/helm-charts",
"https://github.com/wiremock/kotlin-wiremock",
"https://github.com/wiremock/go-wiremock",
"https://github.com/wiremock/JsonUnit",
"https://github.com/wiremock/wiremock.org",
"https://github.com/wiremock/wiremock-studio-kubernetes-example",
"https://github.com/wiremock/wiremock-connect-problem",
"https://github.com/wiremock/elements",
"https://github.com/wiremock/docs.wiremock.io-website",
"https://github.com/wiremock/ember-simple-auth-oidc",
"https://github.com/wiremock/api-template-library",
"https://github.com/wiremock/library.wiremock.org-sources",
"https://github.com/wiremock/.github",
Expand All @@ -424,7 +321,6 @@
"https://github.com/wiremock/ecosystem",
"https://github.com/wiremock/wiremock-testcontainers-java",
"https://github.com/wiremock/wiremock-cloud-postman-collections",
"https://github.com/wiremock/swagger-parser",
"https://github.com/wiremock/grpc-wiremock",
"https://github.com/wiremock/wiremock-templates-demo",
"https://github.com/wiremock/spec",
Expand Down
41 changes: 41 additions & 0 deletions settings/projects.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
wiremock
wiremock-docker
wiremock-webhooks-extension
python-wiremock
wiremock-cloud-demo-app
robotframework-wiremock
wiremock-resilience-examples
wiremock-performance-tests
wiremock-npm
helm-charts
kotlin-wiremock
go-wiremock
wiremock.org
wiremock-studio-kubernetes-example
docs.wiremock.io-website
api-template-library
library.wiremock.org-sources
.github
community
wiremock-graphql-extension
ecosystem
wiremock-testcontainers-java
wiremock-cloud-postman-collections
grpc-wiremock
wiremock-templates-demo
spec
wiremock-state-extension
wiremock-testcontainers-go
com.github.tomakehurst-relocation
wiremock-http4k
wiremock-grpc-extension
wiremock-grpc-demos
wiremock-extension-template
wiremock-testcontainers-node
wiremock-otel-extension
components-site
wiremock-faker-extension
wiremock-payments-demo-app
gradle-wiremock-extension-plugins
wiremock-quarkus-devservice-demo

0 comments on commit 1605b15

Please sign in to comment.