X Tutup
The Wayback Machine - https://web.archive.org/web/20241002141228/https://github.com/PowerShell/PowerShell/pull/24075
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

Change type of LineNumber to ulong in Select-String #24075

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

Snowman-25
Copy link
Contributor

Very long files could overflow the LineNumber, leading to negative line numbers in output of Select-String. Changing to UInt64 should fix this for the forseeable future

PR Summary

See Commit message: Fix for negative LineNumbers in Output of Select-String

PR Context

See Issue #24027

PR Checklist

Very long files could overflow the LineNumber, leading to negative line numbers in output of Select-String. Changing to UInt64 should fix this for the forseeable future
@iSazonov iSazonov added Review - Committee The PR/Issue needs a review from the PowerShell Committee Review - Needed The PR is being reviewed WG-Cmdlets-Utility cmdlets in the Microsoft.PowerShell.Utility module labels Jul 23, 2024
@iSazonov
Copy link
Collaborator

We need WG conclusion and Committee approval for public API change.

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Review - Needed The PR is being reviewed label Jul 23, 2024
@Snowman-25
Copy link
Contributor Author

We need WG conclusion and Committee approval for public API change.

Anything I need to do?

@SteveL-MSFT SteveL-MSFT added WG-NeedsReview Needs a review by the labeled Working Group and removed Review - Committee The PR/Issue needs a review from the PowerShell Committee labels Jul 29, 2024
@SteveL-MSFT
Copy link
Member

I'll queue this up for next WG review (1st Wed of the month)

@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Aug 5, 2024
@SteveL-MSFT
Copy link
Member

The @PowerShell/wg-powershell-cmdlets reviewed this. We believe this is a bucket 3 breaking change that is unlikely to impact real world usage. This would immediately address PowerShell script users and any unlikely C# usage would know how to fix their code to work against this change.

@SteveL-MSFT SteveL-MSFT added WG-Reviewed A Working Group has reviewed this and made a recommendation and removed WG-NeedsReview Needs a review by the labeled Working Group labels Aug 7, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Review - Needed The PR is being reviewed label Aug 7, 2024
@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Aug 8, 2024
@iSazonov iSazonov changed the title Select-String: Update LineNumber and connected variables to ulong Change type of LineNumber to ulong in Select-String Aug 8, 2024
@iSazonov iSazonov merged commit 9456685 into PowerShell:master Aug 8, 2024
32 checks passed
Copy link
Contributor

microsoft-github-policy-service bot commented Aug 8, 2024

📣 Hey @Snowman-25, how did we do? We would love to hear your feedback with the link below! 🗣️

🔗 https://aka.ms/PSRepoFeedback

@iSazonov
Copy link
Collaborator

iSazonov commented Aug 8, 2024

@Snowman-25 Thanks for your contribution.

chrisdent-de pushed a commit to chrisdent-de/PowerShell that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log WG-Cmdlets-Utility cmdlets in the Microsoft.PowerShell.Utility module WG-Reviewed A Working Group has reviewed this and made a recommendation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
X Tutup