-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
{CI} reassign issue owner #29260
{CI} reassign issue owner #29260
Conversation
️✔️AzureCLI-FullTest
|
Hi @Pan-Qi, |
️✔️AzureCLI-BreakingChangeTest
|
Please fix CI issues |
pattern: '[Aa]z \b(group|resource|provider|feature|tag|policy|lock|managedapp|resourcemanagement)\b' | ||
isRegex: True | ||
- titleContains: | ||
pattern: '[Aa]z account (clear|get-access-token|list|list-locations|set|show)\b' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
az account
will assign to Jiashuo, is this expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, az account
normally comes with a following flag(command) like clear
or list
. If it's not specified, we treat it as a new command and temporarily assign to Jiashuo.
- payloadType: Issues | ||
- or: | ||
- titleContains: | ||
pattern: '[Aa]z account(?!(\s+(clear|get-access-token|list|list-locations|set|show))\b)\s*\b' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the purpose of \s*\b
at the end of regex?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command can contain one or more tailing whitespace(\s*) and \b
is a word boundary assertion, it helps to match whole words rather than substrings within words.
e.g.
Matched: Az account details
Matched: Az account
Not matched: Az account set
Not matched: Az accountlist
Not matched: Az accountother
Matched: az account other
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Then this regex can be simplified to [Aa]z account\b(?!\s+(clear|get-access-token|list|list-locations|set|show)\b)
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, it looks good, if az account **
should be matched, we don't need to worry about tailings words
GH issues related to az account were all assigned to XingZhou.
Now we want to assign commands within
Commands
to XingZhou, but commands withinSubgroup
to Jiashuo.If there is a new command not one of those 8 existing commands, temporarily assign to Jiashuo.
Change:
[Aa]z account (clear|get-access-token|list|list-locations|set|show)\b
will matchAz account
oraz account
followed with any command underCommands
group which is assigned toXingZhou
[Aa]z account(?!(\s+(clear|get-access-token|list|list-locations|set|show))\b)\s*\b
will matchAz account
oraz account
orAz account
oraz account
followed with any command not underCommands
group which is assign toJiashuo Li
This PR also add
.gitignore
to ignore files undercmd_coverage
folder created byazdev cmdcov
command.Related command
Description
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a
: Make some customer-facing breaking change[Component Name 2]
az command b
: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.