Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 525f0e8

Browse files
committed
fixup dls-controls -> epics-containers
1 parent 07569f3 commit 525f0e8

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Changelog
22
=========
33

44
The changelog for the skeleton module is the list of `closed pull requests
5-
<https://github.com/dls-controls/dls-python3-skeleton/pulls?q=is%3Apr+is%3Aclosed>`_
5+
<https://github.com/epics-containers/dls-python3-skeleton/pulls?q=is%3Apr+is%3Aclosed>`_
66

77
All developments for the ``skeleton`` branch take place via pull requests, and
88
changes to the commandline tools and docs are not tracked in a changelog.

docs/how-to/existing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Example merge
2626
-------------
2727

2828
As an example, `scanspec #46
29-
<https://github.com/dls-controls/scanspec/pull/46>`_ shows the what this
29+
<https://github.com/epics-containers/scanspec/pull/46>`_ shows the what this
3030
adoption looks like. The commandline tool was run on the existing repo::
3131

3232
$ cd /path/to/scanspec

docs/how-to/update.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ structure in an existing repo) some time ago, there may be some changes to the
66
structure that you could pick up. You can optionally check what differences
77
these changes make to the files by doing::
88

9-
$ git fetch https://github.com/dls-controls/dls-python3-skeleton skeleton
9+
$ git fetch https://github.com/epics-containers/dls-python3-skeleton skeleton
1010
$ git diff ...FETCH_HEAD
1111

1212
To merge the changes in do::
1313

14-
$ git pull https://github.com/dls-controls/dls-python3-skeleton skeleton
14+
$ git pull https://github.com/epics-containers/dls-python3-skeleton skeleton

src/python3_pip_skeleton/__main__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
__all__ = ["main"]
1313

1414
# The source of the skeleton module to pull from
15-
SKELETON = "https://github.com/dls-controls/dls-python3-skeleton"
15+
SKELETON = "https://github.com/epics-containers/dls-python3-skeleton"
1616
# The name of the merge branch that will be created
1717
MERGE_BRANCH = "skeleton-merge-branch"
1818
# Extensions to change
@@ -24,7 +24,7 @@
2424
"CONTRIBUTING.rst": ("\nUpdating the tools\n", None),
2525
"api.rst": (
2626
"Version number as calculated by",
27-
"https://github.com/dls-controls/versiongit",
27+
"https://github.com/epics-containers/versiongit",
2828
),
2929
}
3030
SKELETON_ROOT_COMMIT = "ededf00035e6ccfac78946213009c1ecd7c110a9"
@@ -65,7 +65,7 @@ def merge_skeleton(
6565
repo = path.name
6666

6767
def replace_text(text: str) -> str:
68-
text = text.replace("dls-controls", org)
68+
text = text.replace("epics-containers", org)
6969
text = text.replace("dls-python3-skeleton", repo)
7070
text = text.replace("python3_pip_skeleton", package)
7171
text = text.replace("Firstname Lastname", full_name)
@@ -234,7 +234,7 @@ def main(args=None):
234234
sub.set_defaults(func=new)
235235
sub.add_argument("path", type=Path, help="Path to new repo to create")
236236
sub.add_argument(
237-
"--org", default="dls-controls", help="GitHub org, default dls-controls"
237+
"--org", default="epics-containers", help="GitHub org, default epics-containers"
238238
)
239239
sub.add_argument(
240240
"--package", default=None, help="Package name, defaults to directory name"
@@ -250,7 +250,7 @@ def main(args=None):
250250
sub.set_defaults(func=existing)
251251
sub.add_argument("path", type=Path, help="Path to new repo to existing repo")
252252
sub.add_argument(
253-
"--org", default="dls-controls", help="GitHub org, default dls-controls"
253+
"--org", default="epics-containers", help="GitHub org, default epics-containers"
254254
)
255255
sub.add_argument(
256256
"--package", default=None, help="Package name, defaults to directory name"

tests/test_dls_python3_skeleton.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_new_module(tmp_path: Path):
5050
if "versiongit" in line
5151
]
5252
assert (
53-
" Version number as calculated by https://github.com/dls-controls/versiongit"
53+
" Version number as calculated by https://github.com/epics-containers/versiongit"
5454
in versiongit_lines
5555
)
5656
assert (module / "src" / "my_module").is_dir()
@@ -96,7 +96,7 @@ def test_existing_module(tmp_path: Path):
9696
"1",
9797
"--branch",
9898
"0.5.3",
99-
"https://github.com/dls-controls/scanspec",
99+
"https://github.com/epics-containers/scanspec",
100100
str(module),
101101
)
102102
output = check_output(
@@ -153,7 +153,7 @@ def test_existing_module_already_adopted(tmp_path: Path):
153153
"clone",
154154
"--branch",
155155
"0.5.4", # dls-python3-skeleton was adopted in this release
156-
"https://github.com/dls-controls/scanspec",
156+
"https://github.com/epics-containers/scanspec",
157157
str(module),
158158
)
159159
with pytest.raises(Exception) as excinfo:

0 commit comments

Comments
 (0)