testing

Robert Millan rmh at aybabtu.com
Sat Jul 30 00:48:32 UTC 2005


Hi!

I was giving a thought at what would be "testing" like if we implemented it for
kfreebsd-gnu, and got these nice results:

$ ./do
Total sources in testing: 8937
Total binary-all sources in testing: 3912
Total binary-specific sources we compiled: 5485
Total binary-specific sources we compiled _and_ belong to testing: 3554
Total testing sources we can use: 7466

Of course, those 7466 need to be complemented with some packages from
unreleased in order to make a working system, but it's a quite high ratio
(0.83) with respect to the total sources in testing.

The advantage of providing testing is basicaly to offer a "stable" system to
show newbie users so that they don't run away scared at the horrid combination
of:

  - Generic Debian sid problems like those caused by new dpkg, new gcc-4.0,
    new libstdc++6, etc.
  - Our own genuine GNU/kFreeBSD bugs.

What do you people think?

P.S: the "do" script is attached.  you should run it in a temporary directory

-- 
Robert Millan
-------------- next part --------------
#!/bin/sh
set -e

echo -n "Total sources in testing: "
wget -c http://ftp.de.debian.org/debian/dists/testing/main/source/Sources.gz \
  -O - 2>/dev/null | gunzip -c | egrep "^(Package|Version)" | tr '\n' ' ' \
  | sed -e "s/Package: //g" -e "s/ Version: /_/g" | tr ' ' '\n' > sources.list
wc -l < sources.list

echo -n "Total binary-all sources in testing: "
wget -c http://ftp.de.debian.org/debian/dists/testing/main/binary-i386/Packages.gz \
  -O - 2>/dev/null | gunzip -c | egrep "^Filename: .*_all.deb$" | sed \
  -e "s,^Filename: pool/main/\(lib\|\)./,,g" -e "s,/[^_]*,,g" \
  -e "s/_[^_]*$//g" | sort | uniq > packages_all.list
wc -l < packages_all.list

echo -n "Total binary-specific sources we compiled: "
wget -c http://ftp.gnuab.org/debian/dists/unstable/main/binary-kfreebsd-i386/Packages.bz2 \
  -O - 2>/dev/null | bunzip2 -c | egrep "^Filename: " | sed \
  -e "s,^Filename: pool/main/\(lib\|\)./,,g" -e "s,/[^_]*,,g" \
  -e "s/_[^_]*$//g" | sort | uniq > packages.list
wc -l < packages.list

echo -n "Total binary-specific sources we compiled _and_ belong to testing: "
(for i in `cat packages.list` ; do if grep -q ${i} sources.list ; then \
  echo "${i}" ; fi ; done) > filtered.list
wc -l < filtered.list

echo -n "Total testing sources we can use: "
echo `wc -l < filtered.list` + `wc -l < packages_all.list` | bc


More information about the Glibc-bsd-devel mailing list