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

Help Wanted: Port the before_v.060 scripts #221

Open
fdncred opened this issue May 16, 2022 · 2 comments
Open

Help Wanted: Port the before_v.060 scripts #221

fdncred opened this issue May 16, 2022 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@fdncred
Copy link
Collaborator

fdncred commented May 16, 2022

It would be great to get all the "old" scripts ported to the latest version of nushell. Anyone want to help with it?

The steps would be something like this:

  1. Take a script or folder from the nu_scripts/before_v0.60 path
  2. Copy it and/or create the folder and copy it to the root of the repo
  3. In the newly created copied script/folder, update the nushell syntax to support the latest nushell
  4. Submit a PR. One at a time or a bunch at a time.

Any takers?

@fdncred fdncred added good first issue Good for newcomers help wanted Extra attention is needed labels May 16, 2022
@fdncred fdncred pinned this issue May 16, 2022
@Yethal
Copy link
Contributor

Yethal commented May 22, 2022

Sure, I can take a few

@39555
Copy link
Contributor

39555 commented May 4, 2024

I'm starting to slowly port all scripts. Here is my autogenerated checkup list for tracking the progress.

Check list
  • from: source before_v0.60 location
  • to: has already been ported, but not yet deleted from before_v0.60
  • null : hasn't been ported yet
  • before_v0.60/make_release/this_week_in_nu_weekly.nu
from: before_v0.60/make_release/this_week_in_nu_weekly.nu
to: make_release/this_week_in_nu_weekly.nu
functions:
  do-work: query-week-span
  • before_v0.60/make_release/nu_release.nu
from: before_v0.60/make_release/nu_release.nu
to: make_release/nu_release.nu
  • before_v0.60/make_release/gen-js-ext.nu
from: before_v0.60/make_release/gen-js-ext.nu
to: make_release/gen-js-ext.nu
functions:
  gen_keywords: make_release/gen-js-ext.nu:1:gen_keywords
  gen_sub_keywords: make_release/gen-js-ext.nu:20:gen_sub_keywords
  • before_v0.60/cool_oneliners/dict.nu
from: before_v0.60/cool_oneliners/dict.nu
to: sourced/cool-oneliners/dict.nu
functions:
  dict: sourced/cool-oneliners/dict.nu:2:dict
  • before_v0.60/progress_bar/progress_bar_no_back.nu
from: before_v0.60/progress_bar/progress_bar_no_back.nu
to: sourced/progress_bar/progress_bar_no_back.nu
  • before_v0.60/progress_bar/percent_meter.nu
from: before_v0.60/progress_bar/percent_meter.nu
to: sourced/progress_bar/percent_meter.nu
functions:
  loading: sourced/progress_bar/percent_meter.nu:1:loading
  show_cursor: sourced/progress_bar/percent_meter.nu:11:show_cursor
  hide_cursor: sourced/progress_bar/percent_meter.nu:15:hide_cursor
  • before_v0.60/progress_bar/progress_bar.nu
from: before_v0.60/progress_bar/progress_bar.nu
to: sourced/progress_bar/progress_bar.nu
  • before_v0.60/maths/math_functions.nu
from: before_v0.60/maths/math_functions.nu
to: modules/maths/math_functions.nu
functions:
  root: modules/maths/math_functions.nu:2:root
  croot: modules/maths/math_functions.nu:7:croot
  aroot: modules/maths/math_functions.nu:12:aroot
  delta: modules/maths/math_functions.nu:17:delta
  fact:
  - modules/maths/math_functions.nu:25:fact
  - modules/recursion/fact.nu:5:fact
  • before_v0.60/cool_oneliners/file_cat.nu
from: before_v0.60/cool_oneliners/file_cat.nu
to: sourced/cool-oneliners/file_cat.nu
  • before_v0.60/weather/timed_weather_run.nu
from: before_v0.60/weather/timed_weather_run.nu
to: modules/weather/timed_weather_run.nu
functions:
  timed_weather_run: modules/weather/timed_weather_run.nu:1:timed_weather_run
  • before_v0.60/weather/get-weather.nu
