From e2fef02cc800a53a54dbefba9b3bff6398e6fced Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 14 Dec 2000 22:53:48 +0000 Subject: [PATCH] release .10 git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@209 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- debian/changelog | 8 +++-- debian/control | 31 +++++++++---------- debian/postinst | 3 +- linkcheck/Logging.py | 2 +- StringUtil.py => linkcheck/StringUtil.py | 0 fcgi.py => linkcheck/fcgi.py | 0 fintl.py => linkcheck/fintl.py | 0 http11lib.py => linkcheck/http11lib.py | 0 httpslib.py => linkcheck/httpslib.py | 0 robotparser2.py => linkcheck/robotparser2.py | 0 sz_fcgi.py => linkcheck/sz_fcgi.py | 0 .../timeoutsocket.py | 0 util1.py => linkcheck/util1.py | 0 linkchecker | 6 ++-- test/mail.html | 6 ++-- test/test1.html | 4 +++ 16 files changed, 34 insertions(+), 26 deletions(-) rename StringUtil.py => linkcheck/StringUtil.py (100%) rename fcgi.py => linkcheck/fcgi.py (100%) rename fintl.py => linkcheck/fintl.py (100%) rename http11lib.py => linkcheck/http11lib.py (100%) rename httpslib.py => linkcheck/httpslib.py (100%) rename robotparser2.py => linkcheck/robotparser2.py (100%) rename sz_fcgi.py => linkcheck/sz_fcgi.py (100%) rename timeoutsocket.py => linkcheck/timeoutsocket.py (100%) rename util1.py => linkcheck/util1.py (100%) diff --git a/debian/changelog b/debian/changelog index 82670796..442bdbc7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,12 @@ linkchecker (1.2.10) unstable; urgency=low - * i18n gettext data compilation fixed + * broken *.mo i18n files fixed + * test/test1.html: add test for missing quotes + * debian/control: updated description field + * moved all single .py files in linkcheck/ except LinkCheckerConf.py + which is automatically generated - -- Bastian Kleineidam Thu, 7 Dec 2000 12:24:38 +0100 + -- Bastian Kleineidam Thu, 14 Dec 2000 23:50:01 +0100 linkchecker (1.2.9) unstable; urgency=low diff --git a/debian/control b/debian/control index a53458b7..956aaa40 100644 --- a/debian/control +++ b/debian/control @@ -10,19 +10,18 @@ Package: linkchecker Architecture: any Depends: python-base (>= 1.5.2), python-base (<< 1.6) Suggests: libssl09|libssl095a, httpd -Description: check/validate/test your HTML documents for broken links/URLs - Features: - o recursive checking - o multithreaded - o output can be colored or normal text, HTML, SQL, CSV or a GML sitemap - graph - o HTTP/1.1, HTTPS, FTP, mailto:, nntp:, news:, Gopher, Telnet and local - file links are supported - Javascript links are currently ignored - o restrict link checking with regular expression filters for URLs - o proxy support - o give username/password for HTTP and FTP authorization - o robots.txt exclusion protocol support - o i18n support - o command line interface - o (Fast)CGI web interface (requires HTTP server) +Description: check HTML documents for broken links + Features: + o recursive checking + o multithreaded + o output can be colored or normal text, HTML, SQL, CSV or a sitemap + graph in GML or XML + o HTTP/1.1, HTTPS, FTP, mailto:, nntp:, news:, Gopher, Telnet and local + file links are supported + o restrict link checking with regular expression filters for URLs + o proxy support + o give username/password for HTTP and FTP authorization + o robots.txt exclusion protocol support + o i18n support + o command line interface + o (Fast)CGI web interface (requires HTTP server) diff --git a/debian/postinst b/debian/postinst index bf3c1c12..25ec00ca 100755 --- a/debian/postinst +++ b/debian/postinst @@ -6,8 +6,7 @@ set -e DIRLIST="/usr/lib/python1.5/site-packages/linkcheck" -FILELIST="CSV.py LinkCheckerConf.py StringUtil.py fcgi.py fintl.py -http11lib.py httpslib.py robotparser2.py sz_fcgi.py util1.py" +FILELIST="LinkCheckerConf.py" SITEPACKAGES="/usr/lib/python1.5/site-packages" COMMAND="'import sys,py_compile;py_compile.compile(sys.argv[1])'" diff --git a/linkcheck/Logging.py b/linkcheck/Logging.py index 95d8b08e..afcbf082 100644 --- a/linkcheck/Logging.py +++ b/linkcheck/Logging.py @@ -37,7 +37,7 @@ __init__(self, **args) files in the appropriate logger section. """ import sys,time,string -import Config,StringUtil +import Config, StringUtil from linkcheck import _ # HTML shortcuts diff --git a/StringUtil.py b/linkcheck/StringUtil.py similarity index 100% rename from StringUtil.py rename to linkcheck/StringUtil.py diff --git a/fcgi.py b/linkcheck/fcgi.py similarity index 100% rename from fcgi.py rename to linkcheck/fcgi.py diff --git a/fintl.py b/linkcheck/fintl.py similarity index 100% rename from fintl.py rename to linkcheck/fintl.py diff --git a/http11lib.py b/linkcheck/http11lib.py similarity index 100% rename from http11lib.py rename to linkcheck/http11lib.py diff --git a/httpslib.py b/linkcheck/httpslib.py similarity index 100% rename from httpslib.py rename to linkcheck/httpslib.py diff --git a/robotparser2.py b/linkcheck/robotparser2.py similarity index 100% rename from robotparser2.py rename to linkcheck/robotparser2.py diff --git a/sz_fcgi.py b/linkcheck/sz_fcgi.py similarity index 100% rename from sz_fcgi.py rename to linkcheck/sz_fcgi.py diff --git a/timeoutsocket.py b/linkcheck/timeoutsocket.py similarity index 100% rename from timeoutsocket.py rename to linkcheck/timeoutsocket.py diff --git a/util1.py b/linkcheck/util1.py similarity index 100% rename from util1.py rename to linkcheck/util1.py diff --git a/linkchecker b/linkchecker index 268e6aea..299578dc 100755 --- a/linkchecker +++ b/linkchecker @@ -23,8 +23,8 @@ import getopt,re,string,os,urlparse # 90 seconds timeout for all connections #import timeoutsocket #timeoutsocket.setDefaultSocketTimeout(90) -import linkcheck, StringUtil -from linkcheck import _ +import linkcheck +from linkcheck import _,StringUtil Usage = _("USAGE\tlinkchecker [options] file-or-url...\n" @@ -263,7 +263,7 @@ for opt,arg in options: config["warnings"] = 1 elif opt=="--wischiwaschi": - import util1 + from linkcheck import util1 util1.abbuzze() sys.exit(0) elif opt=="-w" or opt=="--warnings": diff --git a/test/mail.html b/test/mail.html index 9a953e05..39d3c783 100644 --- a/test/mail.html +++ b/test/mail.html @@ -4,10 +4,12 @@ 1 2 -3 +3 4 6 -5 +5 +... +... 5 diff --git a/test/test1.html b/test/test1.html index a93d4c0c..45b38165 100644 --- a/test/test1.html +++ b/test/test1.html @@ -17,5 +17,9 @@ Just some HTTP links + + + +