mirror of
https://github.com/apple/pkl.git
synced 2026-04-28 19:27:18 +02:00
Replace magic test port 12110 with 0 (#345)
Also introduce constants for some test package SHAs to make them easier to update.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/badChecksum@1.0.0",
|
||||
"packageUri": "package://localhost:0/badChecksum@1.0.0",
|
||||
"name": "bugs",
|
||||
"packageZipUrl": "https://localhost:12110/badChecksum@1.0.0/badChecksum@1.0.0.zip",
|
||||
"packageZipUrl": "https://localhost:0/badChecksum@1.0.0/badChecksum@1.0.0.zip",
|
||||
"dependencies": {},
|
||||
"version": "1.0.0",
|
||||
"packageZipChecksums": {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/badImportsWithinPackage@1.1.0",
|
||||
"packageUri": "package://localhost:0/badImportsWithinPackage@1.1.0",
|
||||
"name": "badImportsWithinPackage",
|
||||
"packageZipUrl": "https://localhost:12110/badImportsWithinPackage@1.0.0/badImportsWithinPackage@1.0.0.zip",
|
||||
"packageZipUrl": "https://localhost:0/badImportsWithinPackage@1.0.0/badImportsWithinPackage@1.0.0.zip",
|
||||
"dependencies": {},
|
||||
"version": "1.0.0",
|
||||
"packageZipChecksums": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/badPackagezipUrl@1.1.0",
|
||||
"packageUri": "package://localhost:0/badPackagezipUrl@1.1.0",
|
||||
"name": "bugs",
|
||||
"packageZipUrl": "ftp://wait/a/minute",
|
||||
"dependencies": {},
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"name": "birds",
|
||||
"packageUri": "package://localhost:12110/birds@0.5.0",
|
||||
"packageZipUrl": "https://localhost:12110/birds@0.5.0/birds@0.5.0.zip",
|
||||
"packageUri": "package://localhost:0/birds@0.5.0",
|
||||
"packageZipUrl": "https://localhost:0/birds@0.5.0/birds@0.5.0.zip",
|
||||
"dependencies": {
|
||||
"fruities": {
|
||||
"uri": "package://localhost:12110/fruit@1.0.5",
|
||||
"uri": "package://localhost:0/fruit@1.0.5",
|
||||
"checksums": {
|
||||
"sha256": "abd173e8a25f5b930b0e34269a441e32c9d95e0b0a715bc6eff918f0afd0688e"
|
||||
"sha256": "34a15b02346e6acb85da5bd71d8b0738a79008b38a7fc805e5869d9129ad27d2"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/fruit@1.0.5",
|
||||
"packageUri": "package://localhost:0/fruit@1.0.5",
|
||||
"name": "fruit",
|
||||
"version": "1.0.5",
|
||||
"packageZipUrl": "https://localhost:12110/fruit@1.0.5/fruit@1.0.5.zip",
|
||||
"packageZipUrl": "https://localhost:0/fruit@1.0.5/fruit@1.0.5.zip",
|
||||
"dependencies": {},
|
||||
"packageZipChecksums": {
|
||||
"sha256": "$computedChecksum"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/fruit@1.1.0",
|
||||
"packageUri": "package://localhost:0/fruit@1.1.0",
|
||||
"name": "fruit",
|
||||
"version": "1.1.0",
|
||||
"packageZipUrl": "https://localhost:12110/fruit@1.1.0/fruit@1.1.0.zip",
|
||||
"packageZipUrl": "https://localhost:0/fruit@1.1.0/fruit@1.1.0.zip",
|
||||
"dependencies": {},
|
||||
"packageZipChecksums": {
|
||||
"sha256": "$computedChecksum"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"packageUri": "package://localhost:12110/packageContainingWildcardCharacters@1.0.0",
|
||||
"packageUri": "package://localhost:0/packageContainingWildcardCharacters@1.0.0",
|
||||
"name": "packageContainingWildcardCharacters",
|
||||
"version": "1.0.0",
|
||||
"packageZipUrl": "https://localhost:12110/packageContainingWildcardCharacters@1.0.0/packageContainingWildcardCharacters@1.0.0.zip",
|
||||
"packageZipUrl": "https://localhost:0/packageContainingWildcardCharacters@1.0.0/packageContainingWildcardCharacters@1.0.0.zip",
|
||||
"dependencies": {},
|
||||
"packageZipChecksums": {
|
||||
"sha256": "$computedChecksum"
|
||||
|
||||
Reference in New Issue
Block a user