from: before_v0.60/weather/get-weather.nu
to: modules/weather/get-weather.nu
functions:
  locations:
  - modules/weather/get-weather.nu:4:locations
  - modules/weather/weatherdark.nu:11:locations
  get_my_location: modules/weather/get-weather.nu:14:get_my_location
  get_location_by_ip: modules/weather/get-weather.nu:44:get_location_by_ip
  get_weather_by_ip: modules/weather/get-weather.nu:56:get_weather_by_ip
  weather_emoji_table: modules/weather/get-weather.nu:146:weather_emoji_table
  get_icon_from_table: modules/weather/get-weather.nu:159:get_icon_from_table
  get_weather:
  - modules/weather/get-weather.nu:164:get_weather
  - modules/weather/weatherdark.nu:70:get_weather
  state_abbrev_lookup: modules/weather/get-weather.nu:217:state_abbrev_lookup
  • before_v0.60/data_extraction/ultimate_extractor.nu
from: before_v0.60/data_extraction/ultimate_extractor.nu
to: modules/data_extraction/ultimate_extractor.nu
functions:
  extract: modules/data_extraction/ultimate_extractor.nu:2:extract
  • before_v0.60/coloring/gradient.nu
from: before_v0.60/coloring/gradient.nu
to: benchmarks/gradient.nu
functions:
  iter_inc:
  - benchmarks/gradient_benchmark_no_check.nu:1:iter_inc
  - benchmarks/gradient-old.nu:1:iter_inc
  - benchmarks/gradient_benchmark.nu:1:iter_inc
  • before_v0.60/coloring/256_color_testpattern.nu
from: before_v0.60/coloring/256_color_testpattern.nu
to: modules/coloring/256_color_testpattern.nu
functions:
  contrast_colour: modules/coloring/256_color_testpattern.nu:1:contrast_colour
  print_colour: modules/coloring/256_color_testpattern.nu:33:print_colour
  print_run: modules/coloring/256_color_testpattern.nu:43:print_run
  print_blocks: modules/coloring/256_color_testpattern.nu:53:print_blocks
  • before_v0.60/coloring/24bit-1.nu
from: before_v0.60/coloring/24bit-1.nu
to: modules/coloring/24bit-1.nu
functions:
  build-colorstr: modules/coloring/24bit-1.nu:18:build-colorstr
  log: DELETED
  • before_v0.60/git/git_branch_cleanup.nu
from: before_v0.60/git/git_branch_cleanup.nu
to: modules/git/git_branch_cleanup.nu
  • before_v0.60/make_release/this_week_in_nu_release.nu
from: before_v0.60/make_release/this_week_in_nu_release.nu
to: null
functions:
  do-work: null
  • before_v0.60/make_release/gen-ts-ext.nu
from: before_v0.60/make_release/gen-ts-ext.nu
to: null
functions:
  gen-ts-cmds-begin: null
  gen-ts-cmds: null
  gen-ts-subs: null
  log:
  - sourced/misc/table_grouping.nu:1:log
  - modules/background_task/task.nu:8:log
  • before_v0.60/nu_101/demo.nu
from: before_v0.60/nu_101/demo.nu
to: sourced/nu_101/demo.nu
functions:
  my-ls: sourced/nu_101/demo.nu:1:my-ls
  • before_v0.60/ls_mods/ls-hidden.nu
from: before_v0.60/ls_mods/ls-hidden.nu
to: null
functions:
  ls-hidden: null
  • before_v0.60/ls_mods/ls-wide.nu
from: before_v0.60/ls_mods/ls-wide.nu
to: null
functions:
  ls-wide: null
  run_ls: null
  log:
  - sourced/misc/table_grouping.nu:1:log
  - modules/background_task/task.nu:8:log
  • before_v0.60/ls_mods/ls-wide-with-color.nu
from: before_v0.60/ls_mods/ls-wide-with-color.nu
to: null
functions:
  ls-wide2: null
  colorize: null
  colorit: null
  log:
  - sourced/misc/table_grouping.nu:1:log
  - modules/background_task/task.nu:8:log
  • before_v0.60/ls_mods/ls-less.nu
