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

Make all built-in modules visible by default in the interactive console #5596

Open
Totktonada opened this issue Dec 3, 2020 · 1 comment
Labels
app breaking change feature A new functionality lua raw idea srv.info Collection of maintenance tickets about box.info like interfaces
Milestone

Comments

@Totktonada
Copy link
Member

Tarantool version: 2.7.0-74-g71377c28e.

It would be convenient to use, say, fiber.info() without explicit fiber = require('fiber') in the interactive console. The same for all other built-in Lua modules.

I would not place them all into _G: it would direct users to omit explicit require calls in modules and applications that may look confusing for a reader. I guess we can run a code from the interactive console in a specific scope, which contains all those variables.

The idea was issued by @Mons, when we forgot a require call at writting a code snippet in the console.

@Totktonada Totktonada added feature A new functionality raw idea lua good first issue Good for newcomers app labels Dec 3, 2020
@kyukhin kyukhin removed the good first issue Good for newcomers label Dec 3, 2020
@Mons Mons added the backlog label Dec 3, 2020
@Totktonada Totktonada added the 2sp label Dec 20, 2020
@Mons Mons added the srv.info Collection of maintenance tickets about box.info like interfaces label Feb 19, 2021
@kyukhin
Copy link
Contributor

kyukhin commented Jul 29, 2021

Looks like a feature for the 3 series.

@kyukhin kyukhin added the teamL label Jul 29, 2021
@kyukhin kyukhin added this to the wishlist milestone Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app breaking change feature A new functionality lua raw idea srv.info Collection of maintenance tickets about box.info like interfaces
Projects
None yet
Development

No branches or pull requests

4 participants