Skip to content

remove def-env and export def-env#10999

Merged
WindSoilder merged 5 commits intonushell:mainfrom
amtoine:remove-def-env
Nov 19, 2023
Merged

remove def-env and export def-env#10999
WindSoilder merged 5 commits intonushell:mainfrom
amtoine:remove-def-env

Conversation

@amtoine
Copy link
Copy Markdown
Member

@amtoine amtoine commented Nov 8, 2023

follow-up to

Important
wait for between 0.87 and 0.88 to land this

Description

it's time for removal again 😋
this PR removes def-env and export def-env in favor of def --env

User-Facing Changes

def-env and export def-env will not be found anymore.

Tests + Formatting

After Submitting

- remove the files with
```nushell
ls **/*.rs | find --regex def_env | each { rm --verbose $in.name }`
```
- run `:g/DefEnv/d` in `crates/nu-cmd-lang/src/default_context.rs`
- run `:g/def_env/d` in `crates/nu-cmd-lang/src/core_commands/mod.rs`
@amtoine amtoine added status:wait-until-after-nushell-release notes:breaking-changes This PR implies a change affecting users and has to be noted in the release notes category:deprecation Related to the deprecation of commands/features/options labels Nov 8, 2023
@sholderbach sholderbach added category:removal-after-deprecation The component has already been sunset with `deprecation` and is now up for final removal and removed category:deprecation Related to the deprecation of commands/features/options labels Nov 8, 2023
@amtoine amtoine marked this pull request as ready for review November 16, 2023 17:46
@WindSoilder
Copy link
Copy Markdown
Contributor

Hi @amtoine , would you please fix the conflicts? I believe it's conflict with extern-wrapped changed, because they change the same line..

@amtoine
Copy link
Copy Markdown
Member Author

amtoine commented Nov 17, 2023

yup, should be better now @WindSoilder 😉

@WindSoilder
Copy link
Copy Markdown
Contributor

I'm sorry that I didn't review it yesterday, it seems that we still have comflicts...Can you please resolve it again?

this should solve the merge conflict in nushell#10999.
@amtoine
Copy link
Copy Markdown
Member Author

amtoine commented Nov 19, 2023

no worries @WindSoilder, should be good to go again 😉

@amtoine amtoine requested a review from WindSoilder November 19, 2023 14:33
Copy link
Copy Markdown
Contributor

@WindSoilder WindSoilder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! Let's go, thanks for your work through this

@WindSoilder WindSoilder merged commit 07d7899 into nushell:main Nov 19, 2023
@amtoine amtoine deleted the remove-def-env branch November 19, 2023 15:27
hardfau1t pushed a commit to hardfau1t/nushell that referenced this pull request Dec 14, 2023
follow-up to
- nushell#10715

> **Important**
> wait for between 0.87 and 0.88 to land this

# Description
it's time for removal again 😋 
this PR removes `def-env` and `export def-env` in favor of `def --env`

# User-Facing Changes
`def-env` and `export def-env` will not be found anymore.

# Tests + Formatting

# After Submitting
dmatos2012 pushed a commit to dmatos2012/nushell that referenced this pull request Feb 20, 2024
follow-up to
- nushell#10715

> **Important**
> wait for between 0.87 and 0.88 to land this

# Description
it's time for removal again 😋 
this PR removes `def-env` and `export def-env` in favor of `def --env`

# User-Facing Changes
`def-env` and `export def-env` will not be found anymore.

# Tests + Formatting

# After Submitting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:removal-after-deprecation The component has already been sunset with `deprecation` and is now up for final removal notes:breaking-changes This PR implies a change affecting users and has to be noted in the release notes status:wait-until-after-nushell-release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants