diff --git a/schema.sql b/schema.sql index 0f073e3..197a1cc 100644 --- a/schema.sql +++ b/schema.sql @@ -73,7 +73,10 @@ INSERT INTO systems (id, name, release, short, relorder) VALUES (17, 'Ubuntu', '12.04', 'ubuntu-precise', 15), (18, 'Debian', '1.1', 'debian-buzz', 0), (19, 'Debian', '1.2', 'debian-rex', 1), - (20, 'Debian', '1.3', 'debian-bo', 2); + (20, 'Debian', '1.3', 'debian-bo', 2), + (21, 'Debian', '2.0', 'debian-hamm', 3), + (22, 'Debian', '2.1', 'debian-slink', 4), + (23, 'Debian', '2.2', 'debian-potato', 5); -- Removes any path components and compression extensions from the filename. diff --git a/util/deb.sh b/util/deb.sh index 2c86a11..4e4f3f2 100755 --- a/util/deb.sh +++ b/util/deb.sh @@ -82,7 +82,7 @@ syncrepo() { for CMP in $COMPONENTS; do echo "MANDIFF-COMPONENT: $CMP" >>"$PFN" TFN="$TMP/Packages-$CMP.bz2" - $CURL "${REPO}dists/$DISTRO/$CMP/binary-i386/Packages.bz2" -o "$TFN" + $CURL "${REPO}dists/$DISTRO/$CMP/binary-i386/Packages.bz2" -o "$TFN" 2>/dev/null if [ -s "$TFM" ]; then bzcat "$TFN" >>"$PFN" else @@ -287,6 +287,27 @@ debian_bo() { syncrepo 20 "http://archive.debian.org/debian/" "bo" "main" "dists/bo/main/Contents-i386.gz" } +debian_hamm() { + syncrepo 21 "http://archive.debian.org/debian/" "hamm" "main hamm contrib non-free" +} + +debian_slink() { + syncrepo 22 "http://archive.debian.org/debian/" "slink" "main contrib non-free" +} + +debian_potato() { + syncrepo 23 "http://archive.debian.org/debian/" "potato" "main contrib non-free" +} + +debian_old() { + debian_buzz + debian_rex + debian_bo + debian_hamm + debian_slink + debian_potato +} + "$@" diff --git a/www/index.pl b/www/index.pl index 9e5f22c..7b51c0e 100755 --- a/www/index.pl +++ b/www/index.pl @@ -57,9 +57,9 @@ sub home { p style => 'float: none'; # Relevant query: SELECT count(distinct hash), count(distinct name), count(*), count(distinct package) FROM man; # It's far too slow to run that on every pageview. :-( - lit 'Indexing 493,399 versions of 120,090 manual pages found in 1,598,828 files of 171,724 packages.'; + lit 'Indexing 519,202 versions of 127,527 manual pages found in 1,663,033 files of 176,474 packages.'; br; - txt 'At this point only Arch Linux and Ubuntu have been indexed. More systems and repositories will be added later on.'; + txt 'At this point only Arch Linux, Ubuntu and some versions of Debian have been indexed. More systems and repositories will be added later on.'; end; h2 'Browse the manuals'; @@ -105,7 +105,22 @@ sub about { h1 'About Manned.org'; h2 'Goal'; - p 'Blah.'; + p; lit <<' _'; + The state of online indices of manual pages is a sad one. Existing sites + only offer you a single version of a man page: From one origin, and often + only in a single language. Most don't even tell you where the manual + actually originated from, making it very hard to determine whether the + manual you found actually applies to your situation and even harder to find + a manual from a specific system. Additionally, some sites render the manuals + in an unreadable way, don't correctly handle special formatting - like + tables - or don't correctly display non-ASCII characters. +

+ Manned.org was created in order to improve this situation. This site aims to + index the manual pages from a variaty of systems, both old and new, and + allows you to browse through the various versions of a manual page to find + out how each system behaves. + _ + end; h2 'The indexing process'; p; lit <<' _'; @@ -128,7 +143,9 @@ sub about { href="http://archive.debian.org/debian/">http://archive.debian.org/debian/. For buzz, rex and bo, only the 'main' component has been indexed, and we're missing a few man pages because some packages were missing from the - repository archives. + repository archives. For the other releases, all components (main, contrib + and non-free) from the $release and $release-updates repositories are + indexed.
Only packages for a single architecture (i386 or i686) are scanned. To my @@ -145,7 +162,7 @@ sub about { h2 'Other systems'; p; lit <<' _'; I'd love to index the manuals of most major Linux distributions in the - future. In the short term, this means all Debian and Fedora releases will + future. In the short term, this means all Fedora and OpenSUSE releases will get indexed. In the long term, many others may be added as well.

It would also be great to index a few non-Linux systems such as *BSD,