owned this note changed a year ago
Published Linked with GitHub

Nushell core team meeting 2024-01-10

Attendees

  • Storm
  • Sophia
  • Ian
  • Jakub
  • Antoine
  • Ysthakur
  • Darren

Agenda

  • (@amtoine) Nupm: avoid use ../../foo/bar.nu
    • Something analogous to Rust's crate?
  • autoload: Load all modules from NU_AUTOLOAD_DIRS
  • (@Ian) Job control:
    • Commands:
      • job start <closure>: starts new thread and job, returns job id
      • job list: similar to ps
      • job wait [id]
      • job kill [id]
      • job switch [id]?
      • job resume [id]?
      • job pause/stop [id]??
    • Exit codes

Discussed Topics

Relative imports

Sophia:
We need to preserve being able to move directories freely.
The .. feels like a good fit for a shell, let's keep it, not necessary to have super keyword.
Jumping to project root could be useful (like Rust's crate).

Amtoine:
One other possibility is to run tests with package root auto-added to NU_LIB_DIRS.

autoload

Sounds good.

One concern is performace: Adding too much into the autoload directory could affect startup time. But it can be disabled by removing autoload from config, or customizing NU_AUTOLOAD_DIRS.

Job control

Threads vs. processes?
Difference between REPL and script:
* In REPL, jobs should terminate when REPL ends (or shouldn't?)
* In a script, jobs should keep running after evaluation of the script is done

Issues

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
the issues which needs-core-team-attention

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Note
to list all the PRs currently opened in nushell/nushell:

gh pr list --json url,number,author,title
| from json
| each {|i|
    $"- [($i.number)]\(($i.url)\) ($i.title) \(@($i.author.login)\)"
}
| reverse
| to text
Select a repo