ledge icon indicating copy to clipboard operation
ledge copied to clipboard

Where are released being cut?

Open hhff opened this issue 4 years ago • 6 comments

Hi there!

Thanks so much for all the hard work on ledge. Can I ask, where are released being cut to?

The latest I can find on OPM is 2.1.2. How is everyone installing up to 2.3.0?

hhff avatar May 22 '20 03:05 hhff

Hi, ah yes, we had been using luarocks and opm, but that habit appears to have broken down. You can download releases manually here: https://github.com/ledgetech/ledge/releases

But I will try to get opm and luarocks up and running again...

pintsized avatar Jun 01 '20 15:06 pintsized

Thank you, @pintsized !

Is there any documentation on that process? I haven't installed a lua package from Git before :)

hhff avatar Jun 01 '20 15:06 hhff

Really it's just about ensuring the contents of the lib directory are placed wherever your lua_package_path is, so that you can require("ledge") and it will find ledge.lua.

There was an old convention to use the Makefile, but I just checked and that looks broken too :/

In the wild, some kind of CI will checkout the repo at a tag and place the files in the lua_package_path, but of course this requires manual dependency management.

I will try and fix this up, I hadn't realised it had gotten so out of shape.

pintsized avatar Jun 01 '20 16:06 pintsized

thank you @pintsized !

So I'll just have my dockerfile pull the repo from git, and move the files into the right place 👍

Appreciate it!

hhff avatar Jun 01 '20 16:06 hhff

That would work, you could also use the release tarball URL e.g. https://github.com/ledgetech/ledge/archive/v2.3.0.tar.gz

Should probably switch to GH Actions and use the release event to push to OPM/Luarocks ;) @pintsized

hamishforbes avatar Jun 01 '20 16:06 hamishforbes

Awesome. Thanks both. Ledge is awesome. You're doing very cool work!

hhff avatar Jun 01 '20 17:06 hhff