From 1466e980bef71ae0f0db00cefae24ef8927f8a4b Mon Sep 17 00:00:00 2001 From: Navaneet Villodi <11260095+nauaneed@users.noreply.github.com> Date: Fri, 23 May 2025 17:29:44 +0530 Subject: [PATCH] prep for rename master to main --- README.rst | 2 +- automan/cluster_manager.py | 2 +- docs/source/overview.rst | 2 +- docs/source/tutorial.rst | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 9f2f54b..c696dfc 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ automan: a simple automation framework .. |CI Status| image:: https://github.com/pypr/automan/actions/workflows/tests.yml/badge.svg :target: https://github.com/pypr/automan/actions -.. |Coverage Status| image:: https://codecov.io/gh/pypr/automan/branch/master/graph/badge.svg +.. |Coverage Status| image:: https://codecov.io/gh/pypr/automan/branch/main/graph/badge.svg :target: https://codecov.io/gh/pypr/automan .. |Documentation Status| image:: https://readthedocs.org/projects/automan/badge/?version=latest diff --git a/automan/cluster_manager.py b/automan/cluster_manager.py index 85cfbe2..a8247aa 100644 --- a/automan/cluster_manager.py +++ b/automan/cluster_manager.py @@ -231,7 +231,7 @@ def _get_helper_scripts(self): script = os.path.join(self.scripts_dir, 'virtualenv.py') if not os.path.exists(script): print("Downloading latest virtualenv.py") - url = 'https://raw.githubusercontent.com/pypa/virtualenv/master/virtualenv.py' + url = 'https://raw.githubusercontent.com/pypa/virtualenv/main/virtualenv.py' opener = urlopen(url) with open(script, 'wb') as f: f.write(opener.read()) diff --git a/docs/source/overview.rst b/docs/source/overview.rst index edeb087..a4b3e1e 100644 --- a/docs/source/overview.rst +++ b/docs/source/overview.rst @@ -46,7 +46,7 @@ And then run:: If you just want to run the latest version and do not have ``git`` you can do this:: - $ pip install https://github.com/pypr/automan/zipball/master + $ pip install https://github.com/pypr/automan/zipball/main Once this is done, move on to the next section that provides a gentle tutorial introduction to using automan. diff --git a/docs/source/tutorial.rst b/docs/source/tutorial.rst index d944c6b..0d49c36 100644 --- a/docs/source/tutorial.rst +++ b/docs/source/tutorial.rst @@ -46,7 +46,7 @@ Yay, it works! If you want to run these examples, they are included along with the example files in the automan source code. The files should be in ``examples/tutorial`` (`Browse online - `_). + `_). This example does not produce any output files and doesn't really take any configuration arguments. So we don't really need to do much about this. @@ -339,7 +339,7 @@ the listing below. :lineno-match: To see the complete file see `automate4.py -`_. The key +`_. The key points to note in the code are the following: - As before ``get_name()`` simply returns a convenient name where the outputs @@ -966,7 +966,7 @@ You may also subclass these or customize the bootstrap code and use that. A complete example of each of these is available in the ``examples/edm_conda_cluster`` directory that you can see here -https://github.com/pypr/automan/tree/master/examples/edm_conda_cluster +https://github.com/pypr/automan/tree/main/examples/edm_conda_cluster The README in the directory tells you how to run the examples.