Skip to content

Commit 264cd5d

Browse files
committed
Update links from master to main
1 parent fbea032 commit 264cd5d

File tree

458 files changed

+1660
-1938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

458 files changed

+1660
-1938
lines changed

.github/CODEOWNERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Instructions for CODEOWNERS file format and automatic build failure notifications:
2-
# https://github.com/Azure/azure-sdk/blob/master/docs/policies/opensource.md#codeowners
2+
# https://github.com/Azure/azure-sdk/blob/main/docs/policies/opensource.md#codeowners
33

44
###########
55
# SDK
@@ -131,7 +131,7 @@
131131
/common/smoketest/ @lmazuel @chlowell @annatisch @rakshith91 @shurd @southpolesteve
132132

133133
# Management Plane
134-
/**/*mgmt*/ @RAY-316 @msyyc
134+
/**/*mgmt*/ @RAY-316 @msyyc
135135

136136

137137
###########

CONTRIBUTING.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ follow the instructions provided in [Microsoft Azure Projects Contribution Guide
55

66
## Building and Testing
77

8-
The Azure SDK team's Python CI leverages the tool `tox` to distribute tests to virtual environments, handle test dependency installation, and coordinate tooling reporting during PR/CI builds. This means that a dev working locally can reproduce _exactly_ what the build machine is doing.
8+
The Azure SDK team's Python CI leverages the tool `tox` to distribute tests to virtual environments, handle test dependency installation, and coordinate tooling reporting during PR/CI builds. This means that a dev working locally can reproduce _exactly_ what the build machine is doing.
99

1010
[A Brief Overview of Tox](https://tox.readthedocs.io/en/latest/)
1111

@@ -20,11 +20,11 @@ Instead, the CI system leverages an tox plugin called `tox-monorepo`. This plugi
2020
A given `tox.ini` works on the concept of `test environments`. A given test environment is a combination of:
2121

2222
1. An identifier (or identifiers)
23-
2. A targeted Python version
23+
2. A targeted Python version
2424
1. `tox` will default to base python executing the `tox` command if no Python environment is specified
2525
3. (optionally) an OS platform
2626

27-
Internally `tox` leverages `virtualenv` to create each test environment's virtual environment.
27+
Internally `tox` leverages `virtualenv` to create each test environment's virtual environment.
2828

2929
This means that once the `tox` workflow is in place, all tests will be executed _within a virtual environment._
3030

@@ -41,7 +41,7 @@ sdist
4141

4242
Unfortunately, the command `tox -l` only returns the _default_ test builds. The common `tox.ini` file also supports `lint` and `mypy` environments.
4343

44-
### Example Usage of the common Azure SDK For Python `tox.ini`
44+
### Example Usage of the common Azure SDK For Python `tox.ini`
4545

4646
Basic usage of `tox` within this monorepo is:
4747

@@ -51,7 +51,7 @@ Basic usage of `tox` within this monorepo is:
5151

5252
The common `tox.ini` location is `eng/tox/tox.ini` within the repository.
5353

54-
If at any time you want to blow away the tox created virtual environments and start over, simply append `-r` to any tox invocation!
54+
If at any time you want to blow away the tox created virtual environments and start over, simply append `-r` to any tox invocation!
5555

5656
#### Example `azure-core` mypy
5757

@@ -113,11 +113,11 @@ Mypy install and run.
113113

114114
### Performance Testing
115115

116-
SDK performance testing is supported via the custom `perfstress` framework. For full details on this framework, and how to write and run tests for an SDK - see the [perfstress tests documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/perfstress_tests.md).
116+
SDK performance testing is supported via the custom `perfstress` framework. For full details on this framework, and how to write and run tests for an SDK - see the [perfstress tests documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/perfstress_tests.md).
117117

118118
### More Reading
119119

120-
We maintain an [additional document](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/eng_sys_checks.md) that has a ton of detail as to what is actually _happening_ in these executions.
120+
We maintain an [additional document](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/eng_sys_checks.md) that has a ton of detail as to what is actually _happening_ in these executions.
121121

122122
### Dev Feed
123123
Daily dev build version of Azure sdk packages for python are available and are uploaded to Azure devops feed daily. We have also created a tox environment to test a package against dev built version of dependent packages. Below is the link to Azure devops feed.
@@ -146,5 +146,5 @@ This tox test( devtest) will fail if installed dependent packages are not dev bu
146146

147147
## Code of Conduct
148148
This project's code of conduct can be found in the
149-
[CODE_OF_CONDUCT.md file](https://github.com/Azure/azure-sdk-for-python/blob/master/CODE_OF_CONDUCT.md)
149+
[CODE_OF_CONDUCT.md file](https://github.com/Azure/azure-sdk-for-python/blob/main/CODE_OF_CONDUCT.md)
150150
(v1.4.0 of the https://contributor-covenant.org/ CoC).

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Azure SDK for Python
22

3-
[![Packages](https://img.shields.io/badge/packages-latest-blue.svg)](https://azure.github.io/azure-sdk/releases/latest/python.html) [![Dependencies](https://img.shields.io/badge/dependency-report-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html) [![DepGraph](https://img.shields.io/badge/dependency-graph-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/InterdependencyGraph.html) [![Python](https://img.shields.io/pypi/pyversions/azure-core.svg?maxAge=2592000)](https://pypi.python.org/pypi/azure/) [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/python/python%20-%20core%20-%20ci?branchName=master)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=458&branchName=master)
3+
[![Packages](https://img.shields.io/badge/packages-latest-blue.svg)](https://azure.github.io/azure-sdk/releases/latest/python.html) [![Dependencies](https://img.shields.io/badge/dependency-report-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/dependencies.html) [![DepGraph](https://img.shields.io/badge/dependency-graph-blue.svg)](https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-python/dependencies/InterdependencyGraph.html) [![Python](https://img.shields.io/pypi/pyversions/azure-core.svg?maxAge=2592000)](https://pypi.python.org/pypi/azure/) [![Build Status](https://dev.azure.com/azure-sdk/public/_apis/build/status/python/python%20-%20core%20-%20ci?branchName=main)](https://dev.azure.com/azure-sdk/public/_build/latest?definitionId=458&branchName=main)
44

55
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our [public developer docs](https://docs.microsoft.com/python/azure/) or our versioned [developer docs](https://azure.github.io/azure-sdk-for-python).
66

@@ -24,7 +24,7 @@ Each service might have a number of libraries available from each of the followi
2424

2525
### Client: New Releases
2626

27-
New wave of packages that we are announcing as **GA** and several that are currently releasing in **preview**. These libraries allow you to use and consume existing resources and interact with them, for example: upload a blob. These libraries share a number of core functionalities such as: retries, logging, transport protocols, authentication protocols, etc. that can be found in the [azure-core](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core) library. You can learn more about these libraries by reading guidelines that they follow [here](https://azure.github.io/azure-sdk/python/guidelines/index.html).
27+
New wave of packages that we are announcing as **GA** and several that are currently releasing in **preview**. These libraries allow you to use and consume existing resources and interact with them, for example: upload a blob. These libraries share a number of core functionalities such as: retries, logging, transport protocols, authentication protocols, etc. that can be found in the [azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core) library. You can learn more about these libraries by reading guidelines that they follow [here](https://azure.github.io/azure-sdk/python/guidelines/index.html).
2828

2929
You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/index.html#python-packages)
3030

@@ -36,7 +36,7 @@ Last stable versions of packages that have been provided for usage with Azure an
3636

3737
### Management: New Releases
3838
A new set of management libraries that follow the [Azure SDK Design Guidelines for Python](https://azure.github.io/azure-sdk/python/guidelines/) are now available. These new libraries provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
39-
Documentation and code samples for these new libraries can be found [here](https://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/sphinx/mgmt_quickstart.rst#migration-guide).
39+
Documentation and code samples for these new libraries can be found [here](https://aka.ms/azsdk/python/mgmt). In addition, a migration guide that shows how to transition from older versions of libraries is located [here](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/sphinx/mgmt_quickstart.rst#migration-guide).
4040

4141
You can find the [most up to date list of all of the new packages on our page](https://azure.github.io/azure-sdk/releases/latest/mgmt/python.html)
4242

@@ -62,7 +62,7 @@ Security issues and bugs should be reported privately, via email, to the Microso
6262

6363
## Contributing
6464

65-
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-python/blob/master/CONTRIBUTING.md).
65+
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-python/blob/main/CONTRIBUTING.md).
6666

6767
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit
6868
https://cla.microsoft.com.

ci_template.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
trigger:
55
branches:
66
include:
7-
- master
87
- main
98
- hotfix/*
109
- release/*
@@ -16,7 +15,6 @@ trigger:
1615
pr:
1716
branches:
1817
include:
19-
- master
2018
- main
2119
- feature/*
2220
- hotfix/*

common/smoketest/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ If a python version below 3.5 is being used, it is still possible to run the sam
7979
## Key concepts
8080

8181
## Examples
82-
All the classes in this sample has a `Run()` method as entry point, and do not depend on each other.
82+
All the classes in this sample has a `Run()` method as entry point, and do not depend on each other.
8383

8484
It is possible to run them individually:
8585
```python
@@ -124,7 +124,7 @@ Be sure to set the environment variables and credentials required before running
124124
The libraries in the `requiriments_async.txt` are not installed and the python version used has async capabilities. Install the libraries using pip.
125125

126126
## Next steps
127-
Check the [Azure SDK for Python Repository](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk) for more samples inside the sdk folder.
127+
Check the [Azure SDK for Python Repository](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk) for more samples inside the sdk folder.
128128

129129
## Contributing
130130
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

doc/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This folder contains some documentations for this repository:
22

33
The folder structure is the following
4-
- [sphinx](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/sphinx) : contains the documentation source code for https://azure.github.io/azure-sdk-for-python/
5-
- [dev](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev) : contains advanced documentation for _developers_ of SDK (not _consumers_ of SDK)
4+
- [sphinx](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/sphinx) : contains the documentation source code for https://azure.github.io/azure-sdk-for-python/
5+
- [dev](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev) : contains advanced documentation for _developers_ of SDK (not _consumers_ of SDK)
66

7-
The file [eng_sys_checks](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/eng_sys_checks.md) is a read up as to what a standard `ci.yml` will actually execute.
7+
The file [eng_sys_checks](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/eng_sys_checks.md) is a read up as to what a standard `ci.yml` will actually execute.

doc/dev/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
This folder contains documentation for developers of SDK: internal teams at Microsoft, or advanced contributors.
44

55
Overview of the documents:
6-
- [dev setup](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/dev_setup.md) : How to create a development environment for this repo
7-
- [release](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/release.md) : How to release a package when ready
8-
- [packaging.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/packaging.md) : How to organize packaging information for packages under `azure`
6+
- [dev setup](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/dev_setup.md) : How to create a development environment for this repo
7+
- [release](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/release.md) : How to release a package when ready
8+
- [packaging.md](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md) : How to organize packaging information for packages under `azure`
99

10-
The [mgmt](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt) folder contains information specific to management packages (i.e. packages prefixed by `azure-mgmt`)
10+
The [mgmt](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt) folder contains information specific to management packages (i.e. packages prefixed by `azure-mgmt`)

doc/dev/mgmt/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
The documentation in that folder is intended for developers at Microsoft, or for advanced contributors, in the ARM (Azure Resource Management) world.
44

5-
The [cheat sheet](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/cheatsheet.md) page contains a quick reminder of the basic commands if you are already familiar with this repo.
5+
The [cheat sheet](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/cheatsheet.md) page contains a quick reminder of the basic commands if you are already familiar with this repo.
66

77
In order of workflow:
8-
- [swagger_conf.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger_conf.md) : Describe how to configure the different Readme on https://github.com/Azure/azure-rest-api-specs for Python
9-
- [tests.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/tests.md) : How to test management SDK (recordings, etc.)
10-
- [mgmt_release.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/mgmt_release.md) : How to finish preapring the package, changelog, version, etc.
8+
- [swagger_conf.md](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/swagger_conf.md) : Describe how to configure the different Readme on https://github.com/Azure/azure-rest-api-specs for Python
9+
- [tests.md](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/tests.md) : How to test management SDK (recordings, etc.)
10+
- [mgmt_release.md](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/mgmt_release.md) : How to finish preapring the package, changelog, version, etc.
1111

1212
More implementations / advanced documents:
13-
- [changelog_impl.md](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/changelog_impl.md) : Technical details about the change log tool implementation
13+
- [changelog_impl.md](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/changelog_impl.md) : Technical details about the change log tool implementation
1414

doc/dev/mgmt/cheatsheet.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Following Dockerfile can be used to build entire environment:
66

7-
https://github.com/Azure/azure-sdk-for-python/blob/master/tools/Dockerfile
7+
https://github.com/Azure/azure-sdk-for-python/blob/main/tools/Dockerfile
88

99
## Create a venv
1010

@@ -66,7 +66,7 @@ Available options:
6666

6767
## ChangeLog
6868

69-
Changelog is generated by performing following steps:
69+
Changelog is generated by performing following steps:
7070
- generate code report for last version on PyPI:
7171
- generate code report for version installed in current venv
7272
- generate a markdown changelog

doc/dev/mgmt/generation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Generation of SDK
22

3-
Assuming your Swagger are associated with correct Readmes (otherwise see previous chapter [Swagger conf](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/mgmt/swagger_conf.md)), this page explains how to generate your packages.
3+
Assuming your Swagger are associated with correct Readmes (otherwise see previous chapter [Swagger conf](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/swagger_conf.md)), this page explains how to generate your packages.
44

5-
IMPORTANT NOTE: All the commands prefixed by `python` in this page assumes you have loaded the [dev_setup](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/dev_setup.md) in your currently loaded virtual environment.
5+
IMPORTANT NOTE: All the commands prefixed by `python` in this page assumes you have loaded the [dev_setup](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/dev_setup.md) in your currently loaded virtual environment.
66

77
## Building the code
88

@@ -39,7 +39,7 @@ In practical terms, this is not necessary since the Python SDK has the necessary
3939
- Checkout the RestAPI specs repo
4040
- Call the tool: `python -m packaging_tools.generate_sdk -v -m restapi_path/readme.md` changing the last path to the readme you want to generate.
4141

42-
The common configuration to pass to all generation are located in the [swagger_to_sdk.json file](https://github.com/Azure/azure-sdk-for-python/blob/master/swagger_to_sdk_config.json)
42+
The common configuration to pass to all generation are located in the [swagger_to_sdk.json file](https://github.com/Azure/azure-sdk-for-python/blob/main/swagger_to_sdk_config.json)
4343

4444
### Automation bot
4545

doc/dev/mgmt/mgmt_release.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Once Swagger PR is merged, SDK automation will create pull request to Azure SDK
1616

1717
Once you have a PR that contains accurate with correct tests (or no tests at all, but CI is green), this page explains how to prepare for a release.
1818

19-
IMPORTANT NOTE: All the commands in this page assumes you have loaded the [dev_setup](https://github.com/Azure/azure-sdk-for-python/blob/master/doc/dev/dev_setup.md) in your currently loaded virtual environment.
19+
IMPORTANT NOTE: All the commands in this page assumes you have loaded the [dev_setup](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/dev_setup.md) in your currently loaded virtual environment.
2020

2121
## Manual generation
2222

0 commit comments

Comments
 (0)