Skip to content

Commit

Permalink
Replaced dls-controls with DiamondLightSource
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jul 15, 2024
1 parent f6ba1e3 commit 7fbb26d
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitremotes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github git@github.com:dls-controls/odinprocservcontrol.git
github git@github.com:DiamondLightSource/odinprocservcontrol.git
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/odinprocservcontrol/issues
.. _dls_controls repository: https://github.com/DiamondLightSource/odinprocservcontrol/issues

Running the tests
-----------------

To get the source source code and run the unit tests, run::

$ git clone git://github.com/dls-controls/odinprocservcontrol.git
$ git clone git://github.com/DiamondLightSource/odinprocservcontrol.git
$ cd odinprocservcontrol
$ pipenv install --dev
$ pipenv run tests
Expand Down
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ delays.

============== ==============================================================
PyPI ``pip install odinprocservcontrol``
Source code https://github.com/dls-controls/odinprocservcontrol
Documentation https://dls-controls.github.io/odinprocservcontrol
Source code https://github.com/DiamondLightSource/odinprocservcontrol
Documentation https://DiamondLightSource.github.io/odinprocservcontrol
============== ==============================================================

.. |code_ci| image:: https://github.com/dls-controls/odinprocservcontrol/workflows/Code%20CI/badge.svg?branch=master
:target: https://github.com/dls-controls/odinprocservcontrol/actions?query=workflow%3A%22Code+CI%22
.. |code_ci| image:: https://github.com/DiamondLightSource/odinprocservcontrol/workflows/Code%20CI/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/odinprocservcontrol/actions?query=workflow%3A%22Code+CI%22
:alt: Code CI

.. |docs_ci| image:: https://github.com/dls-controls/odinprocservcontrol/workflows/Docs%20CI/badge.svg?branch=master
:target: https://github.com/dls-controls/odinprocservcontrol/actions?query=workflow%3A%22Docs+CI%22
.. |docs_ci| image:: https://github.com/DiamondLightSource/odinprocservcontrol/workflows/Docs%20CI/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/odinprocservcontrol/actions?query=workflow%3A%22Docs+CI%22
:alt: Docs CI

.. |coverage| image:: https://codecov.io/gh/dls-controls/odinprocservcontrol/branch/master/graph/badge.svg
:target: https://codecov.io/gh/dls-controls/odinprocservcontrol
.. |coverage| image:: https://codecov.io/gh/DiamondLightSource/odinprocservcontrol/branch/master/graph/badge.svg
:target: https://codecov.io/gh/DiamondLightSource/odinprocservcontrol
:alt: Test Coverage

.. |pypi_version| image:: https://img.shields.io/pypi/v/odinprocservcontrol.svg
Expand All @@ -38,4 +38,4 @@ Documentation https://dls-controls.github.io/odinprocservcontrol
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/odinprocservcontrol for more detailed documentation.
See https://DiamondLightSource.github.io/odinprocservcontrol for more detailed documentation.
6 changes: 3 additions & 3 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@
if (dirs.has(name)) {
var li = document.createElement("li");
var a = document.createElement("a");
a.href = 'https://dls-controls.github.io/{{ project }}/' + name;
a.href = 'https://DiamondLightSource.github.io/{{ project }}/' + name;
a.innerText = name;
li.appendChild(a)
document.getElementById('versions').appendChild(li);
}
}
Promise.all([
// Find gh-pages directories and populate `dirs`
fetch("https://api.github.com/repos/dls-controls/{{ project }}/contents?ref=gh-pages")
fetch("https://api.github.com/repos/DiamondLightSource/{{ project }}/contents?ref=gh-pages")
.then(response => response.json())
.then(data => data.forEach(function(e) {
if (e.type == "dir") dirs.add(e.name);
})),
// Add tags to `versions`
fetch('https://api.github.com/repos/dls-controls/{{ project }}/tags')
fetch('https://api.github.com/repos/DiamondLightSource/{{ project }}/tags')
.then(response => response.json())
.then(data => data.forEach(function(e) {
versions.push(e.name);
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is the internal API reference for odinprocservcontrol
.. data:: odinprocservcontrol.__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:: odinprocservcontrol.odinprocserv
:members:
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can now use ``pip`` to install the library::
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/odinprocservcontrol.git
python3 -m pip install git+git://github.com/DiamondLightSource/odinprocservcontrol.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::
Expand Down
2 changes: 1 addition & 1 deletion odinprocservcontrol/_version_git.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = odinprocservcontrol
description = A pythonSoftIOC to restart procServ Odin processes in a logical way
url = https://github.com/dls-controls/odinprocservcontrol
url = https://github.com/DiamondLightSource/odinprocservcontrol
author = Gary Yendell
author_email = gary.yendell@diamond.ac.uk
license = Apache License 2.0
Expand Down

0 comments on commit 7fbb26d

Please sign in to comment.