Lua for Windows on GitHub?

108 views
Skip to first unread message

Ryan Pusztai

unread,
Mar 15, 2011, 8:49:51 AM3/15/11
to luafor...@googlegroups.com
Hi,

I am continuing the discussion here.

2011/3/14 David Manura <dm....@math2.org>
> then for LfW we need a place to track source checkin

You would likely maintain your own repo on github for LfW specific
stuff (e.g. Windows installer scripts).  But all the modules would be
in the main shared meta-repo [1].  The current issues being worked on
in the meta-repo are [2]. 

I was wondering if we could just organize the efforts to one source repository? I think we can just separate the directories by platform.
i.e. 
+ install 
    + windows
        + amd64
        + x86
    + linux
        + amd64
        + x86
    + mac
        + amd64
        + x86

Also Lua for Windows is hosted on GoogleCode so there is an SVN repository already supported there. Should we use that? Should we switch to GitHub? Should we just make the "install/distribute" part of the LuaDist GitHub submodule?

Let's discuss where to place the files to get started.
 -- 
Regards,
Ryan

Peter Drahoš

unread,
Mar 15, 2011, 9:06:09 AM3/15/11
to luafor...@googlegroups.com
I recommend switching to GH and using submodule functionality either to LD or projects relevant to the effort. No need to duplicate the repositories,its better to submit issue to them.

eg:
+ modules
> lua //submodule
> luafilesystem
..
+ install // installers / packaging
+ windows
+ linux
+ darwin
...
+ build.sh // starts build
+ build.bat

pd

steve donovan

unread,
Mar 15, 2011, 9:07:42 AM3/15/11
to luafor...@googlegroups.com
On Tue, Mar 15, 2011 at 2:49 PM, Ryan Pusztai <rpus...@gmail.com> wrote:
> Also Lua for Windows is hosted on GoogleCode so there is an SVN repository
> already supported there. Should we use that? Should we switch to GitHub?
> Should we just make the "install/distribute" part of the LuaDist GitHub
> submodule?

Well, personally speaking SVN always gives me a headache - and Git
allows the killer feature of keeping separate but synchronized
repositories.

Where the actual binaries go, is probably a separate issue. I think
it's easier to host them as static files so that people don't need Git
directly, only us actual developers. Would make sense to set up a
luarocks repository populated with binary rocks for the supported
platforms.

We could offer a small, basic install which has an easy GUI interface
to luarocks (which of course can always be used from the
command-line).

One thing which is very much on my mind is the perceived 'extra value'
which we are offering people who are presumably reasonably happy with
the existing LfW. One of the things offered would be 'batteries on
demand' although a 15 meg download is probably not considered
heavyweight anymore. Some of the components will be fresher (e.g. new
SciTE 2.11 +) but I would like to see a more integrated help system
(which is probably a utopian ideal given the wide range of
documentation styles actually offered)

Another serious value-add would be a 'Lua for Windows Cookbook'
bringing together the tricks and tips needed to do real-life things.

This is perhaps outside the scope of our current discussions about
building, of course.

Another value-add is that the source is all available and found in the
same place. For this the LuaDist repositories would work well.

For 32-bit, can offer LuaJIT2.0 as an alternative to vanilla Lua - so
LfW can advertise itself as a distribution build around the fastest
dynamic language implementation on the planet. That remains a very
cool thing.

As for 64-bit Windows, mingw64 cannot yet handle the 64-bit Windows
exception handling that LuaJIT demands. A small obstacle on the road
to global domination

steve d.

steve donovan

unread,
Mar 15, 2011, 9:14:27 AM3/15/11
to luafor...@googlegroups.com
On Tue, Mar 15, 2011 at 3:06 PM, Peter Drahoš <dra...@gmail.com> wrote:
> I recommend switching to GH and using submodule functionality either to LD
> or projects relevant to the effort. No need to duplicate the
> repositories,its better to submit issue to them.

