Skip to content

Commit 876b74d

Browse files
committed
Fix outdated references to cookiecutter-plone
1 parent 30e557d commit 876b74d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The updated list of templates can be found at the [cookieplone-templates](https:
9999

100100
| Environment Variable | Description | Example |
101101
| --- | --- | --- |
102-
| **COOKIEPLONE_REPOSITORY** | Where to look for templates to be used. | `COOKIEPLONE_REPOSITORY=/home/plone/cookiecutter-plone/ pipx run cookieplone` |
102+
| **COOKIEPLONE_REPOSITORY** | Where to look for templates to be used. | `COOKIEPLONE_REPOSITORY=/home/plone/cookieplone-templates/ pipx run cookieplone` |
103103
| **COOKIEPLONE_REPOSITORY_TAG** | Which tag/branch to use from a remote repository. | `COOKIEPLONE_REPOSITORY_TAG=experimental pipx run cookieplone` |
104104
| **COOKIEPLONE_REPO_PASSWORD** | Password to use when using a remote repository that is password protected. | `COOKIEPLONE_REPO_PASSWORD=very-secure pipx run cookieplone` |
105105

cookieplone/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
## DEFAULT
2727
COOKIEPLONE_REPO = "https://github.com/plone/cookieplone"
28-
TEMPLATES_REPO = "https://github.com/plone/cookiecutter-plone"
28+
TEMPLATES_REPO = "https://github.com/plone/cookieplone-templates"
2929
REPO_DEFAULT = "gh:plone/cookieplone-templates"
3030

3131
## Config

cookieplone/utils/internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def signature_md(path: Path) -> str:
8383
date_info = f"{datetime.now()}"
8484
cookieplone = f"[Cookieplone ({__version__})]({settings.COOKIEPLONE_REPO})"
8585
commit = git.get_last_commit(path)
86-
template_title = "cookiecutter-plone"
86+
template_title = "cookieplone-templates"
8787
if not commit:
8888
template_link = settings.TEMPLATES_REPO
8989
else:

tests/utils/test_internal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ def test_signature_md_without_commit(no_repo):
4646
result = internal.signature_md(no_repo)
4747
assert isinstance(result, str)
4848
assert result.startswith(f"Generated using [Cookieplone ({__version__})]")
49-
assert "[cookiecutter-plone]" in result
49+
assert "[cookieplone-templates]" in result
5050

5151

5252
def test_signature_md_with_commit(tmp_repo):
5353
result = internal.signature_md(tmp_repo)
5454
assert isinstance(result, str)
5555
assert result.startswith(f"Generated using [Cookieplone ({__version__})]")
56-
assert re.search(r"\[cookiecutter-plone \([a-f0-9]{7}\)]\([^\)]*\)", result)
56+
assert re.search(r"\[cookieplone-templates \([a-f0-9]{7}\)]\([^\)]*\)", result)

0 commit comments

Comments
 (0)