]> git.donarmstrong.com Git - debbugs.git/blob - t/debian/README.md
add fake debian archive/debinfo for testing
[debbugs.git] / t / debian / README.md
1 # Debian specific testing files
2
3 This directory contains two directories which have subsets of the Debian archive
4 and versioning information for glibc and debbugs packages, necessary to populate
5 the test databases and test various versioning and bug/found/fixed information.
6
7 ## dist
8
9 This directory contains a truncated Debian archive created using `fake_ftpdist`.
10
11 To regenerate the contents of this directory, run:
12
13     fake_ftpdist --progress --ftpdists ../../ftp.debian.org/ftp/dists
14
15 in this directory, where ftp.debian.org/ftp/dists is a full Debian mirror,
16 excluding the pool directories. You'll also need apt-ftparchive installed.
17
18 ## debinfo
19
20 This directory contains debinfo files from glibc and debbugs; to rebuild it run
21 this command on bugs-master.debian.org:
22
23     cd /srv/bugs.debian.org/versions/archive/ftp-master;
24     find ./ -mindepth 2 \( -type d -not \( -name 'glibc' -o -name 'debbugs' \) \
25        -prune \) -o -type f \( -iname '*_i386.debinfo' -o -iname '*_amd64.debinfo' \) \
26        \( -ctime -$(( 5 * 365 )) -o -iname 'debbugs*' \) -print0| \
27        xargs -0 tar -zcf ~/glibc_debbugs_debinfo.tar.gz
28
29 and unpack the resultant tarball into the `debinfo` directory.