sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE
- Date: Fri, 1 Apr 2005 19:33:24 -0800 (PST)
http://bugs.sourcemage.org/show_bug.cgi?id=8494
------- Additional Comments From acedit AT armory.com 2005-04-01 19:33 -------
Fixed in devel at change 56690, I'll integ to test and close this after some
more testing is done.
Heres the low down:
REPAIR files can be in spell directories, section directories or the grimoire
base.
The format of the filename is:
REPAIR^ID^FILENAME (yes the seperator is ^ since version fields have .'s in
them
I wanted something un-ambiguous, if this is a problem I can switch to some
other
seperator.
FILENAME can be anything, its not limited to spell files, you can replace a
patch file if you really want to.
ID can be one of the four things:
a spell's version
a spell's UPDATED field
the md5sum of FILENAME
the exact string 'none'
The first two are relatively straightforward, if FILENAME exists in the
spell/section/grimoire dir and the spell's version or updated field matches
ID,
then the file is replaced. If the md5sum of the file in the tablet is the same
as ID then the file is replaced. (remember that theres a section/grimoire dir
for each spell).
If the file does NOT exist in the tablet, AND the value of ID is 'none' the
file
is added.
So, you can replace any spell file, or section/grimoire library very easily
now.
It doesnt make a whole lot of sense to use the version or updated values for
section and grimoire files, but they're there if you want it.
An optimization is put in place such that if we are going to replace the file
and the file's md5sum is the same as the repair file we skip the replace since
the replace has presumably already been done.
Cache files are not updated at this time since it required repackaging of
tarballs, and thats more work, I'll probably implement that in 1.13 and pull
it
into another 1.12 release if need be.
The entire tablet is scrubbed after each scribe update. cleanse --tablet also
will do this. There is an additional option to cleanse, --tablet_spell which
takes a single parameter as a spell name to scrub so you can quickly verify
that
things are working without scrubbing the entire tablet.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
-
[SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE,
bugzilla-daemon, 04/01/2005
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE, bugzilla-daemon, 04/04/2005
- [SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE, bugzilla-daemon, 04/04/2005
- [SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE, bugzilla-daemon, 04/04/2005
- [SM-Sorcery-Bugs] [Bug 8494] fix tablet and broken POST_REMOVE, bugzilla-daemon, 04/05/2005
Archive powered by MHonArc 2.6.24.