Skip to content

Commit b0641b5

Browse files
committed
Rename more master to main.
1 parent 6218fd7 commit b0641b5

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ The documentation can be found on `python-dockerflow.readthedocs.io`_
1414
:target: https://github.com/mozilla-services/python-dockerflow/actions
1515
:alt: GitHub Actions
1616

17-
.. image:: https://codecov.io/github/mozilla-services/python-dockerflow/coverage.svg?branch=master
17+
.. image:: https://codecov.io/github/mozilla-services/python-dockerflow/coverage.svg?branch=main
1818
:alt: Codecov
19-
:target: https://codecov.io/github/mozilla-services/python-dockerflow?branch=master
19+
:target: https://codecov.io/github/mozilla-services/python-dockerflow?branch=main
2020

2121
.. image:: https://readthedocs.org/projects/python-dockerflow/badge/?version=latest
2222
:alt: Documentation Status

docs/django.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Django projects that want to follow the Dockerflow specs:
2222

2323
- Signals for passed and failed heartbeats.
2424

25-
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md
26-
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md#application-request-summary-type-requestsummary
25+
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md
26+
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md#application-request-summary-type-requestsummary
2727

2828
.. seealso::
2929

@@ -245,7 +245,7 @@ file is located in the below example directory tree:
245245
│   └── urls.py
246246
└── ..
247247
248-
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md
248+
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/main/docs/version_object.md
249249

250250
.. _django-health:
251251

docs/flask.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ Flask based projects that want to follow the Dockerflow specs:
2828
- Adds ``request_id`` to the `flask.g`_ application namespace when it isn't already set
2929

3030
.. _`flask.g`: https://flask.palletsprojects.com/en/1.1.x/api/#flask.g
31-
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md
32-
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md#application-request-summary-type-requestsummary
31+
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md
32+
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md#application-request-summary-type-requestsummary
3333

3434
.. seealso::
3535

@@ -266,7 +266,7 @@ decorate a callback that gets the ``version_path`` value passed. E.g.::
266266
def my_version(root):
267267
return json.loads(os.path.join(root, 'acme_version.json'))
268268

269-
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md
269+
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/main/docs/version_object.md
270270

271271
.. _flask-health:
272272

docs/sanic.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Sanic based projects that want to follow the Dockerflow specs:
2525

2626
- Hooks to add custom Dockerflow checks.
2727

28-
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md
29-
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md#application-request-summary-type-requestsummary
28+
.. _`mozlog`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md
29+
.. _`request.summary`: https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md#application-request-summary-type-requestsummary
3030

3131
.. seealso::
3232

@@ -235,7 +235,7 @@ decorate a callback that gets the ``version_path`` value passed. E.g.::
235235
def my_version(root):
236236
return json.loads(os.path.join(root, 'acme_version.json'))
237237

238-
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md
238+
.. _version object: https://github.com/mozilla-services/Dockerflow/blob/main/docs/version_object.md
239239

240240
.. _sanic-health:
241241

src/dockerflow/django/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def is_authenticated(user): # pragma: no cover
2929
class DockerflowMiddleware(MiddlewareMixin):
3030
"""
3131
Emits a request.summary type log entry for every request.
32-
https://github.com/mozilla-services/Dockerflow/blob/master/docs/mozlog.md
32+
https://github.com/mozilla-services/Dockerflow/blob/main/docs/mozlog.md
3333
"""
3434

3535
viewpatterns = [

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.fixture
88
def version_content():
99
"""
10-
as documented on https://github.com/mozilla-services/Dockerflow/blob/master/docs/version_object.md
10+
as documented on https://github.com/mozilla-services/Dockerflow/blob/main/docs/version_object.md
1111
"""
1212
return {
1313
"source": "https://github.com/mozilla-services/python-dockerflow",

0 commit comments

Comments
 (0)