Initial commit

This commit is contained in:
Peter Niederwieser
2016-01-19 14:51:19 +01:00
committed by Dan Chao
commit ecad035dca
2972 changed files with 211653 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/badChecksum@1.0.0",
"name": "bugs",
"packageZipUrl": "https://localhost:12110/badChecksum@1.0.0/badChecksum@1.0.0.zip",
"dependencies": {},
"version": "1.0.0",
"packageZipChecksums": {
"sha256": "intentionally bogus checksum"
}
}

View File

@@ -0,0 +1 @@
module bugs.Bug

View File

@@ -0,0 +1,11 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/badImportsWithinPackage@1.1.0",
"name": "badImportsWithinPackage",
"packageZipUrl": "https://localhost:12110/badImportsWithinPackage@1.0.0/badImportsWithinPackage@1.0.0.zip",
"dependencies": {},
"version": "1.0.0",
"packageZipChecksums": {
"sha256": "$computedChecksum"
}
}

View File

@@ -0,0 +1 @@
res = import("not/a/valid/path.pkl")

View File

@@ -0,0 +1 @@
res = read("not/a/valid/path.txt")

View File

@@ -0,0 +1 @@
res = import("@fruits/Foo.pkl")

View File

@@ -0,0 +1 @@
res = read("@notapackage/Foo.txt")

View File

@@ -0,0 +1 @@
this is not json

View File

@@ -0,0 +1 @@
module bugs.Bug

View File

@@ -0,0 +1,11 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/badPackagezipUrl@1.1.0",
"name": "bugs",
"packageZipUrl": "ftp://wait/a/minute",
"dependencies": {},
"version": "1.0.0",
"packageZipChecksums": {
"sha256": "$computedChecksum"
}
}

View File

@@ -0,0 +1 @@
module bugs.Bug

View File

@@ -0,0 +1,27 @@
{
"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",
"dependencies": {
"fruities": {
"uri": "package://localhost:12110/fruit@1.0.5",
"checksums": {
"sha256": "b4ea243de781feeab7921227591e6584db5d0673340f30fab2ffe8ad5c9f75f5"
}
}
},
"version": "0.5.0",
"packageZipChecksums": {
"sha256": "$computedChecksum"
},
"sourceCodeUrlScheme": "https://example.com/birds/v0.5.0/blob%{path}#L%{line}-L%{endLine}",
"sourceCode": "https://example.com/birds",
"documentation": "https://example.com/bird-docs",
"license": "UNLICENSED",
"authors": [
"petey-bird@example.com",
"polly-bird@example.com"
],
"issueTracker": "https://example.com/birds/issues"
}

View File

@@ -0,0 +1,7 @@
open module birds.Bird
import "@fruities/Fruit.pkl"
name: String
favoriteFruit: Fruit

View File

@@ -0,0 +1,4 @@
module birds.allFruit
fruit = import*("@fruities/catalog/*.pkl")
fruitFiles = read*("@fruities/catalog/*.pkl")

View File

@@ -0,0 +1,4 @@
module birds.catalog
catalog = import*("catalog/*.pkl")
catalogFiles = read*("catalog/*.pkl")

View File

@@ -0,0 +1,7 @@
amends "../Bird.pkl"
name = "Ostritch"
favoriteFruit {
name = "Orange"
}

View File

@@ -0,0 +1,7 @@
amends "../Bird.pkl"
import "@fruities/catalog/apple.pkl"
name = "Swallow"
favoriteFruit = apple

View File

@@ -0,0 +1,7 @@
amends "..."
name = "Bird"
favoriteFruit {
name = "Fruit"
}

View File

@@ -0,0 +1,19 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/fruit@1.0.5",
"name": "fruit",
"version": "1.0.5",
"packageZipUrl": "https://localhost:12110/fruit@1.0.5/fruit@1.0.5.zip",
"dependencies": {},
"packageZipChecksums": {
"sha256": "$computedChecksum"
},
"sourceCode": "https://example.com/fruit",
"documentation": "https://example.com/fruit-docs",
"license": "UNLICENSED",
"authors": [
"apple-1@example.com",
"banana-2@example.com"
],
"issueTracker": "https://example.com/fruit/issues"
}

View File

@@ -0,0 +1,3 @@
module fruit.Fruit
name: String

View File

@@ -0,0 +1,3 @@
amends "../Fruit.pkl"
name = "Apple"

View File

@@ -0,0 +1,19 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/fruit@1.1.0",
"name": "fruit",
"version": "1.1.0",
"packageZipUrl": "https://localhost:12110/fruit@1.1.0/fruit@1.1.0.zip",
"dependencies": {},
"packageZipChecksums": {
"sha256": "$computedChecksum"
},
"sourceCode": "https://example.com/fruit",
"documentation": "https://example.com/fruit-docs",
"license": "UNLICENSED",
"authors": [
"apple-1@example.com",
"banana-2@example.com"
],
"issueTracker": "https://example.com/fruit/issues"
}

View File

@@ -0,0 +1,3 @@
module fruit.Fruit
name: String

View File

@@ -0,0 +1,3 @@
amends "../Fruit.pkl"
name = "Apple 🍎"

View File

@@ -0,0 +1,3 @@
amends "../Fruit.pkl"
name = "Pineapple 🍍"

View File

@@ -0,0 +1,11 @@
{
"schemaVersion": 1,
"packageUri": "package://localhost:12110/packageContainingWildcardCharacters@1.0.0",
"name": "packageContainingWildcardCharacters",
"version": "1.0.0",
"packageZipUrl": "https://localhost:12110/packageContainingWildcardCharacters@1.0.0/packageContainingWildcardCharacters@1.0.0.zip",
"dependencies": {},
"packageZipChecksums": {
"sha256": "$computedChecksum"
}
}