Skip to content

Conversation

@xtqqczze
Copy link
Contributor

PR Summary

Instead of the huge changes in #13286, a more modest change using is not syntax to remove parentheses.

PR Context

#13286

PR Checklist

-replace '\(!\(([^)]+) is ([^)]+)\)\)', '($1 is not $2)'
@ghost ghost assigned daxian-dbw Jul 30, 2020
@xtqqczze xtqqczze marked this pull request as ready for review July 30, 2020 23:41
@xtqqczze xtqqczze mentioned this pull request Jul 30, 2020
14 tasks
@xtqqczze
Copy link
Contributor Author

@daxian-dbw Can you restart CI?

@xtqqczze
Copy link
Contributor Author

It appears Codacy (SonarCSharp) does not understand C# 9 pattern matching.

@rjmholt
Copy link
Collaborator

rjmholt commented Jul 31, 2020

/azp help

@azure-pipelines
Copy link

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@rjmholt
Copy link
Collaborator

rjmholt commented Jul 31, 2020

/azp list

@azure-pipelines
Copy link

@rjmholt
Copy link
Collaborator

rjmholt commented Jul 31, 2020

It looks like the same test is failing across all platforms, implying a regression. In that case, I think it's safer for us not to take this change

@xtqqczze
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 13323 in repo PowerShell/PowerShell

Copy link
Collaborator

@vexx32 vexx32 left a comment

Choose a reason for hiding this comment

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

Found a couple places where the substitution mangled the original logic. Once we get those fixed we should be right to go. 🙂

@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jul 31, 2020
Co-authored-by: Joel Sallow (/u/ta11ow) <32407840+vexx32@users.noreply.github.com>
@ghost ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jul 31, 2020
@rjmholt rjmholt added Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers Review - Needed The PR is being reviewed labels Jul 31, 2020
xtqqczze and others added 2 commits July 31, 2020 16:35
Copy link
Collaborator

@vexx32 vexx32 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for sorting this out! 💖

@xtqqczze
Copy link
Contributor Author

I have fully reviewed this PR and it is now ready to merge as far as I am concerned.

Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@daxian-dbw
Copy link
Member

@PoshChan Please remind me in 1 hour

@ghost ghost removed the Review - Needed The PR is being reviewed label Jul 31, 2020
@PoshChan
Copy link
Collaborator

@daxian-dbw, this is the reminder you requested 1 hour ago

@daxian-dbw daxian-dbw merged commit 4597b41 into PowerShell:master Jul 31, 2020
@daxian-dbw daxian-dbw added CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log and removed Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers labels Jul 31, 2020
@daxian-dbw daxian-dbw added this to the 7.1.0-preview.7 milestone Jul 31, 2020
@xtqqczze xtqqczze deleted the isnot branch August 1, 2020 16:59
@baosj0
Copy link

baosj0 commented Aug 2, 2020

this "is not "syntax make my build failed using visualstudio2019

@xtqqczze
Copy link
Contributor Author

xtqqczze commented Aug 2, 2020

@baosj0 You need to use Visual Studio 2019 16.7 Preview (link), I have opened a PR to update build documentation (#13336).

@baosj0
Copy link

baosj0 commented Aug 3, 2020

@baosj0 You need to use Visual Studio 2019 16.7 Preview (link), I have opened a PR to update build documentation (#13336).

yes , no problem now

@TravisEz13 TravisEz13 modified the milestones: 7.1.0-preview.7, 7.1.0-preview.6 Aug 5, 2020
@ghost
Copy link

ghost commented Aug 17, 2020

🎉v7.1.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

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

Labels

CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants