Skip to content

Commit 782f618

Browse files
committed
dls-controls->diamonlightsource
1 parent 88ae627 commit 782f618

File tree

17 files changed

+49
-49
lines changed

17 files changed

+49
-49
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.194.0/containers/ubuntu
33
{
44
"name": "dev-c7",
5-
"image": "ghcr.io/dls-controls/dev-c7:latest",
5+
"image": "ghcr.io/diamondlightsource/dev-c7:latest",
66
"remoteEnv": {
77
"DISPLAY": "${localEnv:DISPLAY}",
88
"HOME": "${localEnv:HOME}",
@@ -40,4 +40,4 @@
4040
"--storage-opt=ignore_chown_errors=true",
4141
"--runtime=/usr/bin/crun"
4242
]
43-
}
43+
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"python.languageServer": "Pylance",
1111
"editor.formatOnSave": true,
1212
"editor.codeActionsOnSave": {
13-
"source.organizeImports": true
13+
"source.organizeImports": "explicit"
1414
},
1515
"workbench.colorCustomizations": {
1616
"activityBar.background": "#521D07",

CONTRIBUTING.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ filing a new one. If you have a great idea but it involves big changes, please
77
file a ticket before making a pull request! We want to make sure you don't spend
88
your time coding something that might not fit the scope of the project.
99

10-
.. _GitHub: https://github.com/dls-controls/dev-c7/issues
10+
.. _GitHub: https://github.com/diamondlightsource/dev-c7/issues
1111

1212
Testing
1313
-------
@@ -23,7 +23,7 @@ Make Container Image
2323

2424
The image can be made locally with the script ``build-dec-c7``. The
2525
resulting image will be placed in the local cache with the tag
26-
``ghcr.io/dls-controls/dev-c7:latest``.
26+
``ghcr.io/diamondlightsource/dev-c7:latest``.
2727

2828
Since this is the default tag that ``run-dev-c7`` uses you can now use it
2929
launch and try out the new container image.
@@ -67,7 +67,7 @@ To make a new release, please follow this checklist:
6767
- make changes on a branch and test locally with ``build-dev-c7``
6868
- add any required updates to the docs and test with ``docs/make_docs.sh``
6969
- push the changes to GitHub
70-
- Go to https://github.com/dls-controls/dev-c7/pulls and create a PR to main
70+
- Go to https://github.com/diamondlightsource/dev-c7/pulls and create a PR to main
7171
- GitHub actions will make an image to verify that it builds
7272
- Await approval for the PR
7373
- Choose a new PEP440 compliant release number
@@ -76,5 +76,5 @@ To make a new release, please follow this checklist:
7676
- Submit the release
7777
- GitHub Actions will publish the image to ghcr.io and the docs to GitHub Pages
7878

79-
.. _release: https://github.com/dls-controls/dev-c7/releases
79+
.. _release: https://github.com/diamondlightsource/dev-c7/releases
8080

README.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@ This repo defines a container and launch script for re-creating the
99
DLS Controls RHEL7 developer environment on a RHEL8 Workstation.
1010

1111
============== ==============================================================
12-
Source code https://github.com/dls-controls/dev-c7
13-
Documentation https://dls-controls.github.io/dev-c7
14-
Releases https://github.com/dls-controls/dev-c7/releases
15-
Images https://ghcr.io/dls-controls/dev-c7
12+
Source code https://github.com/diamondlightsource/dev-c7
13+
Documentation https://diamondlightsource.github.io/dev-c7
14+
Releases https://github.com/diamondlightsource/dev-c7/releases
15+
Images https://ghcr.io/diamondlightsource/dev-c7
1616
============== ==============================================================
1717

1818
Quick Start
1919
===========
2020

21-
See the tutorial at `Quick Start <https://dls-controls.github.io/dev-c7/main/tutorials/start.html>`_.
21+
See the tutorial at `Quick Start <https://diamondlightsource.github.io/dev-c7/main/tutorials/start.html>`_.
2222

2323

2424

25-
.. |code_ci| image:: https://github.com/dls-controls/dev-c7/workflows/Code%20CI/badge.svg?branch=main
26-
:target: https://github.com/dls-controls/dev-c7/actions?query=workflow%3A%22Code+CI%22
25+
.. |code_ci| image:: https://github.com/diamondlightsource/dev-c7/workflows/Code%20CI/badge.svg?branch=main
26+
:target: https://github.com/diamondlightsource/dev-c7/actions?query=workflow%3A%22Code+CI%22
2727
:alt: Code CI
2828

29-
.. |docs_ci| image:: https://github.com/dls-controls/dev-c7/workflows/Docs%20CI/badge.svg?branch=main
30-
:target: https://github.com/dls-controls/dev-c7/actions?query=workflow%3A%22Docs+CI%22
29+
.. |docs_ci| image:: https://github.com/diamondlightsource/dev-c7/workflows/Docs%20CI/badge.svg?branch=main
30+
:target: https://github.com/diamondlightsource/dev-c7/actions?query=workflow%3A%22Docs+CI%22
3131
:alt: Docs CI
3232

3333
.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
@@ -38,6 +38,6 @@ See the tutorial at `Quick Start <https://dls-controls.github.io/dev-c7/main/tut
3838
Anything below this line is used when viewing README.rst and will be replaced
3939
when included in index.rst
4040
41-
See https://dls-controls.github.io/dev-c7 for detailed documentation.
41+
See https://diamondlightsource.github.io/dev-c7 for detailed documentation.
4242

4343
.. |quick| target:: tutorials/start.html

build-dev-c7.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
name=ghcr.io/dls-controls/dev-c7
3+
name=ghcr.io/diamondlightsource/dev-c7
44

55
set -e
66
podman build\

c7

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# NOTE that changes to this file should also be propgated to .devcontainer.json
66

7-
image=ghcr.io/dls-controls/dev-c7
7+
image=ghcr.io/diamondlightsource/dev-c7
88
version=latest
99
hostname=$(hostname)
1010
changed=false
@@ -93,15 +93,15 @@ shift $((OPTIND-1))
9393
if [[ ${install_devcontainer_json} == true ]] ; then
9494
mkdir -p .devcontainer
9595
cd .devcontainer
96-
wget -nv https://raw.githubusercontent.com/dls-controls/dev-c7/main/.devcontainer/devcontainer.json
96+
wget -nv https://raw.githubusercontent.com/diamondlightsource/dev-c7/main/.devcontainer/devcontainer.json
9797
echo
9898
echo "Installed devcontainer.json. Try 'Reopen in Container' or 'Reload Window'."
9999
exit 0
100100
fi
101101

102102
if ! grep overlay ~/.config/containers/storage.conf &> /dev/null; then
103103
echo "ERROR: dev-c7 requires overlay filesystem."
104-
echo "Please see https://dls-controls.github.io/dev-c7/main/how-to/podman.html"
104+
echo "Please see https://diamondlightsource.github.io/dev-c7/main/how-to/podman.html"
105105
exit 1
106106
fi
107107

@@ -218,7 +218,7 @@ elif [[ ${running} == "false" ]]; then
218218
# Prior to sleep we update the default shell to be bash,
219219
# this is because podman adds a user in etc/passwd but fails to honor
220220
# /etc/adduser.conf
221-
version_tag=$(podman inspect --format='{{index .Labels "org.opencontainers.image.version"}}' ghcr.io/dls-controls/dev-c7:${version})
221+
version_tag=$(podman inspect --format='{{index .Labels "org.opencontainers.image.version"}}' ghcr.io/diamondlightsource/dev-c7:${version})
222222
echo "Creating new dev-c7 container version ${version_tag:- Unknown} ..."
223223
${logging}
224224

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# hosted on RHEL8
33
#
44
# This is a stopgap so that we can use effort to promote the
5-
# kubernetes model https://github.com/dls-controls instead of spending
5+
# kubernetes model https://github.com/diamondlightsource instead of spending
66
# effort in rebuilding our toolchain for RHEL8
77

88
FROM centos:7

docs/explanations/how_it_works.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Images are stored in a container registry such as DockerHub or GitHub Container
3333
Registry https://ghcr.io. The image for ``dev-c7`` is stored alongside its source
3434
code here:
3535

36-
https://ghcr.io/dls-controls/dev-c7:latest
36+
https://ghcr.io/diamondlightsource/dev-c7:latest
3737

3838
The ``c7`` script uses ``podman run`` to create a container based on
3939
the above image. The container is an isolated execution environment with

docs/how-to/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/dls-controls/dev-c7:latest
1+
FROM ghcr.io/diamondlightsource/dev-c7:latest
22

33
# dev tools and libraries
44
RUN yum update -y && \

docs/how-to/containers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ container image.
6464
To experiment with making additions to the dev-c7 project, first clone
6565
the project and do a test build of the container::
6666

67-
git clone https://dls-controls.github.io/dev-c7/main/index.html
67+
git clone https://diamondlightsource.github.io/dev-c7/main/index.html
6868
cd dev-c7
6969
./build-dev-c7
7070

7171
``build-dev-c7`` will create a container image with the tag
72-
``ghcr.io/dls-controls/dev-c7``. This is the same tag that ``c7``
72+
``ghcr.io/diamondlightsource/dev-c7``. This is the same tag that ``c7``
7373
uses so it will launch a container based on your newly built image.
7474

7575
.. note::

0 commit comments

Comments
 (0)