From edaa004348571857c03485950202722b6e4fb944 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 9 Aug 2021 17:25:02 +0200 Subject: properly install data in docdir --- examples/README.txt | 4 ++++ examples/content/bhello_ap/index.json | 7 +++++++ examples/content/bhello_ap_cu/index.json | 8 ++++++++ examples/content/bhello_cu/index.json | 7 +++++++ examples/content/bhello_pe/index.json | 7 +++++++ examples/content/bhello_pe_pi/index.json | 8 ++++++++ examples/content/bhello_pi/index.json | 7 +++++++ examples/content/phachettebugs1/index.json | 5 +++++ examples/content/phachettebugs2/index.json | 5 +++++ examples/content/phachettebugs3/index.json | 5 +++++ examples/content/phachettebugs4/index.json | 5 +++++ examples/content/pkoszko.org_hello1/index.json | 5 +++++ examples/content/pkoszko.org_hello2/index.json | 5 +++++ examples/content/pkoszko.org_hello3/index.json | 5 +++++ examples/content/pmyfsfhello1/index.json | 5 +++++ examples/content/pmyfsfhello2/index.json | 5 +++++ examples/content/pmyfsfhello3/index.json | 5 +++++ examples/content/shello_apple/hello.js | 1 + examples/content/shello_apple/index.json | 6 ++++++ examples/content/shello_cucumber/hello.js | 1 + examples/content/shello_cucumber/index.json | 6 ++++++ examples/content/shello_pear/hello.js | 1 + examples/content/shello_pear/index.json | 6 ++++++ examples/content/shello_pineapple/hello.js | 1 + examples/content/shello_pineapple/index.json | 6 ++++++ 25 files changed, 126 insertions(+) create mode 100644 examples/README.txt create mode 100644 examples/content/bhello_ap/index.json create mode 100644 examples/content/bhello_ap_cu/index.json create mode 100644 examples/content/bhello_cu/index.json create mode 100644 examples/content/bhello_pe/index.json create mode 100644 examples/content/bhello_pe_pi/index.json create mode 100644 examples/content/bhello_pi/index.json create mode 100644 examples/content/phachettebugs1/index.json create mode 100644 examples/content/phachettebugs2/index.json create mode 100644 examples/content/phachettebugs3/index.json create mode 100644 examples/content/phachettebugs4/index.json create mode 100644 examples/content/pkoszko.org_hello1/index.json create mode 100644 examples/content/pkoszko.org_hello2/index.json create mode 100644 examples/content/pkoszko.org_hello3/index.json create mode 100644 examples/content/pmyfsfhello1/index.json create mode 100644 examples/content/pmyfsfhello2/index.json create mode 100644 examples/content/pmyfsfhello3/index.json create mode 100644 examples/content/shello_apple/hello.js create mode 100644 examples/content/shello_apple/index.json create mode 100644 examples/content/shello_cucumber/hello.js create mode 100644 examples/content/shello_cucumber/index.json create mode 100644 examples/content/shello_pear/hello.js create mode 100644 examples/content/shello_pear/index.json create mode 100644 examples/content/shello_pineapple/hello.js create mode 100644 examples/content/shello_pineapple/index.json (limited to 'examples') diff --git a/examples/README.txt b/examples/README.txt new file mode 100644 index 0000000..1f1f57f --- /dev/null +++ b/examples/README.txt @@ -0,0 +1,4 @@ +This directory contains example resources for Hydrilla. They do not do anything +useful - just print some kind of "hello" message on given websites. They are +meant for use as a reference for data format and as a mock of real resources +for use when developing. diff --git a/examples/content/bhello_ap/index.json b/examples/content/bhello_ap/index.json new file mode 100644 index 0000000..2552c31 --- /dev/null +++ b/examples/content/bhello_ap/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_apple", +"components" : [ +["script", "hello_apple"] +] +} diff --git a/examples/content/bhello_ap_cu/index.json b/examples/content/bhello_ap_cu/index.json new file mode 100644 index 0000000..5f093e7 --- /dev/null +++ b/examples/content/bhello_ap_cu/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_apple_and_cucumber", +"components" : [ +["bag", "hello_apple"], +["bag", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_cu/index.json b/examples/content/bhello_cu/index.json new file mode 100644 index 0000000..47023ca --- /dev/null +++ b/examples/content/bhello_cu/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_cucumber", +"components" : [ +["script", "hello_cucumber"] +] +} diff --git a/examples/content/bhello_pe/index.json b/examples/content/bhello_pe/index.json new file mode 100644 index 0000000..07de71a --- /dev/null +++ b/examples/content/bhello_pe/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pear", +"components" : [ +["script", "hello_pear"] +] +} diff --git a/examples/content/bhello_pe_pi/index.json b/examples/content/bhello_pe_pi/index.json new file mode 100644 index 0000000..5ceff86 --- /dev/null +++ b/examples/content/bhello_pe_pi/index.json @@ -0,0 +1,8 @@ +{ +"type" : "bag", +"name" : "hello_pear_and_pineapple", +"components" : [ +["bag", "hello_pear"], +["bag", "hello_pineapple"] +] +} diff --git a/examples/content/bhello_pi/index.json b/examples/content/bhello_pi/index.json new file mode 100644 index 0000000..8e6946e --- /dev/null +++ b/examples/content/bhello_pi/index.json @@ -0,0 +1,7 @@ +{ +"type" : "bag", +"name" : "hello_pineapple", +"components" : [ +["script", "hello_pineapple"] +] +} diff --git a/examples/content/phachettebugs1/index.json b/examples/content/phachettebugs1/index.json new file mode 100644 index 0000000..fac24ef --- /dev/null +++ b/examples/content/phachettebugs1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.koszko.org/***", +"payload" : ["script", "hello_pear"] +} diff --git a/examples/content/phachettebugs2/index.json b/examples/content/phachettebugs2/index.json new file mode 100644 index 0000000..891f0d2 --- /dev/null +++ b/examples/content/phachettebugs2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/**", +"payload" : ["bag", "hello_pear"] +} diff --git a/examples/content/phachettebugs3/index.json b/examples/content/phachettebugs3/index.json new file mode 100644 index 0000000..7187af5 --- /dev/null +++ b/examples/content/phachettebugs3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/boards/***", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/phachettebugs4/index.json b/examples/content/phachettebugs4/index.json new file mode 100644 index 0000000..203153a --- /dev/null +++ b/examples/content/phachettebugs4/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://hachettebugs.koszko.org/projects/***", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/pkoszko.org_hello1/index.json b/examples/content/pkoszko.org_hello1/index.json new file mode 100644 index 0000000..013ce7c --- /dev/null +++ b/examples/content/pkoszko.org_hello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/en/", +"payload" : ["bag", "hello_apple_and_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello2/index.json b/examples/content/pkoszko.org_hello2/index.json new file mode 100644 index 0000000..a61f7e6 --- /dev/null +++ b/examples/content/pkoszko.org_hello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/**", +"payload" : ["bag", "hello_cucumber"] +} diff --git a/examples/content/pkoszko.org_hello3/index.json b/examples/content/pkoszko.org_hello3/index.json new file mode 100644 index 0000000..d0e00d0 --- /dev/null +++ b/examples/content/pkoszko.org_hello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://koszko.org/***", +"payload" : ["bag", "hello_pear_and_pineapple"] +} diff --git a/examples/content/pmyfsfhello1/index.json b/examples/content/pmyfsfhello1/index.json new file mode 100644 index 0000000..d151f1b --- /dev/null +++ b/examples/content/pmyfsfhello1/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org", +"payload" : ["bag", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello2/index.json b/examples/content/pmyfsfhello2/index.json new file mode 100644 index 0000000..2bd0be3 --- /dev/null +++ b/examples/content/pmyfsfhello2/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://my.fsf.org/", +"payload" : ["script", "hello_apple"] +} diff --git a/examples/content/pmyfsfhello3/index.json b/examples/content/pmyfsfhello3/index.json new file mode 100644 index 0000000..ba0a126 --- /dev/null +++ b/examples/content/pmyfsfhello3/index.json @@ -0,0 +1,5 @@ +{ +"type" : "page", +"pattern" : "https://*.fsf.org/", +"payload" : ["bag", "hello_pineapple"] +} diff --git a/examples/content/shello_apple/hello.js b/examples/content/shello_apple/hello.js new file mode 100644 index 0000000..b6b1a02 --- /dev/null +++ b/examples/content/shello_apple/hello.js @@ -0,0 +1 @@ +console.log("hello, apple!"); diff --git a/examples/content/shello_apple/index.json b/examples/content/shello_apple/index.json new file mode 100644 index 0000000..c52c32c --- /dev/null +++ b/examples/content/shello_apple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_apple", +"sha256" : "d349309ba674c092a7d03cd5ecc90c6370402482286db28b3d32d86052b6cf69", +"location" : "hello.js" +} diff --git a/examples/content/shello_cucumber/hello.js b/examples/content/shello_cucumber/hello.js new file mode 100644 index 0000000..b285094 --- /dev/null +++ b/examples/content/shello_cucumber/hello.js @@ -0,0 +1 @@ +console.log("hello, cucumber!"); diff --git a/examples/content/shello_cucumber/index.json b/examples/content/shello_cucumber/index.json new file mode 100644 index 0000000..788d51e --- /dev/null +++ b/examples/content/shello_cucumber/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_cucumber", +"sha256" : "1d65dda24c08e928cfd06a98b57def4599ff4cfe85e01e517d852a87feb03111", +"location" : "hello.js" +} diff --git a/examples/content/shello_pear/hello.js b/examples/content/shello_pear/hello.js new file mode 100644 index 0000000..0e98fdd --- /dev/null +++ b/examples/content/shello_pear/hello.js @@ -0,0 +1 @@ +console.log("hello, pear!"); diff --git a/examples/content/shello_pear/index.json b/examples/content/shello_pear/index.json new file mode 100644 index 0000000..65d8d61 --- /dev/null +++ b/examples/content/shello_pear/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pear", +"sha256" : "f61c50e1b977235260ee8b708b31ee003b1585afbe228cee6a0d754357e24b7e", +"location" : "hello.js" +} diff --git a/examples/content/shello_pineapple/hello.js b/examples/content/shello_pineapple/hello.js new file mode 100644 index 0000000..3632e67 --- /dev/null +++ b/examples/content/shello_pineapple/hello.js @@ -0,0 +1 @@ +console.log("hello, pineapple!"); diff --git a/examples/content/shello_pineapple/index.json b/examples/content/shello_pineapple/index.json new file mode 100644 index 0000000..f75935a --- /dev/null +++ b/examples/content/shello_pineapple/index.json @@ -0,0 +1,6 @@ +{ +"type" : "script", +"name" : "hello_pineapple", +"sha256" : "f53bde306e0774618a1c9e12cb62175fbca90779c79d812a699b54c125c1634a", +"location" : "hello.js" +} -- cgit v1.2.3