Skip to content

Conversation

@baswijdenes
Copy link
Contributor

Description

Added the cmdlets that are requested in issue 82:

  • Get-AzDoPullRequest
  • Remove-AzDoPullRequest
  • Remove-AzDoEnvironment
  • Get-AzDoProjectSettings
  • Get-AzDoPipelineBranchControl

Related Issue

#82

Motivation and Context

Dylan asked me to add the cmdlets

How Has This Been Tested?

Tested with the Inspark devops environment.
Cmdlets + non mandatory parameters tested separately.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

- Introduced `Get-AzDoPipelineBranchControl` to retrieve branch policy configurations for Azure DevOps projects.
- Enhanced `Get-AzDoProjectProperties` with improved handling of project names and properties retrieval.
- Supports pipeline input for project names and collection URI.
…nvironment, and Get-AzDoPipelineBranchControl functions

* Added documentation links to relevant Azure DevOps REST API references for better guidance.
@baswijdenes
Copy link
Contributor Author

@Dylan-Prins @Manbearpiet can you review / approve?

* Added multiple .LINK sections to provide direct references to Azure DevOps REST API documentation for pull requests.
@baswijdenes baswijdenes changed the title Bas/issue82 added new cmdlets and some small changes in other files feat: Bas/issue82 added new cmdlets and some small changes in other files Mar 28, 2025
@baswijdenes baswijdenes changed the title feat: Bas/issue82 added new cmdlets and some small changes in other files docs: 📚 Add .LINK sections to Get-AzDoProjectProperties, Remove-AzDoEnvironment, and Get-AzDoPipelineBranchControl functions Mar 28, 2025
@baswijdenes baswijdenes changed the title docs: 📚 Add .LINK sections to Get-AzDoProjectProperties, Remove-AzDoEnvironment, and Get-AzDoPipelineBranchControl functions feat: Added new functions asked in issue 82 and updated some small changes like helpuri Mar 28, 2025
…Properties`, `Get-AzDoEnvironment`, and `Get-AzDoPipelineBranchControl` functions

- Enhanced documentation with additional examples for clarity.
- Provided detailed usage scenarios for removing environments and retrieving project properties.
- Improved consistency across function documentation.
* Improved parameter naming for clarity in the `Set-AzDoPullRequest` function.
* This change enhances consistency with other function parameters.
@baswijdenes
Copy link
Contributor Author

@Dylan-Prins @Manbearpiet 1 commit has no conventional commit, but is a commit from 7 feb I cannot change anymore.

@Manbearpiet
Copy link
Contributor

@Dylan-Prins
Copy link
Contributor

@baswijdenes

  • I have changed the output to out standards.
  • tested Get-AzDoPipelineBranchControl, but could not get it to work (No output). has anybody got any output? the other API from "Get-AzDoBranchPolicy" does work, but has less scoping options. We could still expend that one to filter on repo etc.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants