[SM-Commit] GIT changes to master quill by Jaka Kranjc (e08950af00eaba9e91b54cfb8cefdfd419a7f49d)

Jaka Kranjc scm at sourcemage.org
Fri Apr 27 17:38:43 EDT 2007


GIT changes to master quill by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 usr/bin/quill           |   21 +++++++++++++++++++++
 var/lib/quill/ChangeLog |    4 ++++
 var/lib/quill/version   |    2 +-
 3 files changed, 26 insertions(+), 1 deletion(-)

New commits:
commit e08950af00eaba9e91b54cfb8cefdfd419a7f49d
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    quill: redefine url_ftp_verify for #13001

commit dbfe6326c3def065a07076b4a88f39d01620aa9a
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    bla

diff --git a/usr/bin/quill b/usr/bin/quill
index d550ccd..564be82 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -131,6 +131,27 @@ if ! declare -f codex_get_spell_paths &> /dev/null; then
   }
 fi
 
+# workaround sorcery bug #13001
+unset -f url_ftp_verify &&
+function url_ftp_verify() {
+  local  URL=$1
+
+  if  [  -n  "$URL"  ];  then
+    local  FILENAME=`basename $URL`
+    local  DIRECTORY=`dirname $URL`
+    local  OUTPUT=`wget --passive-ftp -t 1 -T 30 -O - --spider --no-remove-listing "$DIRECTORY/" 2>&1`
+
+    if grep  -q  "$FILENAME" .listing;  then
+      rm  -f  .listing
+    else
+      echo  $OUTPUT  |  sed  's/LIST.*//g'
+      [  -f  .listing  ]  &&  cat  .listing
+      rm -f  .listing
+      false
+    fi
+  fi
+}
+
 ## Down to here... from here it's question and answer time
 #---
 
diff --git a/var/lib/quill/ChangeLog b/var/lib/quill/ChangeLog
index 10a8a1b..a8f55ce 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-25 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* quill: redefine url_ftp_verify for #13001
+	* version: 0.2.6-rc2
+
 2007-04-27 Andraž "ruskie" Levstik <ruskie at mages.ath.cx>
 	* quill: don't flunk if missing source file
 	* libcore: non-verbose creation of dir
diff --git a/var/lib/quill/version b/var/lib/quill/version
index 13b471d..d278023 100644
--- a/var/lib/quill/version
+++ b/var/lib/quill/version
@@ -1 +1 @@
-0.2.5-rc1
+0.2.6-rc2



More information about the SM-Commit mailing list