Skip to content

Commit 297c795

Browse files
authored
Merge pull request #1068 from manics/master-main
Rename master branch to main
2 parents a9b6fbe + 0d20a9f commit 297c795

File tree

14 files changed

+29
-30
lines changed

14 files changed

+29
-30
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# <a href="https://github.com/jupyterhub/repo2docker"><img src="https://raw.githubusercontent.com/jupyterhub/repo2docker/8731ecf0967cc5fde028c456f2b92be651ebbc18/docs/source/_static/images/repo2docker.png" height="48px" /> repo2docker</a>
22

3-
[![Deploy Status](https://travis-ci.org/jupyterhub/repo2docker.svg?branch=master)](https://travis-ci.org/jupyterhub/repo2docker)
43
[![Build Status](https://github.com/jupyterhub/repo2docker/workflows/Continuous%20Integration/badge.svg)](https://github.com/jupyterhub/repo2docker/actions)
54
[![Documentation Status](https://readthedocs.org/projects/repo2docker/badge/?version=latest)](http://repo2docker.readthedocs.io/en/latest/?badge=latest)
65
[![Contribute](https://img.shields.io/badge/I_want_to_contribute!-grey?logo=jupyter)](https://repo2docker.readthedocs.io/en/latest/contributing/contributing.html)

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def setup(app):
6060
# source_suffix = ['.rst', '.md']
6161
source_suffix = [".rst", ".md"]
6262

63-
# The master toctree document.
64-
master_doc = "index"
63+
# The root toctree document.
64+
root_doc = master_doc = "index"
6565

6666
# General information about the project.
6767
project = "repo2docker"

docs/source/config_files.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ can be found on this page (and to the right).
2929
that lets you install any kind of package,
3030
including Python, R, and C/C++ packages.
3131
``repo2docker`` does not use your ``environment.yml`` to create and activate a new conda environment.
32-
Rather, it updates a base conda environment `defined here <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/buildpacks/conda/environment.yml>`_ with the packages listed in your ``environment.yml``.
32+
Rather, it updates a base conda environment `defined here <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/buildpacks/conda/environment.yml>`_ with the packages listed in your ``environment.yml``.
3333
This means that the environment will always have the same default name, not the name
3434
specified in your ``environment.yml``.
3535

3636
.. note::
3737

3838
You can install files from pip in your ``environment.yml`` as well.
3939
For example, see the `binder-examples environment.yml
40-
<https://github.com/binder-examples/python-conda_pip/blob/master/environment.yml>`_
40+
<https://github.com/binder-examples/python-conda_pip/blob/HEAD/environment.yml>`_
4141
file.
4242

4343
You can also specify which Python version to install in your built environment
@@ -73,7 +73,7 @@ both kinds.
7373

7474
This specifies a list of Python packages that should be installed in your
7575
environment. Our
76-
`requirements.txt example <https://github.com/binder-examples/requirements/blob/master/requirements.txt>`_
76+
`requirements.txt example <https://github.com/binder-examples/requirements/blob/HEAD/requirements.txt>`_
7777
on GitHub shows a typical requirements file.
7878

7979

@@ -120,7 +120,7 @@ with ``REQUIRE`` and ``environment.yml``, visit
120120
This is used to install R libraries pinned to a specific snapshot on
121121
`MRAN <https://mran.microsoft.com/documents/rro/reproducibility>`_.
122122
To set the date of the snapshot add a runtime.txt_.
123-
For an example ``install.R`` file, visit our `example install.R file <https://github.com/binder-examples/r/blob/master/install.R>`_.
123+
For an example ``install.R`` file, visit our `example install.R file <https://github.com/binder-examples/r/blob/HEAD/install.R>`_.
124124

125125

126126
.. _apt.txt:
@@ -132,7 +132,7 @@ A list of Debian packages that should be installed. The base image used is usual
132132
version of Ubuntu.
133133

134134
We use ``apt.txt``, for example, to install LaTeX in our
135-
`example apt.txt for LaTeX <https://github.com/binder-examples/latex/blob/master/apt.txt>`_.
135+
`example apt.txt for LaTeX <https://github.com/binder-examples/latex/blob/HEAD/apt.txt>`_.
136136

137137

138138
.. _DESCRIPTION:
@@ -162,7 +162,7 @@ You should include ``set -e`` or the equivalent at the start of the script to av
162162

163163
An example use-case of ``postBuild`` file is JupyterLab's demo on mybinder.org.
164164
It uses a ``postBuild`` file in a folder called ``binder`` to `prepare
165-
their demo for binder <https://github.com/jupyterlab/jupyterlab-demo/blob/master/binder/postBuild>`_.
165+
their demo for binder <https://github.com/jupyterlab/jupyterlab-demo/blob/HEAD/binder/postBuild>`_.
166166

167167

168168
.. _start:
@@ -204,12 +204,12 @@ For these cases, we have a special file, ``runtime.txt``.
204204
``runtime.txt`` will be ignored).
205205

206206
Have ``python-x.y`` in ``runtime.txt`` to run the repository with Python version x.y.
207-
See our `Python2 example repository <https://github.com/binder-examples/python2_runtime/blob/master/runtime.txt>`_.
207+
See our `Python2 example repository <https://github.com/binder-examples/python2_runtime/blob/HEAD/runtime.txt>`_.
208208

209209
Have ``r-<RVERSION>-<YYYY>-<MM>-<DD>`` in ``runtime.txt`` to run the repository with R version RVERSION and libraries from a YYYY-MM-DD snapshot of `MRAN <https://mran.microsoft.com/documents/rro/reproducibility>`_.
210210
RVERSION can be set to 3.4, 3.5, 3.6, or to patch releases for the 3.5 and 3.6 series.
211211
If you do not specify a version, the latest release will be used (currently R 3.6).
212-
See our `R example repository <https://github.com/binder-examples/r/blob/master/runtime.txt>`_.
212+
See our `R example repository <https://github.com/binder-examples/r/blob/HEAD/runtime.txt>`_.
213213

214214
.. _default.nix:
215215

docs/source/contributing/buildpack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Add a new buildpack
22

33
A new buildpack is needed when a new language or a new package manager should be
4-
supported. [Existing buildpacks](https://github.com/jupyterhub/repo2docker/tree/master/repo2docker/buildpacks)
4+
supported. [Existing buildpacks](https://github.com/jupyterhub/repo2docker/tree/HEAD/repo2docker/buildpacks)
55
are a good model for how new buildpacks should be structured.
66
See [the Buildpacks page](buildpacks) for more information about the
77
structure of a buildpack.

docs/source/contributing/contentprovider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Add a new content provider
55
Adding a new content provider allows repo2docker to grab repositories from new
66
locations on the internet. To do so, you should take the following steps:
77

8-
#. Sub-class the `ContentProvider class <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/contentproviders/base.py#L17>`_.
8+
#. Sub-class the `ContentProvider class <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/contentproviders/base.py#L17>`_.
99
This will give you a skeleton class you can modify to support your new
1010
content provider.
1111
#. Implement a **detect()** method for the class. This takes an input

docs/source/contributing/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ Read the [next section](#guidelines-to-getting-a-pull-request-merged) for guidel
6464
6. Wait for a community member to merge your changes.
6565
Remember that **someone else must merge your pull request**.
6666
That goes for new contributors and long term maintainers alike.
67-
Because `master` is continuously deployed to mybinder.org it is essential
68-
that `master` is always in a deployable state.
67+
Because `main` is continuously deployed to mybinder.org it is essential
68+
that `main` is always in a deployable state.
6969
7. (optional) Deploy a new version of repo2docker to mybinder.org by [following these steps](http://mybinder-sre.readthedocs.io/en/latest/deployment/how.html)
7070

7171
## Guidelines to getting a Pull Request merged

docs/source/contributing/roadmap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ creating the environment in which a piece of software can be executed.
6060

6161
The "Now" items are being actively worked on by the project:
6262
* reduce documentation typos and syntax errors
63-
* increase test coverage to 80% (see https://codecov.io/gh/jupyterhub/repo2docker/tree/master/repo2docker for low coverage files)
63+
* increase test coverage to 80% (see https://codecov.io/gh/jupyterhub/repo2docker/tree/main/repo2docker for low coverage files)
6464
* mounting repository contents in locations that is not `/home/jovyan`
6565
* investigate options for pinning repo2docker versions ([#490](https://github.com/jupyterhub/repo2docker/issues/490))
6666

docs/source/contributing/tasks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ To update one of the dependencies shared across all `repo2docker` builds, you
5252
must follow these steps (with more detailed information in the sections below):
5353

5454
1. Make sure you have [Docker](https://www.docker.com/) running on your computer
55-
2. Bump the version numbers of the dependencies you want to update in the `conda` environment ([link](https://github.com/jupyterhub/repo2docker/blob/master/CONTRIBUTING.md#conda-dependencies))
56-
3. Make a pull request with your changes ([link](https://github.com/jupyterhub/repo2docker/blob/master/CONTRIBUTING.md#make-a-pull-request))
55+
2. Bump the version numbers of the dependencies you want to update in the `conda` environment ([link](https://github.com/jupyterhub/repo2docker/blob/HEAD/CONTRIBUTING.md#conda-dependencies))
56+
3. Make a pull request with your changes ([link](https://github.com/jupyterhub/repo2docker/blob/HEAD/CONTRIBUTING.md#make-a-pull-request))
5757

5858
See the subsections below for more detailed instructions.
5959

@@ -115,7 +115,7 @@ test to prevent the bug from coming back/the feature breaking in the future.
115115
116116
## Creating a Release
117117
118-
We make a release of whatever is on `master` every month. We use "calendar versioning".
118+
We make a release of whatever is on `main` every month. We use "calendar versioning".
119119
Monthly releases give users a predictable pattern for when releases are going to
120120
happen and prevents locking up improvements for fixes for long periods of time.
121121
@@ -135,7 +135,7 @@ V=YYYY.MM.0; git tag -am "release $V" $V
135135
> If you need to make a second (or third) release in a month increment the
136136
> trailing 0 of the version to 1 (or 2).
137137
138-
Then push this change up to the master repository
138+
Then push this change up to the main repository
139139

140140
```
141141
git push origin --tags

docs/source/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Repo2docker officially supports the following versions of Python
2828
- 2.7
2929

3030
Additional versions may work, as long as the
31-
`base environment <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/buildpacks/conda/environment.yml>`_
31+
`base environment <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/buildpacks/conda/environment.yml>`_
3232
can be installed for your version of Python.
3333
The most likely source of incompatibility is if one of the packages
3434
in the base environment is not packaged for your Python,

docs/source/howto/user_interface.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ For example, the following Binder URL will open the
3030
`pyTudes repository <https://github.com/norvig/pytudes>`_
3131
and begin a JupyterLab session in the ``ipynb`` folder:
3232

33-
https://mybinder.org/v2/gh/norvig/pytudes/master?urlpath=lab/tree/ipynb
33+
https://mybinder.org/v2/gh/norvig/pytudes/HEAD?urlpath=lab/tree/ipynb
3434

3535
The ``/tree/ipynb`` above is how JupyterLab directs you to a specific file
3636
or folder.
@@ -61,7 +61,7 @@ For example, the following Binder URL will open the
6161
`pyTudes repository <https://github.com/norvig/pytudes>`_
6262
and begin an nteract session in the ``ipynb`` folder:
6363

64-
https://mybinder.org/v2/gh/norvig/pytudes/master?urlpath=nteract/tree/ipynb
64+
https://mybinder.org/v2/gh/norvig/pytudes/HEAD?urlpath=nteract/tree/ipynb
6565

6666
The ``/tree/ipynb`` above is how nteract directs you to a specific file
6767
or folder.
@@ -83,7 +83,7 @@ RStudio will be accessible by appending ``/rstudio`` to the URL, like so:
8383
For example, the following Binder link will open an RStudio session in
8484
the `R demo repository <https://github.com/binder-examples/r>`_.
8585

86-
http://mybinder.org/v2/gh/binder-examples/r/master?urlpath=rstudio
86+
http://mybinder.org/v2/gh/binder-examples/r/HEAD?urlpath=rstudio
8787

8888

8989
Shiny
@@ -106,7 +106,7 @@ a Shiny app.
106106
For example, the following Binder link will open a Shiny session in
107107
the `R demo repository <https://github.com/binder-examples/r>`_.
108108

109-
http://mybinder.org/v2/gh/binder-examples/r/master?urlpath=shiny/bus-dashboard/
109+
http://mybinder.org/v2/gh/binder-examples/r/HEAD?urlpath=shiny/bus-dashboard/
110110

111111

112112
Stencila

0 commit comments

Comments
 (0)