lua-cjson icon indicating copy to clipboard operation
lua-cjson copied to clipboard

question re: luarocks packaging and releases

Open flrgh opened this issue 2 years ago • 12 comments

We've noticed the luarocks package of lua-cjson has not been updated in some time:

image

I'm aware the most up-to-date version is bundled with OpenResty itself, but many projects (resty-related and otherwise) take lua-cjson as a dependency.

Is it possible to publish an updated package to luarocks? Perhaps this should come with a new tag/release as well, as there has been at least one important bugfix merged since 2.1.0.12.

flrgh avatar Oct 11 '23 23:10 flrgh

Yes, I need this as well, as currently the lua-resty-ljsonschema library which depends on lua-cjson will install an outdated version on an up-to-date OpenResty system.

Tieske avatar Oct 12 '23 12:10 Tieske

@zhuizhuhaomeng sorry to ping you directly, but is there anything that can be done about this?

flrgh avatar Oct 17 '23 23:10 flrgh

bump, there is already 2.1.0.13 tag, is it possible to publish new versions to luarocks.org?

SSE4 avatar Jun 06 '24 06:06 SSE4

Great to see #84 by @hishamhm was merged. So all that's left is a new release and upload to LuaRocks.

Anything we can do to facilitate @zhuizhuhaomeng ?

Tieske avatar Jun 11 '24 17:06 Tieske

@Tieske I didn't use the LuaRocks before? Would you please prepare the script for LuaRocks?

zhuizhuhaomeng avatar Jun 12 '24 04:06 zhuizhuhaomeng

@zhuizhuhaomeng there is little to it, ensure you have Luarocks installed, and have the Apikey handy, then from the repo do:

	luarocks upload lua-cjson-2.1.0.14-1.rockspec --api-key=<your api-key>

Tieske avatar Jun 17 '24 13:06 Tieske

There are also github actions that can automate this process, see https://github.com/lunarmodules/busted/blob/master/.github/workflows/deploy.yml

Tieske avatar Jun 17 '24 13:06 Tieske

@zhuizhuhaomeng any update on this? anything you need?

Tieske avatar Jun 28 '24 13:06 Tieske

I don't know how to find the email of the account "openresty". Do you know the email of the luarock maintainer? I would like to contact them to recover the account.

zhuizhuhaomeng avatar Jun 28 '24 15:06 zhuizhuhaomeng

@hishamhm can you provide @zhuizhuhaomeng with the email address of the OpenResty LuaRocks account?

Tieske avatar Jun 29 '24 11:06 Tieske

Do you know the email of the luarock maintainer? I would like to contact them to recover the account.

@zhuizhuhaomeng I emailed the address to the gmail address that is in your Github account info.

hishamhm avatar Jul 12 '24 12:07 hishamhm

@zhuizhuhaomeng any update on this?

Tieske avatar Sep 26 '24 08:09 Tieske