Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master quill by Jaka Kranjc (5079c11ee50d80fc9aec0158ac5b5f3c4dfde92a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master quill by Jaka Kranjc (5079c11ee50d80fc9aec0158ac5b5f3c4dfde92a)
  • Date: Wed, 29 Aug 2007 03:50:38 -0500

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

usr/bin/quill | 3 +++
usr/share/doc/quill/HACKING | 12 ++++++++++++
var/lib/quill/ChangeLog | 5 +++++
var/lib/quill/modules/libcore | 2 +-
var/lib/quill/version | 2 +-
5 files changed, 22 insertions(+), 2 deletions(-)

New commits:
commit 5079c11ee50d80fc9aec0158ac5b5f3c4dfde92a
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

* quill, libcore: fixed argument being lost when no option was passed
* HACKING: added with some notes

diff --git a/usr/bin/quill b/usr/bin/quill
index 16571f5..9fd7b6f 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -133,6 +133,8 @@ while [[ -n $1 ]]; do
*) error_msg "Invalid parameter $1"
quill_help 102 ;;
esac
+ else
+ [[ -z $QUILL_TARGET ]] && QUILL_TARGET=$1
fi
shift
done
@@ -353,6 +355,7 @@ then

done
else
+ SPELL_NAME=${SPELL_NAME:-$QUILL_TARGET}
query_spell_name
while codex_does_spell_exist $SPELL_NAME > /dev/null; do
message "This spell name is already taken!"
diff --git a/usr/share/doc/quill/HACKING b/usr/share/doc/quill/HACKING
new file mode 100644
index 0000000..bd5876b
--- /dev/null
+++ b/usr/share/doc/quill/HACKING
@@ -0,0 +1,12 @@
+The coding style is similar to the one of sorcery. Just play along with the
+rest of the code.
+
+Adding download modules
+* the name of $MODULE should be unique
+* write the download code
+* provide a quill_${MODULE}_core function as the entry point for quill
+* add unique commandline switches to the argument parser
+* add the commandline switches to help
+* the module should fall back to the provided spell name if it couldn't
+ retrieve one itself
+* don't exit on error but return
diff --git a/var/lib/quill/ChangeLog b/var/lib/quill/ChangeLog
index ada1c78..3fd3e64 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -1,4 +1,9 @@
2007-07-13 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * quill, libcore: fixed argument being lost when no option was passed
+ * HACKING: added with some notes
+ * version: 0.2.8-rc8
+
+2007-07-13 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* quill: fixed bad ruby restoration, savannah switch
* libcore: removed extra tab in savannah quill_help
separated the extra modules in quill_help and updated it
diff --git a/var/lib/quill/modules/libcore b/var/lib/quill/modules/libcore
index 9f30c1a..159f49b 100644
--- a/var/lib/quill/modules/libcore
+++ b/var/lib/quill/modules/libcore
@@ -580,7 +580,7 @@ This is free software. You may redistribute copies of it
under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

-USAGE: quill [OPTIONS] [MODULE <SPELL>]
+USAGE: quill [OPTIONS] [SPELL] [MODULE <SPELL>]
A spell creator and updater.

OPTIONS:
diff --git a/var/lib/quill/version b/var/lib/quill/version
index 561f30a..25031ed 100644
--- a/var/lib/quill/version
+++ b/var/lib/quill/version
@@ -1 +1 @@
-0.2.8-rc7
+0.2.8-rc8



  • [SM-Commit] GIT changes to master quill by Jaka Kranjc (5079c11ee50d80fc9aec0158ac5b5f3c4dfde92a), Jaka Kranjc, 08/29/2007

Archive powered by MHonArc 2.6.24.

Top of Page