from: before_v0.60/ls_mods/ls-less.nu
to: null
functions:
  ls-less: null
  • before_v0.60/cool_oneliners/parse_aws_s3_ls.nu
from: before_v0.60/cool_oneliners/parse_aws_s3_ls.nu
to: null
  • before_v0.60/cool_oneliners/filesize.nu
from: before_v0.60/cool_oneliners/filesize.nu
to: null
  • before_v0.60/cool_oneliners/npm_update_versions.nu
from: before_v0.60/cool_oneliners/npm_update_versions.nu
to: null
  • before_v0.60/cool_oneliners/xml_search_schema.nu
from: before_v0.60/cool_oneliners/xml_search_schema.nu
to: null
  • before_v0.60/cool_oneliners/cdpath-implementation.nu
from: before_v0.60/cool_oneliners/cdpath-implementation.nu
to: null
functions:
  c: null
  • before_v0.60/cool_oneliners/js_map_to_markdown.nu
from: before_v0.60/cool_oneliners/js_map_to_markdown.nu
to: null
  • before_v0.60/fuzzy/fuzzy_history_search.nu
from: before_v0.60/fuzzy/fuzzy_history_search.nu
to: null
functions:
  fuzzy-history-search: null
  • before_v0.60/fuzzy/fuzzy_command_search.nu
from: before_v0.60/fuzzy/fuzzy_command_search.nu
to: null
functions:
  pad-tabs: null
  fuzzy-command-search: null
  • before_v0.60/make_readme_table.nu
from: before_v0.60/make_readme_table.nu
to: null
  • before_v0.60/language/std/date.nu
from: before_v0.60/language/std/date.nu
to: custom-completions/auto-generate/completions/date.nu
functions:
  mock-now: null
  people: null
  • before_v0.60/tests/main.nu
from: before_v0.60/tests/main.nu
to: null
  • before_v0.60/fun/star.nu
from: before_v0.60/fun/star.nu
to: null
  • before_v0.60/fun/spark.nu
from: before_v0.60/fun/spark.nu
to: sourced/fun/spark.nu
functions:
  spark: sourced/fun/spark.nu:1:spark
  • before_v0.60/fun/life.nu
from: before_v0.60/fun/life.nu
to: null
functions:
  alive: null
  generation: null
  print-grid: null
  • before_v0.60/fun/lisp_mode.nu
from: before_v0.60/fun/lisp_mode.nu
to: null
functions:
  +: null
  '-': null
  '*': null
  /: null
  in: null
  not-in: null
  <: null
  <=: null
  '>': null
  '>=': null
  ==: null
  '!=': null
  =~: null
  '!~': null
  array: null
  • before_v0.60/fun/nyancat.nu
from: before_v0.60/fun/nyancat.nu
to: null
  • before_v0.60/language/playground.nu
from: before_v0.60/language/playground.nu
to: null
  • before_v0.60/language/playground/lib.nu
from: before_v0.60/language/playground/lib.nu
to: null
functions:
  playground: null
  scene: null
  play: null
  expect: null
  • before_v0.60/language/std.nu
from: before_v0.60/language/std.nu
to: null
  • before_v0.60/virtual_environments/venv_deactivate.nu
from: before_v0.60/virtual_environments/venv_deactivate.nu
to: null
  • before_v0.60/virtual_environments/conda_deactivate.nu
from: before_v0.60/virtual_environments/conda_deactivate.nu
to: null
  • before_v0.60/virtual_environments/venv.nu
from: before_v0.60/virtual_environments/venv.nu
to: null
functions:
  venv: null
  venv-path-unix: null
  venv-path-windows: null
  windows?:
  - modules/virtual_environments/conda.nu:1:windows?
  - modules/virtual_environments/nu_conda_2/conda.nu:1:windows?
  path-sep: null
  • before_v0.60/virtual_environments/conda.nu
from: before_v0.60/virtual_environments/conda.nu
to:
- custom-completions/auto-generate/completions/conda.nu
- modules/virtual_environments/conda.nu
- modules/virtual_environments/nu_conda_2/conda.nu
functions:
  conda-env: null
  conda-create-path-windows:
  - modules/virtual_environments/conda.nu:1:conda-create-path-windows
  - modules/virtual_environments/nu_conda_2/conda.nu:1:conda-create-path-windows
  conda-create-path-unix:
  - modules/virtual_environments/conda.nu:1:conda-create-path-unix
  - modules/virtual_environments/nu_conda_2/conda.nu:1:conda-create-path-unix
  windows?:
  - modules/virtual_environments/conda.nu:1:windows?
  - modules/virtual_environments/nu_conda_2/conda.nu:1:windows?
  path-sep: null
  • before_v0.60/stdlib_candidate/get-row.nu
from: before_v0.60/stdlib_candidate/get-row.nu
to: null
functions:
  get-row: null
  • before_v0.60/stdlib_candidate/flatter.nu
from: before_v0.60/stdlib_candidate/flatter.nu
to: null
functions:
  flatter: null
  • before_v0.60/stdlib_candidate/get-column.nu
from: before_v0.60/stdlib_candidate/get-column.nu
to: null
functions:
  get-col: null
  get-column: null
  • before_v0.60/stdlib_candidate/get-latest-release-linux.nu
from: before_v0.60/stdlib_candidate/get-latest-release-linux.nu
to: null
functions:
  get-latest-linux: null
  • before_v0.60/stdlib_candidate/logging.nu
from: before_v0.60/stdlib_candidate/logging.nu
to: null
functions:
  log:
  - modules/background_task/task.nu:8:log
  - sourced/misc/table_grouping.nu:1:log
  • before_v0.60/stdlib_candidate/print.nu
from: before_v0.60/stdlib_candidate/print.nu
to: null
functions:
  print: null
  print2: null
  print3: null
  • before_v0.60/stdlib_candidate/nu_style.nu
from: before_v0.60/stdlib_candidate/nu_style.nu
to: null
functions:
  format_hyperlink: null
  fg_from_rgb: null
  bg_from_rgb: null
  fg_from_index: null
  bg_from_index: null
  • before_v0.60/lint_directories.nu
from: before_v0.60/lint_directories.nu
to: null
functions:
  ls-incorrect-dirs: null
  • before_v0.60/bin-utils.nu
from: before_v0.60/bin-utils.nu
to: null
  • before_v0.60/prompt/git_status_prompt.nu
from: before_v0.60/prompt/git_status_prompt.nu
to: null
functions:
  git-status-prompt: null
  prompt-pwd: null
  git-prompt-map: null
  git-prompt-icons: null
  git-branch-icon: null
  • before_v0.60/prompt/left_and_right_prompt.nu
from: before_v0.60/prompt/left_and_right_prompt.nu
to: null
functions:
  construct_prompt: null
  home_abbrev:
  - modules/prompt/oh-my.nu:1:home_abbrev
  - modules/prompt/oh-my-minimal.nu:1:home_abbrev
  - modules/prompt/oh-my-v2.nu:1:home_abbrev
  git_br: null
  set_title_str: null
  get_abbrev_pwd_win: null
  get_abbrev_pwd_lin: null
  set_title: null
  create_second_line: null
  • before_v0.60/config_management/separate_startup/startup.nu
from: before_v0.60/config_management/separate_startup/startup.nu
to: null
functions:
  '"startup"': null
  • before_v0.60/examples/netstat.nu
from: before_v0.60/examples/netstat.nu
to: null
  • before_v0.60/examples/date_in_local_timezones.nu
from: before_v0.60/examples/date_in_local_timezones.nu
to: null
functions:
  say: null
  • before_v0.60/lib/scripts.nu
from: before_v0.60/lib/scripts.nu
to: null
  • before_v0.60/nu_101/inner_outer_loop.nu
from: before_v0.60/nu_101/inner_outer_loop.nu
to: null
  • before_v0.60/nu_101/nothing.nu
from: before_v0.60/nu_101/nothing.nu
to: null
functions:
  nada: null
  nada2: null
  • before_v0.60/parsing/sample_andres.nu
from: before_v0.60/parsing/sample_andres.nu
to: null
functions:
  look_for: null
  • before_v0.60/coloring/python_index_table.nu
