summaryrefslogtreecommitdiffstats
path: root/examples/packages/1/README.md
blob: 2531f20c763671c65813e4ebf2c515275ff1757f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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.