Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]cast --resume <spell>

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
  • To: Sergey A Lipnevich <sergeyli AT pisem.net>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]cast --resume <spell>
  • Date: Tue, 10 Dec 2002 16:03:06 -0500 (EST)

Such a thing cannot be reliably added without quite a bit of code added
(checkpoints would be needed). It is possible however, to make a custom
hacked cast which does what you want. It's not something that will make it
into 1.0.
Alternativly, you could tar the source and stick it in spool and change
the DETAILS for testing purposes.

On Tue, 10 Dec 2002, Sergey A Lipnevich wrote:

> Hi All,
>
> I'm debugging a DEPENDS/BUILD combination for Subversion spell that
> doesn't provide a source tarball, so every time I decide to cast, I have
> to download the source from the Subversion repository for the test to be
> realistic. I'm thinking of writing something like url_cvs handler, but
> in the meantime, here's an idea.
> Will it possible/useful to add a "resume" option to cast to be able to
> start from BUILD phase again? The logic will be:
> 0. Skip everything before prebuild phase if "--resume" is specified,
> only accumulate $OPTS;
> 1. Check the $SOURCE_DIRECTORY, fail if it doesn't exist and "--resume"
> (or "--build") is specified, otherwise (not in "resume") run
> default_prebuild;
> 2. If we're in "resume" mode, either do `make distclean`, or call some
> special spell script like CLEANDIST or something
> Is it too narrow to just be able to replay from build phase? Any other
> deficiencies?
> Thanks!
>
> Sergey.
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
>

--


Quidquid latine dictum sit, altum sonatur.
-----------------
PGP public key at
http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x3327A9A5
F1






Archive powered by MHonArc 2.6.24.

Top of Page