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

Remove ZB and ZiB from file size type #9427

Merged
merged 2 commits into from Jun 14, 2023
Merged

Remove ZB and ZiB from file size type #9427

merged 2 commits into from Jun 14, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jun 13, 2023

Description

This PR removes ZB and ZiB from file size type, as they
were showing incorrect values due to an integer overflow.

Fixes: #9337

User-Facing Changes

Tests + Formatting

After Submitting

Han Junghyuk added 2 commits June 14, 2023 03:31
This PR removes ZB and ZiB from file size type, as they
were showing incorrect values due to an integer overflow.
Copy link
Member

@sholderbach sholderbach left a comment

Choose a reason for hiding this comment

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

Thank you very much for the thorough first PR! Well spotted that the default_config.nu also needed an update.

I think removing the rather hypothetical ZB/ZiB makes both practical sense and also doesn't force us to incur a deeper modification of Value. I would vote for this PR as the solution to #9337.

Will mark this as a breaking change so we include it with the release notes (nushell/nushell.github.io#945)

@sholderbach sholderbach added the pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes label Jun 13, 2023
@fdncred
Copy link
Collaborator

fdncred commented Jun 14, 2023

agreed, thanks

@fdncred fdncred merged commit b14bdd8 into nushell:main Jun 14, 2023
16 checks passed
@ghost ghost deleted the fix-9337 branch June 14, 2023 16:03
kit494way added a commit to kit494way/tree-sitter-nu that referenced this pull request Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:breaking-change This PR implies a change affecting users and has to be noted in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong type for file sizes ZIB
2 participants