from: before_v0.60/coloring/python_index_table.nu
to: null
  • before_v0.60/coloring/color_tables.nu
from: before_v0.60/coloring/color_tables.nu
to: null
  • before_v0.60/coloring/ref_table.nu
from: before_v0.60/coloring/ref_table.nu
to: null
  • before_v0.60/coloring/sample.nu
from: before_v0.60/coloring/sample.nu
to: null
  • before_v0.60/coloring/nu_index_fg2.nu
from: before_v0.60/coloring/nu_index_fg2.nu
to: null
functions:
  show_index_colors: null
  • before_v0.60/coloring/color_table.nu
from: before_v0.60/coloring/color_table.nu
to: null
functions:
  make_header: null
  mk_header: null
  color_row_range: null
  create_color_tables: null
  color_table: null
  • before_v0.60/coloring/short_list.nu
from: before_v0.60/coloring/short_list.nu
to: null
  • before_v0.60/coloring/nu_index_bg.nu
from: before_v0.60/coloring/nu_index_bg.nu
to: null
functions:
  show_index_colors: null
  • before_v0.60/coloring/nu_index_fg.nu
from: before_v0.60/coloring/nu_index_fg.nu
to: null
functions:
  show_index_colors: null
  • before_v0.60/webscraping/scraping.nu
from: before_v0.60/webscraping/scraping.nu
to: null
  • before_v0.60/assets/core_team.nu
from: before_v0.60/assets/core_team.nu
to: null
  • before_v0.60/duplicates/duplicates.nu
from: before_v0.60/duplicates/duplicates.nu
to: null
functions:
  duplicates: null
  • before_v0.60/duplicates/example.nu
from: before_v0.60/duplicates/example.nu
to: null
  • before_v0.60/fehbg.nu
from: before_v0.60/fehbg.nu
to: sourced/fehbg.nu
functions:
  select_random: null
  list_images: null
  caption: sourced/fehbg.nu:1:caption
  draw_str: null
  • before_v0.60/git/git_branch_age.nu
from: before_v0.60/git/git_branch_age.nu
to: null
  • before_v0.60/maintainer_time.nu
from: before_v0.60/maintainer_time.nu
to: null
  • before_v0.60/with_externals/loc.nu
from: before_v0.60/with_externals/loc.nu
to: null
functions:
  '"loc"': null

fdncred pushed a commit that referenced this issue May 13, 2024
This PR is part of porting all old scripts #221 and ports
`cool_oneliners` folder

## Summary

### dict.nu
This script has already been ported to `sourced/cool_oneliners/dict.nu`
in
28c7e09

```yaml
from: before_v0.60/cool_oneliners/dict.nu
to: sourced/cool-oneliners/dict.nu
functions:
  dict: sourced/cool-oneliners/dict.nu:2:dict
```

### file_cat.nu
has already been ported to `sourced/cool_oneliners/file_cat.nu` in
c47ccd4
```yaml
  from: before_v0.60/cool_oneliners/file_cat.nu
  to: sourced/cool-oneliners/file_cat.nu
```

### filesize.nu

```yaml
from: before_v0.60/cool_oneliners/filesize.nu
to: sourced/cool-oneliners/filesize.nu
```

### js_map_to_markdown.nu
```yaml
from: before_v0.60/cool_oneliners/js_map_to_markdown.nu
to:  sourced/cool-oneliners/js_map_to_markdown.nu
```
I created `sourced/cool-oneliners/assets/js_map.json` with the data for
this script as it was before

### cdpath-implementation.nu
```yaml
from: before_v0.60/cool_oneliners/cdpath-implementation.nu
to: sourced/cool-oneliners/cdpath-implementation.nu
functions:
  c: sourced/cool-oneliners/cdpath-implementation.nu:18:c
```

### parse_aws_s3_ls.nu
I don't have aws so I just ported the syntax
```yaml
from: before_v0.60/cool_oneliners/parse_aws_s3_ls.nu
to:  null
```
Edit: I considered not porting this script yet because I can't test it
for now

### npm_update_versions.nu
```yaml
from: before_v0.60/cool_oneliners/npm_update_versions.nu
to: sourced/cool-oneliners/npm_update_versions.nu
```

### xml_search_schema.nu
```yaml
from: before_v0.60/cool_oneliners/xml_search_schema.nu
to: sourced/cool-oneliners/xml_search_schema.nu
```
fdncred pushed a commit that referenced this issue May 13, 2024
This PR is part of porting all old scripts #221 and ports `fun` folder

<details><summary>Summary</summary>

### star.nu
```yaml
from: before_v0.60/fun/star.nu
to: modules/fun/star.nu
```

### spark.nu
The script has already been ported. I've removed old version.
```yaml
from: before_v0.60/fun/spark.nu
to: sourced/fun/spark.nu
functions:
  spark: sourced/fun/spark.nu:1:spark
```

### life.nu
```yaml
from: before_v0.60/fun/life.nu
to: modules/fun/life.nu
```

### lisp_mode.nu
There is a problem with this module because `-` is not allowed in names
anymore, however `def "-"` is a valid syntax, but you will be unable to
call this function.
```yaml
from: before_v0.60/fun/lisp_mode.nu
to: sourced/fun/lisp_mode.nu
```


### nyancat.nu
I also fixed animation frames from https://github.com/klange/nyancat
```yaml
from: before_v0.60/fun/nyancat.nu
to: modules/fun/nyancat.nu
```


</details>
fdncred pushed a commit that referenced this issue May 13, 2024
This PR is part of porting all old scripts #221 and ports `make_release`
folder
## Summary

### make_release/this_week_in_nu_weekly.nu
This script has already been ported and has received some updates: #433.
So I just removed it
```yaml
from: before_v0.60/make_release/this_week_in_nu_weekly.nu
to: make_release/this_week_in_nu_weekly.nu
functions:
    do-work: make_release/this_week_in_nu_weekly.nu:1:query-week-span
```

### make_release/this_week_in_nu_release.nu

I have ported this, but I'm not sure if we need it because it has
strange name and we have `prs.nu` and `make_release/release-note/`

```yaml
from: before_v0.60/make_release/this_week_in_nu_release.nu
to: make_release/this_week_in_nu_release.nu
functions:
    do-work: make_release/this_week_in_nu_release.nu:1:do-work
```

### make_release/nu_release.nu

This has already been ported to `make_release/nu_release.nu` and has
received new updates #828 so I just removed it

```yaml
from: before_v0.60/make_release/nu_release.nu
to: make_release/nu_release.nu
```

### make_release/gen-js-ext.nu
This has already been moved to `make_release/gen-js-ext.nu` and has
received new updates #621 but not completely ported so I have ported it
- pipeline `for` to `each`
- `$nu.scope.commands` to `scope commands`
- explicit `print`
```yaml
from: before_v0.60/make_release/gen-js-ext.nu
to: make_release/gen-js-ext.nu
functions:
  gen_keywords: make_release/gen-js-ext.nu:1:gen_keywords
  gen_sub_keywords: make_release/gen-js-ext.nu:20:gen_sub_keywords
```

### make_release/gen-ts-ext.nu
I have ported this script
```yaml
from: before_v0.60/make_release/gen-ts-ext.nu
to: make_release/gen-ts-ext.nu
functions:
  gen-ts-cmds-begin: make_release/gen-ts-ext.nu:1:gen-ts-cmds-begin
  gen-ts-cmds: make_release/gen-ts-ext.nu:18:gen-ts-cmds
  gen-ts-subs: make_release/gen-ts-ext.nu:40:gen-ts-subs
```
fdncred pushed a commit that referenced this issue May 13, 2024
This PR is part of porting all old scripts #221 and ports `coloring`
folder
fdncred pushed a commit that referenced this issue May 13, 2024
This PR is part of porting all old scripts #221 and ports all root
`before_v0.60/*.nu` scripts to `modules/*.nu`
fdncred pushed a commit that referenced this issue May 25, 2024
…t` (#844)

This PR is part of porting all old scripts #221 and includes a set of
small modules:
- `math`
- `parsing`
- `git`
fdncred pushed a commit that referenced this issue May 25, 2024
…/webscrapping` (#846)

This PR is part of porting all old scripts #221 and includes only
removing already ported modules:

- `progress_bar` -> `sourced/progress_bar`
- `weather` ->  `modules/weather`
- `webscrapping` -> `sourced/webscrapping`
fdncred pushed a commit that referenced this issue May 26, 2024
This PR is part of porting all old scripts #221 and includes the
`stdlib_candidate` scripts

## 7 changed files

- `flatter.nu`
- `get-column.nu`
- `get-row.nu`
- `get-latest-release-linux.nu`
- `logging.nu`
- `nu_style.nu`
- `print.nu`
fdncred pushed a commit that referenced this issue May 26, 2024
…u_101` (#845)

This PR is part of porting all old scripts #221 and includes a set of
modules:

- fuzzy -> `modules/fuzzy/fuzzy_command_search.nu`
- ls-mods -> `modules/ls-mods`: `ls-less.nu`, `ls-wide.nu` and
`ls-wide-with-color.nu`
- nu_101 -> `modules/nu_101`: `nothing.nu` and `inner_outer_loop.nu`

Edit: `fuzzy` and `nu_101` have been moved to `sourced`
fdncred pushed a commit that referenced this issue May 26, 2024
…_v0.60/prompt` `before_v0.60/tests` (#851)

This PR is part of porting all old scripts #221 and includes a set of
modules:

- `config_management`
- `language`
- `tests`
- `prompt`

## 12 files changed

### `config_management`
This module was removed, because it was related to the old `config.toml`
format
1. `README.md`: removed
2. `config.toml`: removed
3. `startup.nu`: removed

### `language`
4. `playground.nu` : unchanged because this is just `source ...`
5. `std.nu` : unchanged because this is just `source ...`
6. `playground/lib.nu` -> `playground/mod.nu` and all commands have been
exported
7. `std/date.nu` + `export` keyword

### `tests`
This module contained only the usage of `language` module, so I merged
it with `language`
8. `tests/language/std/date.nu` -> `modules/language/tests/date.nu`
9. `main.nu`: removed because it was just `source date.nu`

### `prompt`
10. `git_status_prompt.nu` -> `modules/git_status_prompt.nu` + `export`
keyword
11. `left_and_right_prompt.nu` -> `modules/left_and_right_prompt.nu` +
`export` keyword
12. `README.md` : has been removed as a duplicate of
`modules/prompt/README.md`
fdncred pushed a commit that referenced this issue May 26, 2024
…0.60/duplicates` (#847)

This PR is part of porting all old scripts #221 and includes a set of
modules:

- `data_extraction`
- `examples` 
- `duplicates`

## 7 changed files:

### `data_extraction`
- `data_extraction/ultimate_extractor.nu`: removed. Has already been
ported to `modules/data_extraction/ultimate_extractor.nu`

### `duplicates`
- `duplicates/duplicates.nu` -> `modules/duplicates/duplicates.nu`
- `duplicates/example.nu` -> `modules/duplicates/example.nu`
- `duplicates/README.md` -> `modules/duplicates/README.md`: unchanged

### `examples`
- `examples/netstat.nu` -> `modules/examples/netstat.nu`
- `examples/date_in_local_timezones.nu` ->
`modules/examples/date_in_local_timezones.nu`
- `befove_v0.60/assets/core_team.nu`: removed. This table has been
embedded into `date_in_local_timezones.nu`
fdncred pushed a commit that referenced this issue May 26, 2024
This PR is part of porting all old scripts #221 and includes the
`virtual_environments` module

## 5 files changed

- `conda.nu`: removed, already in
`modules/virtual_enviromnents/conda/nu_conda.nu`
- `conda_deactivate.nu`: also removed, has already been merged with
`nu_conda.nu`
- `README.nu`: removed, similar info in
`modules/virtual_enviromnents/README.md`

- `venv.nu`: ported to `modules/virtual_enviromnents/venv/venv.nu`
- `venv_deactivate.nu`: ported to
`modules/virtual_enviromnents/venv/venv_deactivate.nu`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants