Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.68k stars 5.11k forks source link

Need a way to edit branch repositories in Azure Data Factory #19124

Open azure-walker opened 2 years ago

azure-walker commented 2 years ago

Currently the Azure mgmt Datafactory can only make changes to the collaboration branch of Azure Data Factory. However, much of the development is done on other branches. Furthermore, any mass updates that need to be applied to a branch outside of the collaboration branch cannot be done using the azure-mgmt-datafactory package. What is needed in the package is a way to change branches from collaboration to any of the other branches and make changes to the underlying code. This should be applied to any service that is backed by a code repository.

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Jingshu923, @zhangyd2015, @Frey-Wang.

Issue Details
Currently the Azure mgmt Datafactory can only make changes to the collaboration branch of Azure Data Factory. However, much of the development is done on other branches. Furthermore, any mass updates that need to be applied to a branch outside of the collaboration branch cannot be done using the azure-mgmt-datafactory package. What is needed in the package is a way to change branches from collaboration to any of the other branches and make changes to the underlying code. This should be applied to any service that is backed by a code repository.
Author: azure-walker
Assignees: -
Labels: `question`, `Data Factory`, `Service Attention`, `customer-reported`, `needs-triage`, `CXP Attention`
Milestone: -
Frey-Wang commented 2 years ago

This is related to the general CI/CD process. @leni-msft , could you please help with this ask?

leni-msft commented 2 years ago

@Frey-Wang It seems you need support specifying branches for all your APIs. I'd suggest asking your architect or ARM API reviewers.

navba-MSFT commented 2 years ago

I see that the Service team has already been involved on this.

Frey-Wang commented 2 years ago

Hi @azure-walker , could you please provide an example on your request? I'm not sure how can I help to change branch policies.

azure-walker commented 2 years ago

I am trying to come up with a solution that will allow me to edit a branch of the repository that is not the main line. I need this in order to make changes to pipelines in Azure Data Factory. Currently, the only way to use the azure-mgmt-datafactory is to edit the collaboration branch. I have a lot of pipelines with settings that need to be changed in my test branches. The only way to automate this process is to edit the blobs in the branches. I need to make the change, add and commit the changes but I am not sure how to do this using azure-devops packages. The link to the samples is old and not specific to what I need. I am looking for more documentation or examples of how to use code to edit code and add and commit the changes back to the branch.

Frey-Wang commented 2 years ago

Hi @azure-walker, I'm still confused here. Is the question related to swagger, ADF SDK, or ADF product?