Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] same version different sources

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: seth AT swoolley.homeip.net
  • To: Eric Sandall <eric AT sandall.us>
  • Cc: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] same version different sources
  • Date: Fri, 19 May 2006 09:57:28 -0700

On Fri, May 19, 2006 at 07:33:36AM -0700, Eric Sandall wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ladislav Hagara wrote:
> >> ==== //sgl/grimoires/devel/devel/tcl/DETAILS#8 (xtext) ====
> >>
> >> -
> >> SOURCE_HASH=sha512:f09e860a5c6408f32b8ce297d88952b8e670780eb5121b7e81b9db7e48a8b43899ad14eb31ad52d635dac71d46e2cec5db4361b4b44f6dcd5ba0d93741451fa8
> >>
> >> +
> >> SOURCE_HASH=sha512:2d89b21af314c1416747886873ef00478088b2bfcba4404c099a8dfb39737b8b6d29942376e9a0f9cfec9ecd6a09d0822b55b6ec2587e042acdcdebbef4b0d3c
> >>
> >>
> >> ==== //sgl/grimoires/devel/devel/tcl/HISTORY#10 (text) ====
> >>
> >> +2006-05-19 Arwed v. Merkatz <v.merkatz AT gmx.net>
> >>
> >> + * DETAILS: fixed SOURCE_HASH, bug #11553
> >>
> >
> > Just small idea/problem I have thought several times.
> >
> > Now different users have different sources.
> >
> > If new sources fix some problem users using old sources still have that
> > problem.
> >
> > Two users with the same version of spell can have applications with
> > different behaviour.
> >
> > What about something like "summon -f" for all users with old sources?
>
> The 'safest' fix would be to set FORCE_DOWNLOAD="on" for tarballs that
> change without a new version, thus 'punishing' the stupid upstream
> people who do so. However, this would also 'punish' our users who may
> have metered/limited downloads. :(
>
> You could, perhaps, do some magic in DOWNLOAD where you do a
> `verify_file` and if it fails, remove the 'old' tarball and start a
> download, otherwise exit successfully.

I actually had code to do this for the povray spell about four years
ago. I just had it run during DEPENDS resolution (remove old tarballs
that match a certain md5), but I suppose it could have been done in
PRE_BUILD and used && default_pre_build since that would have happened
before unpacking, but I didn't know all these details back then.




Archive powered by MHonArc 2.6.24.

Top of Page