summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-09 09:37:04 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-09 17:24:50 +0100
commitcc69fd2483669f10ebec1ba3a5568c22f7bf6f79 (patch)
tree7f381cd3782637d7590da1d2cad6b0ad8ef6882c /examples
parentf53375ec115cdff6c53dbcef1a8ad36d8c23040f (diff)
Add README for example
Diffstat (limited to 'examples')
-rw-r--r--examples/packages/1/README.md41
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/packages/1/README.md b/examples/packages/1/README.md
new file mode 100644
index 0000000..2531f20
--- /dev/null
+++ b/examples/packages/1/README.md
@@ -0,0 +1,41 @@
+# Example 1
+
+This is an example of packages.
+
+It contains only scripts that are packaged and not real packages, but it tries
+to resemble a real packaging process cleanly, including downloads and even
+failing builds (configurable via ENV variables).
+
+
+## Downloads
+
+The downloads are done from localhost, where a (python) web server has to serve
+the files.
+Butido can download from there.
+
+
+## Packages
+
+The packages are dependend on eachother like this:
+
+```
+a
+ `- b
+ | `- c
+ | | `- h
+ | `- d
+ | `- e
+ `- c
+ `- f
+ `- g
+ `- i
+```
+
+## Build
+
+The actual build is done in /tmp, where directories are created for the sources,
+staging packages, released packages, the repository of package definitions and
+the logs.
+
+The `Makefile` can be used to do this.
+