azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

[CI Example Analyzer] Support analysis for any PowerShell script

Open MoChilia opened this issue 3 years ago • 0 comments
trafficstars

Description

Completely split the function into two parts. One is for searching markdowns and extract the code into one script. The other is for analyzing scripts. If the script path involves several scripts, merge them into one script first for efficiency and generate the corresponding code map.

Test PR: https://github.com/Azure/azure-powershell/pull/19192/

Checklist

  • [x] Check this box to confirm: I have read the Submitting Changes section of CONTRIBUTING.md and reviewed the following information:
  • SHOULD select appropriate branch. Cmdlets from Autorest.PowerShell should go to generation branch.
  • SHOULD make the title of PR clear and informative, and in the present imperative tense.
  • SHOULD update ChangeLog.md file(s) appropriately
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense. Add changelog in description section if PR goes into generation branch.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD have approved design review for the changes in this repository (Microsoft internal only) with following situations
    • Create new module from scratch
    • Create new resource types which are not easy to conform to Azure PowerShell Design Guidelines
    • Create new resource type which name doesn't use module name as prefix
    • Have design question before implementation
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT introduce breaking changes in Az minor release except preview version.
  • SHOULD NOT adjust version of module manually in pull request

MoChilia avatar Aug 10 '22 09:08 MoChilia

/azp run

MoChilia avatar Aug 11 '22 04:08 MoChilia

Azure Pipelines successfully started running 3 pipeline(s).

azure-pipelines[bot] avatar Aug 11 '22 04:08 azure-pipelines[bot]