Skip to Content.
Sympa Menu

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

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master quill by Jaka Kranjc (de80bfb1e65f3c983ab12b46885e99a820a8ab36)
  • Date: Fri, 26 Jan 2007 16:00:15 -0600

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

usr/bin/quill | 15 ++++++++++++---
var/lib/quill/ChangeLog | 3 ++-
var/lib/quill/modules/libcore | 21 ++-------------------
3 files changed, 16 insertions(+), 23 deletions(-)

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

fix the poor previous attempt

diff --git a/usr/bin/quill b/usr/bin/quill
index 1cd55dd..a9400cc 100755
--- a/usr/bin/quill
+++ b/usr/bin/quill
@@ -1,7 +1,7 @@
#!/bin/bash
#---
## @Synopsis Spell creator script for SourceMage GNU/Linux
-## @Copyright Copyright 2006 SourceMage GNU/Linux
+## @Copyright Copyright 2006-2007 SourceMage GNU/Linux
## @License GPL v2 or higher
##
## @ToDo Add option to use upstream gpg signature as included or
@@ -10,8 +10,6 @@
## @ToDo single line or multiline depending on the length of line if
## @ToDo <80 single else multi
## @ToDo Interface to add CONFIGURE options
-## @ToDo Automated bugcli submissions of spells
-## @ToDo Add a better configuration interface(dialog based I hope)
## @ToDo Make quill the be-all for spells
##
## Asks the user in simple questions about generating a spell.
@@ -111,6 +109,17 @@ BUILD_API=2
load_build_api
mkdir -p $QUILL_TMP_DIR

+# devel sorcery function
+if ! declare -f codex_get_spell_paths &> /dev/null; then
+ function codex_get_spell_paths() {
+ local SPELL_DIRECTORY=$1
+ SECTION_DIRECTORY=${SPELL_DIRECTORY%/*}
+ SECTION=${SECTION_DIRECTORY##*/}
+ GRIMOIRE=${SECTION_DIRECTORY%/*}
+ GRIMOIRE_NAME=$(basename $GRIMOIRE)
+ }
+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 a098990..540098f 100644
--- a/var/lib/quill/ChangeLog
+++ b/var/lib/quill/ChangeLog
@@ -1,7 +1,8 @@
2007-01-25 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libupdate: added -quit to the find in copy_git_sub to speed it up
* libcore: fix version print in quill_help
- add codex_get_spell_paths fallback
+ * quill: add codex_get_spell_paths fallback
+ * libcore, quill: copyright 2007
* version: 0.2.1

2007-01-24 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
diff --git a/var/lib/quill/modules/libcore b/var/lib/quill/modules/libcore
index 3153e3a..06733e9 100644
--- a/var/lib/quill/modules/libcore
+++ b/var/lib/quill/modules/libcore
@@ -409,7 +409,7 @@ function dump_default_function() {
function quill_version() {

message "quill - $QUILL_VERSION
-Copyright (C) 2006 Source Mage
+Copyright (C) 2006-2007 Source Mage
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.
@@ -482,7 +482,7 @@ function query_msg() {
function quill_help() {

message "quill $QUILL_VERSION
-Copyright (C) 2006 Source Mage
+Copyright (C) 2006-2007 Source Mage
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.
@@ -517,23 +517,6 @@ EXAMPLES:


#---
-## @Synopsis function that displays help and exits
-#---
-function codex_get_spell_paths() {
- local SPELL_DIRECTORY=$1
- if declare -f codex_get_spell_paths &> /dev/null; then
- codex_get_spell_paths $SPELL_DIRECTORY
- else
- function codex_get_spell_paths() {
- SECTION_DIRECTORY=${SPELL_DIRECTORY%/*}
- SECTION=${SECTION_DIRECTORY##*/}
- GRIMOIRE=${SECTION_DIRECTORY%/*}
- GRIMOIRE_NAME=$(basename $GRIMOIRE)
- }
- fi
-}
-
-#---
##
## This software is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by



  • [SM-Commit] GIT changes to master quill by Jaka Kranjc (de80bfb1e65f3c983ab12b46885e99a820a8ab36), Jaka Kranjc, 01/26/2007

Archive powered by MHonArc 2.6.24.

Top of Page