Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to rebase 3.10.0 #22

Closed

Conversation

oleg-jukovec
Copy link

No description provided.

@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/luarocks-3.10.0-rebase branch from 3121d38 to 8fbbd14 Compare November 10, 2024 17:21
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/luarocks-3.10.0-rebase branch from 8fbbd14 to 3668089 Compare November 10, 2024 17:29
oleg-jukovec and others added 2 commits November 10, 2024 20:57
There are some problems on macos-13 and we don't interesting in the
coverate for the repo.
* Skip external commands loading if no external_namespace provided: it
  is so when a command is run using `tarantoolctl rocks <command>`.

* Allow to omit a description field in a rockspec.

* Configure more options using hardcoded.lua (it is named as
  site_config.lua in luarocks-2.x).

  Based on or inspired by the following commits:

  - 9f55766 ('Add LUAROCKS_LOCAL_BY_DEFAULT option to site_config.lua').
  - e3f7486 ('Allow to override certain values in cfg.lua').
  - dba49e0 ('Enable cfg.home_tree even for root').
  - 6e6fe62 ('Add site_config.LUAROCKS_LOCALDIR config variable').

  The following options are added for hardcoded.lua:

  - LOCALDIR
  - LOCAL_BY_DEFAULT
  - HOMEDIR
  - HOME_TREE_SUBDIR
  - LUA_MODULES_LUA_SUBDIR
  - LUA_MODULES_LIB_SUBDIR
  - ROCKS_SERVERS

  The following options are ported from luarocks-2 (and renamed from
  LUAROCKS_FOO to FOO):

  - ROCKS_SUBDIR
  - EXTERNAL_DEPS_SUBDIRS

  All that options are needed to adjust behaviour of luarocks from
  tarantool-side hardcoded.lua file.

* Detect tarantool and add it to rocks_provided and rocks_provided_3_0.

  Based on:

  - 370d173 ('Detect and add Tarantool it to rocks_provided)'

* Execute cfg.init() code only once.

* Fixed strict mode.

  Inspired by:

  - dfaf765 ('Fix strict mode').

* Dropped site_config.lua support: tarantool doesn't use it anymore.
@oleg-jukovec oleg-jukovec force-pushed the oleg-jukovec/luarocks-3.10.0-rebase branch 2 times, most recently from 9c8b118 to 4e8827d Compare November 10, 2024 19:17
@oleg-jukovec
Copy link
Author

It looks like there's too much work to do here. Let's just rebase to the latest version, see #24 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants