[arch-projects] Patch for version strings

eliott eliott at cactuswax.net
Sun Sep 30 13:36:00 EDT 2007

On 9/30/07, Paul Mattal <paul at mattal.com> wrote:
> tardo at nagi-fanboi.net wrote:
> >> Here's a bug: pages other than index.php show $Id$ instead of Version:
> >> 1.4.0
> >>
> >> Category and Name are squashed together (table header in
> >> packages.php). Same for      Votes Voted Description
> >>
> >
> > Fix version strings.
> > Now you should only have to change AUR_VERSION in web/lib/config.inc and
> > updates will be reflected across the site. KISS ftw.
> > http://git.nagi-fanboi.net/?p=aur.git;a=commitdiff;h=6ec55dc3523a2cc5789f6627b404cb1feb47f1a1
> The problem with this fix is that config.inc is intentionally NOT
> upgraded when we upgrade code, so it will fall to the user to have to
> remember to upgrade the version string which is exactly what we don't want.
> So maybe we could put the define in aur.inc instead, or someplace else
> that always gets included? I think aur.inc is always included.
> - P

How about we make a one time change to config.inc to include
version.inc at the top.
Then have a new file (version.inc) with nothing more than a define for
the version variable.

aur.inc is messy enough. I would hate to start getting more random
defines in there.

More information about the arch-projects mailing list