Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Lua 5.2 migration

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arjan Bouter <abouter AT sourcemage.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Lua 5.2 migration
  • Date: Sun, 18 Dec 2011 12:25:08 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 18 Dec 2011 11:56:48 +0900
flux <flux AT sourcemage.org> wrote:

> Vlad Glagolev (stealth AT sourcemage.org) wrote [11.12.18 04:00]:
> > Hey,
> >
> > As you can see, Lua 5.2 is in test grimoire now.
> > Lua 5.1 spell was renamed to lua51, and all spells that require it,
> > were fixed in DEPENDS files.
> >
> > I started the migration to Lua 5.2 in devel-lua52 branch. The general
> > idea is to update as many spells as possible to compile and work with
> > 5.2 version.
> >
> > Since we don't have so many at all (maybe a few more than 100), it
> > shouldn't be that hard (and changes are not that essential), but at
> > least prosody must be "polished" (if not by upstream yet) to support
> > this. Until we fix everything, lua51 spell will be kept in grimoire.
> >
> > Feel free to play in that branch, and we will see full Lua 5.2 support
> > in the distro, I think, by 0.63-0.64 in test.
> >
> > Thanks.
>
> Why didn't you just update the lua spell in the branch instead of in
> test? That way none of the spells would have to be changed to lua51, and
> the later migration (when everything is working) would be far simpler.
> This is not only for developers, but also for users.
>
> As it is currently, users will have to switch to lua51. Then when all
> the work is done, they will have to switch *back* to lua. They will also
> need to be instructed to do this, or we will have to add a lot of magic
> to triggers or whatever. The spells themselves will also flip-flop in
> the same manner in the grimoire. This would be opposed to a simple git
> merge devel-lua52 once everything was done, with no adverse effects on
> users.
>
> Is there a reason you updated lua itself in test separately from in a
> branch?
>
> --
> Justin "flux_control" Boffemmyer
> Cauldron wizard and general mage
> Source Mage GNU/Linux
> http://www.sourcemage.org

I agree with Justin, changes like this should be handled with more care.
There are just too many spells to check & fix.

The other path that could be taken for such changes is calling for help on IRC
or the ML and pick a date when you can tackle the testing with a group.
That way problems are found and fixed faster compared to just updating the
spell and hoping for the best.

Thanks,
Arjan Bouter

+===================
Source Mage GNU/Linux developer,
http://www.sourcemage.org
+============
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7tzZQACgkQz74RVHnUsU72ugCfRIMF0FYBZPJ8KEiV7Nj+qh+O
r6MAnRhERH9dmUmPrlN7ROzJbfYW4GGs
=eCAi
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.24.

Top of Page