luarocks install apisix-xxx.rockspec is still support. But luarocks
install apisix isn't.

Zexuan Luo <[email protected]> 于2021年3月6日周六 上午12:33写道:
>
> Due to a recent accident that we forgot to submit APISIX 2.3 to
> luarocks.org, now I doubt if people will install APISIX via luarocks.
> Since no one complains the 2.3 version is missing in luarocks, maybe
> we can try to remove the luarocks installation in the following steps?
>
> 1. remove luarocks / install-apisix.sh way from
> https://github.com/apache/apisix/blob/master/docs/en/latest/how-to-build.md#installation-via-luarocks-macos-not-supported
> and other docs.
> 2. remove luarocks / install-apisix.sh way from the CI
> 3. mark https://luarocks.org/modules/apisix/apisix as deprecated
> 4. remove luarocks / install-apisix.sh way from the code
>
> 大可 <[email protected]> 于2021年2月2日周二 下午5:06写道:
> >
> > Agree, and luarocks works well.
> >
> > YuanSheng Wang <[email protected]> 于2021年2月2日周二 下午1:52写道:
> >
> > > /usr/local/apisix
> > >
> > > Of course, we expect to put all the files here forever, but unfortunately,
> > > this is not possible.
> > >
> > > For example, if we use `luarocks install apisix`, we have to follow the
> > > standard path of luarocks,
> > > then all of the files will be put to `/usr/share/lua/5.1`.
> > >
> > > So I think we have to accept the current result.
> > > Unless we give up using luarocks to install APISIX.
> > >
> > >
> > >
> > > On Mon, Feb 1, 2021 at 11:17 AM 付长杰 <[email protected]> wrote:
> > >
> > > > Hello everyone
> > > >
> > > > I noticed that we have too many installation paths now.
> > > >
> > > > Like the line 20 to 32 of /bin/apisix, we have :
> > > >
> > > > /usr/share/lua/5.1&nbsp;: by&nbsp;luarocks make&nbsp;or&nbsp;make
> > > > install&nbsp;(at CI)
> > > >
> > > > /usr/local/apisix/&nbsp;: by rpm or docker
> > > >
> > > > /usr/local/apisix/deps/share/lua/5.1/&nbsp;:
> > > > by&nbsp;./utils/install-apisix.sh install
> > > >
> > > > Same problem with the deps :
> > > >
> > > > /usr/share/lua/5.1&nbsp;: by&nbsp;luarocks install&nbsp;(at CI)
> > > >
> > > > /usr/local/apisix/deps/share/lua/5.1/&nbsp;: by rpm or docker
> > > >
> > > > ./&nbsp;: by&nbsp;make deps&nbsp;(now ,we cant install deps to system
> > > > by&nbsp;make)
> > > >
> > > > Should we integrate into&nbsp;/usr/local/apisix/&nbsp;or another path ?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > My issuse is&nbsp;#3463&nbsp;,&nbsp;welcome to discuss .
> > >
> > >
> > >
> > > --
> > >
> > > *MembPhis*
> > > My GitHub: https://github.com/membphis
> > > Apache APISIX: https://github.com/apache/apisix
> > >

Reply via email to