Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery] Addition to sorcery / DETAILS

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: sm-sorcery <sm-sorcery AT lists.ibiblio.org>
  • Subject: Re: [SM-Sorcery] Addition to sorcery / DETAILS
  • Date: Sat, 27 Dec 2003 22:31:51 -0500

I actualy view this problem as high than a feature request. This
behaviour breaks updates in the most difficult cases, several
simultaneous updates of interconnected spells (ex gnome2). In situations
like that it is non-trivial for a human to sift through the
dependancies, and is exactly the situation where the scripts should
help.

I have been poking at this and believe that I can actualy do it
quickly... it looks like it'll be an extra 10s (perhaps as little as 3s)
at the end of the dependancy step of a cast.

Here is a preview of what I'm thinking:
awk -F: '$3=="on"{
spells[$1]=spells[$1]" "$2" ";
}
END{
for(spell in spells)
printf("%s: %s\n\techo %s\n", spell,
spells[spell], spell);
}' /var/state/sorcery/depends

Is a 10s hit acceptable?

On Sat, 2003-12-27 at 19:11, Hamish Greig wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, 28 Dec 2003 02:16, Robert Helgesson wrote:
> > On Thu, Dec 25, 2003 at 01:38:26 -0600, Mike Sylvester wrote:
> > > First time posting, so apologies if this is already out there
> > >
> > > I've been using sourcemage now for a few months and I love it, nest
> > > distro i've ever had, anyways to the point.
> >
> > Happy to hear that :)
> >
> > > The one thing that annoyed me is that a system rebuild seems to depend
> > > more on when the spells were installed and not the proper compile order,
> > > what I propose may not be vary easy but I think will make the distro
> > > much stronger as a whole.
> >
> > [snippity snip]
> >
> > There is an existing bug related to this problem, bug #3765
> > <http://bugs.sourcemage.org/show_bug.cgi?id=3765>. I don't know very
> > much about this issue but I don't think adding further information to
> > the spells should be required since at least theoretically you can
> > calculate the entire dependency tree based on the DEPENDS files. I
> > suspect that it's quite a difficult thing to do though :)
> >
> > Best regards.
>
> I agree, the DEPENDS listings would be enough to ensure ordering is correct.
> It has not been implemented yet though, apparently it would considerably
> slow
> down casting and the dependency generating stage of sorcery rebuild. It was
> also considered an enhancement, not a bug, and many other outstanding bugs
> have taken precedence.
> Hamish
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/7h+b8fSufZR6424RAvWmAJ4mRUVp3PLd2Du5l8FLC3swwaqC+wCcD0TM
> UPp6DHJp4FezX8UvczAB7r4=
> =6tsY
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
--
De mortuis nihil nisi bonum.

What is that funny looking stuff in the attachment?
http://www.technomom.com/cynthia/pgp/

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page