openresty / lua-cjson

Lua CJSON is a fast JSON encoding/parsing module for Lua
http://www.kyne.com.au/~mark/software/lua-cjson.php
MIT License
433 stars 118 forks source link

question re: luarocks packaging and releases #96

Open flrgh opened 11 months ago

flrgh commented 11 months ago

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.

Tieske commented 11 months ago

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.

flrgh commented 11 months ago

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

SSE4 commented 3 months ago

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

Tieske commented 3 months ago

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 ?

zhuizhuhaomeng commented 3 months ago

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

Tieske commented 3 months ago

@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 commented 3 months ago

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

Tieske commented 2 months ago

@zhuizhuhaomeng any update on this? anything you need?

zhuizhuhaomeng commented 2 months ago

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.

Tieske commented 2 months ago

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

hishamhm commented 2 months ago

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.