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: flux <flux AT sourcemage.org>
  • To: Source Mage Discussion <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] Lua 5.2 migration
  • Date: Sun, 18 Dec 2011 11:56:48 +0900

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

Attachment: pgpC99AuEveY4.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page