Skip to content

Commit cfd079a

Browse files
authored
Updates for our new main branch (pyca#5818)
1 parent 250b992 commit cfd079a

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request: {}
44
push:
55
branches:
6-
- master
6+
- main
77
- '*.*.x'
88
tags:
99
- '*.*'
@@ -338,7 +338,7 @@ jobs:
338338
- run: ./.github/downstream.d/${{ matrix.DOWNSTREAM }}.sh run
339339

340340
docs-linkcheck:
341-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
341+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
342342
runs-on: ubuntu-latest
343343
name: "linkcheck"
344344
timeout-minutes: 30

CHANGELOG.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Changelog
33

44
.. _v3-5:
55

6-
3.5 - `master`_
7-
~~~~~~~~~~~~~~~~
6+
3.5 - `main`_
7+
~~~~~~~~~~~~~
88

99
.. note:: This version is not yet released and is under active development.
1010

@@ -1691,5 +1691,5 @@ Changelog
16911691

16921692
* Initial release.
16931693

1694-
.. _`master`: https://github.com/pyca/cryptography/
1694+
.. _`main`: https://github.com/pyca/cryptography/
16951695
.. _`cffi`: https://cffi.readthedocs.io/

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ pyca/cryptography
99
:target: https://cryptography.io
1010
:alt: Latest Docs
1111

12-
.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master
13-
:target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster
12+
.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=main
13+
:target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amain
1414

15-
.. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master
16-
:target: https://codecov.io/github/pyca/cryptography?branch=master
15+
.. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=main
16+
:target: https://codecov.io/github/pyca/cryptography?branch=main
1717

1818

1919
``cryptography`` is a package which provides cryptographic recipes and

docs/development/reviewing-patches.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ Merge requirements
4141
Because cryptography is so complex, and the implications of getting it wrong so
4242
devastating, ``cryptography`` has a strict merge policy for committers:
4343

44-
* Patches must *never* be pushed directly to ``master``, all changes (even the
44+
* Patches must *never* be pushed directly to ``main``, all changes (even the
4545
most trivial typo fixes!) must be submitted as a pull request.
4646
* A committer may *never* merge their own pull request, a second party must
4747
merge their changes. If multiple people work on a pull request, it must be
4848
merged by someone who did not work on it.
4949
* A patch that breaks tests, or introduces regressions by changing or removing
5050
existing tests should not be merged. Tests must always be passing on
51-
``master``.
52-
* If somehow the tests get into a failing state on ``master`` (such as by a
51+
``main``.
52+
* If somehow the tests get into a failing state on ``main`` (such as by a
5353
backwards incompatible release of a dependency) no pull requests may be
5454
merged until this is rectified.
5555
* All merged patches must have 100% test coverage.

docs/security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ further follow-up emails.
6464
Supported Versions
6565
------------------
6666

67-
At any given time, we will provide security support for the `master`_ branch
67+
At any given time, we will provide security support for the `main`_ branch
6868
as well as the most recent release.
6969

7070
New releases for OpenSSL updates
@@ -89,4 +89,4 @@ The steps for issuing a security release are described in our
8989
:doc:`/doing-a-release` documentation.
9090

9191

92-
.. _`master`: https://github.com/pyca/cryptography
92+
.. _`main`: https://github.com/pyca/cryptography

release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def build_github_actions_wheels(token, version):
9090
"Accept": "application/vnd.github.v3+json",
9191
"Authorization": "token {}".format(token),
9292
},
93-
data=json.dumps({"ref": "master", "inputs": {"version": version}}),
93+
data=json.dumps({"ref": "main", "inputs": {"version": version}}),
9494
)
9595
response.raise_for_status()
9696

0 commit comments

Comments
 (0)