From 413931e0028d2dfc7b26f3c274db0d1c6629b669 Mon Sep 17 00:00:00 2001 From: Garry O'Donnell Date: Tue, 16 Jul 2024 14:39:24 +0000 Subject: [PATCH] Replaced dls-controls with DiamondLightSource --- CHANGELOG.rst | 30 +++++++++++++++--------------- CONTRIBUTING.rst | 4 ++-- README.rst | 20 ++++++++++---------- docs/conf.py | 4 ++-- docs/index.rst | 2 +- docs/reference/api.rst | 2 +- docs/tutorials/installation.rst | 2 +- setup.cfg | 2 +- softioc/_version_git.py | 2 +- softioc/extension.c | 2 +- tests/test_record_values.py | 2 +- tests/test_records.py | 2 +- 12 files changed, 37 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b7957daa..20fe18a9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -220,18 +220,18 @@ Added: Last release as an EPICS module rather than a Python package -.. _Unreleased: https://github.com/dls-controls/pythonIoc/compare/4.5.0...HEAD -.. _4.5.0: https://github.com/dls-controls/pythonIoc/compare/4.4.0...4.5.0 -.. _4.4.0: https://github.com/dls-controls/pythonIoc/compare/4.3.0...4.4.0 -.. _4.3.0: https://github.com/dls-controls/pythonIoc/compare/4.2.0...4.3.0 -.. _4.2.0: https://github.com/dls-controls/pythonIoc/compare/4.1.0...4.2.0 -.. _4.1.0: https://github.com/dls-controls/pythonIoc/compare/4.0.2...4.1.0 -.. _4.0.2: https://github.com/dls-controls/pythonIoc/compare/4.0.1...4.0.2 -.. _4.0.1: https://github.com/dls-controls/pythonIoc/compare/3.2.1...4.0.1 -.. _3.2.1: https://github.com/dls-controls/pythonIoc/compare/3.2...3.2.1 -.. _3.2: https://github.com/dls-controls/pythonIoc/compare/3.1...3.2 -.. _3.1: https://github.com/dls-controls/pythonIoc/compare/3.0...3.1 -.. _3.0: https://github.com/dls-controls/pythonIoc/compare/3.0b2...3.0 -.. _3.0b2: https://github.com/dls-controls/pythonIoc/compare/3.0b1...3.0b2 -.. _3.0b1: https://github.com/dls-controls/pythonIoc/compare/2-16...3.0b1 -.. _2-16: https://github.com/dls-controls/pythonIoc/releases/tag/2-16 +.. _Unreleased: https://github.com/DiamondLightSource/pythonIoc/compare/4.5.0...HEAD +.. _4.5.0: https://github.com/DiamondLightSource/pythonIoc/compare/4.4.0...4.5.0 +.. _4.4.0: https://github.com/DiamondLightSource/pythonIoc/compare/4.3.0...4.4.0 +.. _4.3.0: https://github.com/DiamondLightSource/pythonIoc/compare/4.2.0...4.3.0 +.. _4.2.0: https://github.com/DiamondLightSource/pythonIoc/compare/4.1.0...4.2.0 +.. _4.1.0: https://github.com/DiamondLightSource/pythonIoc/compare/4.0.2...4.1.0 +.. _4.0.2: https://github.com/DiamondLightSource/pythonIoc/compare/4.0.1...4.0.2 +.. _4.0.1: https://github.com/DiamondLightSource/pythonIoc/compare/3.2.1...4.0.1 +.. _3.2.1: https://github.com/DiamondLightSource/pythonIoc/compare/3.2...3.2.1 +.. _3.2: https://github.com/DiamondLightSource/pythonIoc/compare/3.1...3.2 +.. _3.1: https://github.com/DiamondLightSource/pythonIoc/compare/3.0...3.1 +.. _3.0: https://github.com/DiamondLightSource/pythonIoc/compare/3.0b2...3.0 +.. _3.0b2: https://github.com/DiamondLightSource/pythonIoc/compare/3.0b1...3.0b2 +.. _3.0b1: https://github.com/DiamondLightSource/pythonIoc/compare/2-16...3.0b1 +.. _2-16: https://github.com/DiamondLightSource/pythonIoc/releases/tag/2-16 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3b823272..046df21c 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -8,14 +8,14 @@ involves big changes, please file a ticket before making a pull request! We want to make sure you don't spend your time coding something that might not fit the scope of the project. -.. _dls_controls repository: https://github.com/dls-controls/pythonIoc/issues +.. _dls_controls repository: https://github.com/DiamondLightSource/pythonIoc/issues Running the tests ----------------- To get the source source code and run the unit tests, run:: - $ git clone git://github.com/dls-controls/pythonSoftIoc.git + $ git clone git://github.com/DiamondLightSource/pythonSoftIoc.git $ cd pythonSoftIoc $ git submodule init $ git submodule update diff --git a/README.rst b/README.rst index e17fc858..735dad85 100644 --- a/README.rst +++ b/README.rst @@ -11,9 +11,9 @@ asyncio for concurrency. PVs are served over Channel Access and PVAccess. ============== ============================================================== PyPI ``pip install softioc`` -Source code https://github.com/dls-controls/pythonSoftIOC -Documentation https://dls-controls.github.io/pythonSoftIOC -Changelog https://github.com/dls-controls/pythonSoftIOC/blob/master/CHANGELOG.rst +Source code https://github.com/DiamondLightSource/pythonSoftIOC +Documentation https://DiamondLightSource.github.io/pythonSoftIOC +Changelog https://github.com/DiamondLightSource/pythonSoftIOC/blob/master/CHANGELOG.rst ============== ============================================================== A simple example of the use of this library: @@ -47,16 +47,16 @@ A simple example of the use of this library: # Finally leave the IOC running with an interactive shell. softioc.interactive_ioc(globals()) -.. |code_ci| image:: https://github.com/dls-controls/pythonSoftIOC/workflows/Code%20CI/badge.svg?branch=master - :target: https://github.com/dls-controls/pythonSoftIOC/actions?query=workflow%3A%22Code+CI%22 +.. |code_ci| image:: https://github.com/DiamondLightSource/pythonSoftIOC/workflows/Code%20CI/badge.svg?branch=master + :target: https://github.com/DiamondLightSource/pythonSoftIOC/actions?query=workflow%3A%22Code+CI%22 :alt: Code CI -.. |docs_ci| image:: https://github.com/dls-controls/pythonSoftIOC/workflows/Docs%20CI/badge.svg?branch=master - :target: https://github.com/dls-controls/pythonSoftIOC/actions?query=workflow%3A%22Docs+CI%22 +.. |docs_ci| image:: https://github.com/DiamondLightSource/pythonSoftIOC/workflows/Docs%20CI/badge.svg?branch=master + :target: https://github.com/DiamondLightSource/pythonSoftIOC/actions?query=workflow%3A%22Docs+CI%22 :alt: Docs CI -.. |coverage| image:: https://codecov.io/gh/dls-controls/pythonSoftIOC/branch/master/graph/badge.svg - :target: https://codecov.io/gh/dls-controls/pythonSoftIOC +.. |coverage| image:: https://codecov.io/gh/DiamondLightSource/pythonSoftIOC/branch/master/graph/badge.svg + :target: https://codecov.io/gh/DiamondLightSource/pythonSoftIOC :alt: Test Coverage .. |pypi_version| image:: https://img.shields.io/pypi/v/softioc.svg @@ -71,4 +71,4 @@ A simple example of the use of this library: Anything below this line is used when viewing README.rst and will be replaced when included in index.rst -See https://dls-controls.github.io/pythonSoftIOC for more detailed documentation. +See https://DiamondLightSource.github.io/pythonSoftIOC for more detailed documentation. diff --git a/docs/conf.py b/docs/conf.py index 004994fa..23c31d99 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -89,9 +89,9 @@ cothread=( "https://diamondlightsource.github.io/cothread/master/", None ), - aioca=("https://dls-controls.github.io/aioca/master/", None), + aioca=("https://DiamondLightSource.github.io/aioca/master/", None), epicsdbbuilder=( - "https://dls-controls.github.io/epicsdbbuilder/master/", None) + "https://DiamondLightSource.github.io/epicsdbbuilder/master/", None) ) # -- Options for HTML output --------------------------------------------------- diff --git a/docs/index.rst b/docs/index.rst index 5a13344a..f69dad38 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -78,5 +78,5 @@ Table Of Contents reference/api reference/contributing - Changelog + Changelog Index diff --git a/docs/reference/api.rst b/docs/reference/api.rst index af33011a..d5d9aa97 100644 --- a/docs/reference/api.rst +++ b/docs/reference/api.rst @@ -53,7 +53,7 @@ API .. data:: softioc.__version__ :type: str - Version number as calculated by https://github.com/dls-controls/versiongit + Version number as calculated by https://github.com/DiamondLightSource/versiongit .. automodule:: softioc.softioc diff --git a/docs/tutorials/installation.rst b/docs/tutorials/installation.rst index 11db83ab..e0a48bab 100644 --- a/docs/tutorials/installation.rst +++ b/docs/tutorials/installation.rst @@ -43,7 +43,7 @@ the first tutorial:: If you require a feature that is not currently released you can also install from github:: - python3 -m pip install git+git://github.com/dls-controls/pythonSoftIOC.git + python3 -m pip install git+git://github.com/DiamondLightSource/pythonSoftIOC.git The library should now be installed and the commandline interface on your path. You can check the version that has been installed by typing:: diff --git a/setup.cfg b/setup.cfg index 5bf9577e..69a9ad04 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = softioc description = Embed an EPICS IOC in a Python process -url = https://github.com/dls-controls/pythonSoftIOC +url = https://github.com/DiamondLightSource/pythonSoftIOC author = Michael Abbott author_email = Michael.Abbott@diamond.ac.uk license = Apache License 2.0 diff --git a/softioc/_version_git.py b/softioc/_version_git.py index ec811d1b..efe15d0e 100644 --- a/softioc/_version_git.py +++ b/softioc/_version_git.py @@ -1,7 +1,7 @@ # Compute a version number from a git repo or archive # This file is released into the public domain. Generated by: -# versiongit-1.0 (https://github.com/dls-controls/versiongit) +# versiongit-1.0 (https://github.com/DiamondLightSource/versiongit) import os import re import sys diff --git a/softioc/extension.c b/softioc/extension.c index 0bec3116..bf8bfd9c 100644 --- a/softioc/extension.c +++ b/softioc/extension.c @@ -123,7 +123,7 @@ static PyObject *db_put_field(PyObject *self, PyObject *args) * callback. * Therefore, we must ensure we relinquish the GIL while we perform this * EPICS call, to avoid potential deadlocks. - * See https://github.com/dls-controls/pythonSoftIOC/issues/119. */ + * See https://github.com/DiamondLightSource/pythonSoftIOC/issues/119. */ Py_BEGIN_ALLOW_THREADS put_result = dbPutField(&dbAddr, dbrType, pbuffer, length); Py_END_ALLOW_THREADS diff --git a/tests/test_record_values.py b/tests/test_record_values.py index 02ce680e..1a29be84 100644 --- a/tests/test_record_values.py +++ b/tests/test_record_values.py @@ -371,7 +371,7 @@ def run_ioc(record_configurations: list, conn, set_enum, get_enum): elif creation_func in [builder.WaveformIn, builder.WaveformOut]: kwarg["length"] = WAVEFORM_LENGTH # Must specify when no value # Related to this issue: - # https://github.com/dls-controls/pythonSoftIOC/issues/37 + # https://github.com/DiamondLightSource/pythonSoftIOC/issues/37 out_rec = creation_func(record_name, **kwarg) diff --git a/tests/test_records.py b/tests/test_records.py index cb3c2b0e..094c19b1 100644 --- a/tests/test_records.py +++ b/tests/test_records.py @@ -1115,7 +1115,7 @@ async def test_set_too_long_value(self): class TestRecursiveSet: """Tests related to recursive set() calls. See original issue here: - https://github.com/dls-controls/pythonSoftIOC/issues/119""" + https://github.com/DiamondLightSource/pythonSoftIOC/issues/119""" recursive_record_name = "RecursiveLongOut"