Yes, it's a good idea to have one canonical place where an interested
party can find the source to modules, which becomes the place where
issues are raised and patches are made.

The users of a particular distribution of course use the provided
channels, but the distribution maintainers have a central place to
keep issues and fixes.

I have a preference for keeping final binaries on a static webserver,
but the name & location of that is immaterial.

steve d.

Peter Drahoš

unread,
Mar 15, 2011, 9:19:31 AM3/15/11
to luafor...@googlegroups.com

On Mar 15, 2011, at 2:14 PM, steve donovan wrote:

> ...


> I have a preference for keeping final binaries on a static webserver,
> but the name & location of that is immaterial.

Just a small note. GitHub supports downloads, not just for the repository tags/releases but any uploaded file. Linking that to a static site works well and GH can even host that. No additional infrastructure required.

pd

steve donovan

unread,
Mar 15, 2011, 9:27:53 AM3/15/11
to luafor...@googlegroups.com
On Tue, Mar 15, 2011 at 3:19 PM, Peter Drahoš <dra...@gmail.com> wrote:
> Just a small note. GitHub supports downloads, not just for the repository tags/releases but any uploaded file. Linking that to a static site works well and GH can even host that. No additional infrastructure required.

Yeah, I was thinking of the interesting things that happen when you
put a tag release URL into a rockspec ... so the actual uploaded files
are served statically?

I presume there is some API to mechanize this since it could get
rather tedious otherwise. The GH static site support is particularly
easy to automate.

steve d.

Peter Drahoš

unread,
Mar 15, 2011, 9:34:23 AM3/15/11
to luafor...@googlegroups.com
On Mar 15, 2011, at 2:27 PM, steve donovan wrote:

On Tue, Mar 15, 2011 at 3:19 PM, Peter Drahoš <dra...@gmail.com> wrote:
Just a small note. GitHub supports downloads, not just for the repository tags/releases but any uploaded file. Linking that to a static site works well and GH can even host that. No additional infrastructure required.

Yeah, I was thinking of the interesting things that happen when you
put a tag release URL into a rockspec ... so the actual uploaded files
are served statically?
yes, GH previously showed "Hardcore Packing Action" notice. It does not now and files seem to be served statically.


I presume there is some API to mechanize this since it could get
rather tedious otherwise.  The GH static site support is particularly
easy to automate.
Yes, the GH API[1] is another killer feature .. also hooks are rather well made too, check service hooks under any project administration.

pd

Thijs Schreijer

unread,
Apr 9, 2012, 6:27:33 AM4/9/12
to luafor...@googlegroups.com
 Should we switch to GitHub? 

besides all the other points mentioned in this thread, would it be possible to just start with github?
If not,  is there another way I could get access to the sources?

Peter Drahoš

unread,
Apr 10, 2012, 11:11:40 AM4/10/12
to luafor...@googlegroups.com
There is an ongoing effort on GitHub to reproduce the Lua For Windows functionality in a cross-platform manner, see the "Batteries" discussion on the list. We are currently in a pre-rc release stage where bugs are being hunted down and continuous integration builds are being set up. For sources see the LuaDist/Repository[1] for all available sources and LuaDist/batteries[2] meta-package for list of modules intended for "Batteries" release. Note, all packages are built using CMake.

pd

PS: Binary 0.8 release is available in the Downloads section [3]


steve donovan

unread,
Apr 10, 2012, 11:55:48 AM4/10/12
to luafor...@googlegroups.com
On Tue, Apr 10, 2012 at 5:11 PM, Peter Drahoš <dra...@gmail.com> wrote:
> There is an ongoing effort on GitHub to reproduce the Lua For Windows
> functionality in a cross-platform manner

This is (I think) the only sane way forward, since it lets us easily
switch to (say) mingw for LfW, and provide a very similar Lua
distribution for Linux and OS X.

(CMake may make my eyes bleed, but it does get the job done!)

steve d.

Reply all
Reply to author
Forward
0 new messages