Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (5446305ebd73ef1d686359015f1f2850be91202b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (5446305ebd73ef1d686359015f1f2850be91202b)
  • Date: Tue, 17 Jun 2008 16:30:09 -0700

Quoting Arjan Bouter <abouter AT sourcemage.org>:
On Tue, Jun 17, 2008 at 09:42:07PM +0200, Jaka Kranjc wrote:
On Tuesday 17 of June 2008 21:26:15 Arjan Bouter wrote:
> --- /dev/null
> +++ b/wm-addons/amazing/DETAILS
> @@ -0,0 +1,22 @@
> + SPELL=amazing
> + VERSION=0.1
> + SOURCE=$SPELL.tar.bz2
> + FORCE_DOWNLOAD=on
> + SOURCE_IGNORE=volatile
> + SOURCE_URL[0]="git://github.com/dag/amazing.git:amazing"
> +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
> + WEB_SITE=http://amazing.rubyforge.org
> + ENTERED=20080617
> + LICENSE[0]=GPL
> + SHORT="Widget manager for the awesome window manager"
This looks like a normal SCM spell, so it should have a proper version or
point to a release branch (it doesn't appear so). With a static version the
spell will not get queued on sorcery queue until someone bumps it again. And
some people may want to update it on every queuing, so the autoupdate query
could be beneficial too (dated versions). Or did I miss something?

Well, you've got a point. But as this is an scm-only spell that's not
changing much and uses version numbers in the gemspec file I thought I
might as well check for updates along with updates to awesome.

Auto queuing would tar/untar for nothing most of the time, while
switching that off would mean it never updates...

That's why we have those queries in PREPARE to set the VERSION to "svn" (or whatever SCM they are using) or "$(date +%Y%m%d)". The wine spell has an example of this, as well as many others.

-sandalle

--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285





Archive powered by MHonArc 2.6.24.

Top of Page