testing
Aurelien Jarno
aurelien at aurel32.net
Sat Jul 30 13:38:11 UTC 2005
Robert Millan a écrit :
> Hi!
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
The script is wrong, as it count all packages that have a all.deb as
binary all. Please find attached a fixed script.
$ ./do
Total sources in testing: 8937
Total binary-all sources in testing: 3028
Total binary-specific sources we compiled: 5511
Total binary-specific sources we compiled _and_ belong to testing: 3554
Total testing sources we can use: 6582
That's mean 0.73. Also note that some binary-all packages depends on a
binary-specific one, and so having them does not mean they are installable.
> 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?
Well, that could be a good idea if it almost take no time to implement.
Don't forgot we have other things to do in the port, and that a user
scared by sid, will probably be scared by our installer (if we could
call that an intaller).
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' aurel32 at debian.org | aurelien at aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
-------------- 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/source/Sources.gz \
-O - 2>/dev/null | gunzip -c | sed -e '/./{H;$!d;}' -e 'x;/Architecture: all/!d;' \
| egrep "^(Package|Version)" | tr '\n' ' ' | sed -e "s/Package: //g" \
-e "s/ Version: /_/g" | tr ' ' '\n' > 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