PSRule.Rules.AzureDevOps icon indicating copy to clipboard operation
PSRule.Rules.AzureDevOps copied to clipboard

Add common function to make object names filename safe

Open webtonize opened this issue 1 year ago • 0 comments

Story

As an end-user I want to be sure all my Azure DevOps objects can be exported, even if I have special characters in the object names so I can be sure my complete Azure DevOps environment will get audited and I will not be surprised in human audit.

Acceptance Criteria

  • Non-filesystem characters in input Object Names should be replaced by safe characters
  • String replacement function should be a single function called from Export- functions
  • Export- functions should be changed to use the new function
  • When exporting object names, any folder hierarchy in Azure DevOps (like pipeline and release folder structure) should be preserved in the exported filename
  • Azure DevOps test project and test cases should reflect handling with and without a folder structure for those objects

webtonize avatar Jan 21 '24 09:01 webtonize