Debian Codegraph @

test/README

raw
1 Run "make debian" to make the mock archive ./debian/, or to restore
2 it to its newly built state. Run "make clean" to delete it.
3
4 The mock archive ./debian/ is not to be confused with the
5 directory ../debian/. The ./debian/ is a small, mock Debian
6 archive. You can use this archive to test debmirror.
7
8 The mock archive's packages are not real packages. You cannot build
9 or install them. You can however *mirror* them, which is the point.
10
11 The mock archive is not a very good mock archive, nor are the scripts
12 that manage it very good scripts. They merely suffice for some tests,
13 and may be improved or extended when more tests of thought of. If you
14 are developing or maintaining debmirror, then feel free to improve or
15 extend the mock archive and its scripts as you need or wish.
16
17 (When these words were written, the mock archive had no non-free
18 section, but by the time these words are read it might have one. If
19 the mock archive does have a non-free section, then that section is
20 mock-non-free -- which is free, insofar as the whole mock archive is
21 free. If this makes sense to you, then you can stop reading; but if it
22 confuses then consider the following. It's like an actor in
23 Shakespeare's Julius Caesar, who is not Caesar, but is an actor who in
24 the play is named "Caesar". Naming an actor "Caesar" in a play does
25 not make him Caesar! Likewise, naming software "non-free" in a mock
26 archive does not make it non-free. As Shakespeare's Juliet almost
27 said, "What's in a name? That which we call a rose by any other name
28 would smell as free...." Unfortunately, this rose is named "non-rose,"
29 more or less, which is especially confusing, but there it is.)
30
31 Here is a sample test session:
32
33 cd "$DEBMIRROR_SOURCE"
34 rm -r /tmp/debian
35 make -C test
36 ./debmirror -r "${PWD}/test/debian" --method=file -d sid -a amd64\
37 --getcontents --no-check-gpg /tmp/debian