Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Response to Flavien's GPG questions, was Re: Spell GPG Checking Book Page

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: Seth Alan Woolley <seth AT positivism.org>
  • Cc: SM Discuss <sm-discuss AT lists.ibiblio.org>, disk AT sourcemage.org
  • Subject: Re: [SM-Discuss] Response to Flavien's GPG questions, was Re: Spell GPG Checking Book Page
  • Date: Wed, 10 Aug 2005 10:38:24 -0700 (PDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 10 Aug 2005, Seth Alan Woolley wrote:
<snip>
Automatic calling can be done in two hours easily. It would just make it
call unpack_file on all SOURCEn's similar to what summon does, however,
because it _will_ fall back to the old API (the new API is designed to
be safe to call on all SOURCEn's because this was a possible improvement
I was thinking of doing down the road), it could be a bit risky in the
case that somebody specified multiple sources but does not have a
PRE_BUILD file in use (they could have used unpack() in BUILD instead).
At the risk of breaking spells, I think we should wait to add this until
all unpack() is removed from spells (anywhere) and we can finally get
this deprecated function and the old API removed. On the converse
angle, all unpack_file() calls _should_ be in PRE_BUILD or we need to
have a PRE_BUILD defined that overrides the change in the
default_pre_build that would be made on all existing spells before I
would be satisfied nothing "in theory" would break.

So, I can craft a criteria statement:

Once all spells that have no defined PRE_BUILD do have no more
references to unpack() or unpack_file anywhere, we can safely add
automatic unpack_file calling on subsequent SOURCEn's.
<snip>

http://bugs.sourcemage.org/show_bug.cgi?id=9439 has been filed for
this. Whether or not the initial reason for this bug goes through,
PRE_BUILD is still the proper location for calls to unpack and
unpack_file if they're to be called.

- -sandalle

- -- Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC+juTHXt9dKjv3WERAnHFAJ9cYqmOwFat2Dd5JcLqBvV8/EylVACfUiGp
U0XLk5m3vp/3Y+OL0IbYO/E=
=c61w
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page