Nushell core team meeting 2022-12-21

Attendees

  • JT
  • Jakub
  • Michael
  • Darren
  • Stefan
  • CBenoit

Agenda

  • Lightning: Initial feedback release
  • Status: fall through signatures (kubouch/windsoilder)
  • null coalescing cell paths (rgwood)
  • JT updates
  • How to onboard contributors that have some time on their hands over the holidays
  • Are there bigger projects planned for this release cycle?
  • explore mode
  • Proposal: Not requiring sub-expression on the right hand side of assignments
    • let x = ls | length
      • vs. let x = (ls | length)
    • $str += [ a b c ] | str collect
      • vs. $str += ([ a b c ] | str collect)
    • $env.PATH |= prepend /foo/bar | append /bar/foo
      • vs. $env.PATH |= (prepend /foo/bar | append /bar/foo) (doesn't work in my PR)

Discussed Topics

Release process

We recorded notes about doing the release process with JT
Release Process Notes

  • Winget again a struggle (wix workflow contains some nu code that was affecte by breaking change)
    • Darren released a binary manually

Community feedback:

  • explore mode
    • People are interested in it but we/JT might wait with a video until the kinks are polished

fall through signature (kubouch)

Work by WindSoilder and then Jakub to allow external commands to use flags not defined in extern definition.

Our rules are to strict for all commands in the wild

Now also supporting exec (not as strict rules as regular commands)

Jakub's PR should support most (vote to land)
https://github.com/nushell/nushell/pull/7527

(might still be some edge cases)

-0 will get parsed as int and this removes flag

-- should be handled now

Release / holidays

JT will take some time off in the new year

Next release let's try to do it with JT hands off

Create a new github team and retry the cargo stuff with the new team
(CBenoit mentioned issues with deleted/recreated teams)

Good first issues

Provide some fodder for people having some time over the holidays and want to get started contributing or honing their Rust skills.

explore command

work ongoing to make it more seamless:

  • consistent color config
  • less hard modal switch

Projects on the horizon

  • consts (jakub) MVP for parse time constants
  • null coalescing cell paths (reilly)
  • needing less subexpression and a pipe assignment operator (Jakub)
    • |= as a potential new operator
      • needs a change in lite_parser
    • Would allow you to save parens around assignment
    • Proposal: Not requiring sub-expression on the right hand side of assignments
    • let x = ls | length
      • vs. let x = (ls | length)
    • $str += [ a b c ] | str collect
      • vs. $str += ([ a b c ] | str collect)
    • $env.PATH |= prepend /foo/bar | append /bar/foo
      • vs. $env.PATH |= (prepend /foo/bar | append /bar/foo) (doesn't work in my PR)
    • Problem: Identifying what is a command and what is a bare string
    • Way forward try to omit parens on let and gather feedback -> incremental improvement

Next weeks meeting is between the holidays and will be skipped

Select a repo