Skip to content

Commit

Permalink
Teach x-ci-verify-versions to check that versions exist in the databa…
Browse files Browse the repository at this point in the history
…se (#1210)
  • Loading branch information
BillyONeal authored Jun 22, 2024
1 parent 141061e commit 779ab31
Show file tree
Hide file tree
Showing 94 changed files with 1,876 additions and 878 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "bad-git-tree",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "bad-history-name-is-bad",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "baseline-version-mismatch",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "has-local-edits",
"version": "1.0.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "malformed",
"version": "1.0",
~broken
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "mismatch-git-tree",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-mismatch",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-missing",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-scheme-mismatch",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "bad-git-tree",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "bad-history-name",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "baseline-version-mismatch",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "baseline-version-missing",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "dependency-not-in-versions-database-feature",
"version": "1.0",
"features": {
"add-things": {
"description": "an example feature that adds some things",
"dependencies": [
"no-versions"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "dependency-not-in-versions-database",
"version": "1.0",
"dependencies": [
"no-versions"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "dependency-version-not-in-versions-database-feature",
"version": "1.0",
"features": {
"add-things": {
"description": "an example feature that adds some things",
"dependencies": [
{
"name": "good",
"version>=": "0.9"
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "dependency-version-not-in-versions-database",
"version": "1.0",
"dependencies": [
{
"name": "good",
"version>=": "0.9"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "good",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "malformed",
"version": "1.1",
~broken
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$comment": "This comment changes the correct git-tree without changing the version",
"name": "mismatch-git-tree",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "no-versions",
"version": "1.0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "override-not-in-versions-database",
"version": "1.0",
"overrides": [
{
"name": "no-versions",
"version": "1.0"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "override-version-not-in-versions-database",
"version": "1.0",
"overrides": [
{
"name": "good",
"version": "0.9"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-mismatch",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-missing",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "version-scheme-mismatch",
"version": "1.1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"versions": [
{
"git-tree": "000000070c5f496fcf1a97cf654d5e81f0d2685a",
"version": "1.1",
"port-version": 0
},
{
"git-tree": "00000005fb6b76058ce09252f521847363c6b266",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"versions": [
{
"git-tree": "f34f4ad3dfcc4d46d467d7b6aa04f9732a7951d6",
"version": "1.1",
"port-version": 0
},
{
"git-tree": "db9d98300e7daeb2c0652bae94a0283a1b1a13d1",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"versions": [
{
"git-tree": "cf8a1faa9f94f7ceb9513d65093d407e11ac1402",
"version": "1.1",
"port-version": 0
},
{
"git-tree": "a6d7dde2f5a9ea80db16c7f73c43556a7e21e5cf",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "a5c21769008f52ed66afa344f13b786dde4b8d7d",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"default": {
"bad-git-tree": {
"baseline": "1.1",
"port-version": 0
},
"bad-history-name": {
"baseline": "1.1",
"port-version": 0
},
"baseline-version-mismatch": {
"baseline": "1.0",
"port-version": 0
},
"dependency-not-in-versions-database": {
"baseline": "1.0",
"port-version": 0
},
"dependency-not-in-versions-database-feature": {
"baseline": "1.0",
"port-version": 0
},
"dependency-version-not-in-versions-database": {
"baseline": "1.0",
"port-version": 0
},
"dependency-version-not-in-versions-database-feature": {
"baseline": "1.0",
"port-version": 0
},
"empty-versions": {
"baseline": "1.0",
"port-version": 0
},
"good": {
"baseline": "1.0",
"port-version": 0
},
"has-local-edits": {
"baseline": "1.0.0",
"port-version": 0
},
"malformed": {
"baseline": "1.0",
"port-version": 0
},
"mismatch-git-tree": {
"baseline": "1.0",
"port-version": 0
},
"no-versions": {
"baseline": "1.0",
"port-version": 0
},
"override-not-in-versions-database": {
"baseline": "1.0",
"port-version": 0
},
"override-version-not-in-versions-database": {
"baseline": "1.0",
"port-version": 0
},
"version-mismatch": {
"baseline": "1.1",
"port-version": 0
},
"version-missing": {
"baseline": "1.1",
"port-version": 0
},
"version-scheme-mismatch": {
"baseline": "1.1",
"port-version": 0
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "2298ee25ea54ed92595250a2be07d01bdd76f47c",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "321c8b400526dc412a987285ef469eec6221a4b4",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "ba3008bb2d42c61f172b7d9592de0212edf20fc6",
"version": "1.0",
"port-version": 0
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f0d44555fe7714929e432ab9e12a436e28ffef9e",
"version": "1.0",
"port-version": 0
}
]
}
Loading

0 comments on commit 779ab31

Please sign in to comment.