sm-grimoire AT lists.ibiblio.org
Subject: Discussion of Spells and Grimoire items
List archive
- From: Ladislav Hagara <hgr AT vabo.cz>
- To: sm-grimoire AT lists.ibiblio.org
- Subject: [SM-Grimoire] scribbler ?
- Date: Tue, 02 Sep 2003 17:11:51 +0200
Howdy Source Mages !!!
A lot of Source Mage users want to try varied unofficial grimoires or at
least some spell of them.
They would like to test or even use spells which are not included in
test or stable grimoire.
Some of them would like to use devel grimoire but they are not allowed,
for example discussion about beta version of Gnome.
There are a lot of requests for devel version of spells (xxx-devel).
Source Mage is ideal for testing various alpha and beta versions of
software.
For example I created e-cvs grimoire
http://bugs.sourcemage.org/show_bug.cgi?id=3977 for testing e17, new
version of Enlightenment.
Sorcery has ingenious feature, it support several grimoires. Various
grimoires can contain various version of spells. Users can choose for
them the most appropriate versions of spells.
Maybe it would be fine to have new feature in sorcery. I played a little
with gaze (added option "versions") it writes out versions from all
grimoires:
# gaze versions imlib2
Section Spell Grimoire Version Installed Version
------- ----- ---------------- -----------------
e17_libs imlib2 cvs cvs
Version Grimoire Section
------- -------- -------
--- private ---
cvs e-cvs e17_libs
1.0.6 test graphics
--- z-rejected ---
--- games ---
I suggest new command "scribbler" (of course its name is not important)
which prefer spell from another grimoire.
# scribbler add imlib2 test
root@sourcemage:~# gaze versions imlib2
Section Spell Grimoire Version Installed Version
------- ----- ---------------- -----------------
assorted imlib2 1.0.6 cvs
Version Grimoire Section
------- -------- -------
1.0.6 private assorted
cvs e-cvs e17_libs
1.0.6 test graphics
--- z-rejected ---
--- games ---
If version of spell does not satisfy our demands, it is possible to send
that spell back.
# scribbler remove imlib2
root@sourcemage:~# gaze versions imlib2
Section Spell Grimoire Version Installed Version
------- ----- ---------------- -----------------
e17_libs imlib2 cvs cvs
Version Grimoire Section
------- -------- -------
--- private ---
cvs e-cvs e17_libs
1.0.6 test graphics
--- z-rejected ---
--- games ---
Scribber could prefer all sections:
# scribbler add section gnome2-apps devel
# scribbler remove section gnome2-apps
What do you think about it ?
- lace -
-------------------------------------------------------------
gaze_show_versions() {
local SPELL=$1
local GRIMOIRE=
local GRIMOIRES=
gaze_show_version $SPELL
GRIMOIRES=$(codex_get_all_grimoires)
(
echo "Version|Grimoire|Section"
echo "-------|--------|-------"
for GRIMOIRE in $GRIMOIRES
do
if LONGSPELL=$(codex_cache_spell_lookup $SPELL $GRIMOIRE)
then
codex_set_current_spell $LONGSPELL
echo "$VERSION|$(echo $GRIMOIRE |
get_basenames)|$SECTION"
else
echo "---|$(echo $GRIMOIRE | get_basenames)|---"
fi
done
) | column -t -s "|"
}
-------------------------------------------------------------
#!/bin/sh
# scribbler add/remove spell grimoire
. /etc/sorcery/config
CODEX=/var/lib/sorcery/codex
case $1 in
add)
GRIMOIRE=$(codex_get_all_grimoires | grep $3)
LONGSPELL=$(codex_cache_spell_lookup $2 $GRIMOIRE)
codex_set_current_spell $LONGSPELL
ln -s $CODEX/$3/$SECTION/$2 $CODEX/private/assorted
scribe reindex > /dev/null
;;
remove) rm $CODEX/private/assorted/$2
scribe reindex > /dev/null
;;
esac
-------------------------------------------------------------
-
[SM-Grimoire] scribbler ?,
Ladislav Hagara, 09/02/2003
- Re: [SM-Grimoire] scribbler ?, Hamish Greig, 09/02/2003
- Re: [SM-Grimoire] scribbler ?, Casey Harkins, 09/02/2003
-
Re: [SM-Grimoire] scribbler ?,
Seth Woolley, 09/03/2003
- Re: [SM-Grimoire] scribbler ?, Casey Harkins, 09/03/2003
- Re: [SM-Grimoire] scribbler ?, Ladislav Hagara, 09/03/2003
Archive powered by MHonArc 2.6.24.