|
27 | 27 | log = getLogger(__name__) |
28 | 28 |
|
29 | 29 | PR_BODY_TEMPLATE = """\ |
30 | | -`cookiecutter-scverse` released [{release.title}]({release.html_url}). |
| 30 | +`cookiecutter-scverse` released [{release.tag_name}]({release.html_url}). |
31 | 31 |
|
32 | 32 | ## Changes |
33 | 33 |
|
34 | 34 | {release.body} |
35 | 35 |
|
36 | 36 | ## Additional remarks |
37 | | -* unsubscribe: If you don`t want to receive these PRs in the future, |
| 37 | +* unsubscribe: If you don’t want to receive these PRs in the future, |
38 | 38 | add `skip: true` to [`template-repos.yml`][] using a PR or, |
39 | 39 | if you never want to sync from the template again, delete your `.cruft` file. |
40 | 40 | * If there are **merge conflicts**, |
|
43 | 43 | * The scverse template works best when the [pre-commit.ci][], [readthedocs][] and [codecov][] services are enabled. |
44 | 44 | Make sure to activate those apps if you haven't already. |
45 | 45 |
|
46 | | -[template-repos.yml]: https://github.com/scverse/ecosystem-packages/blob/main/template-repos.yml |
| 46 | +[`template-repos.yml`]: https://github.com/scverse/ecosystem-packages/blob/main/template-repos.yml |
47 | 47 | [pre-commit.ci]: {template_usage}#pre-commit-ci |
48 | 48 | [readthedocs]: {template_usage}#documentation-on-readthedocs |
49 | 49 | [codecov]: {template_usage}#coverage-tests-with-codecov |
@@ -123,9 +123,7 @@ def get_template_release(gh: Github, tag_name: str) -> GHRelease: |
123 | 123 | def parse_repos(f: IO[str] | str) -> list[RepoInfo]: |
124 | 124 | repos = cast(list[RepoInfo], safe_load(f)) |
125 | 125 | log.info(f"Found {len(repos)} known repos") |
126 | | - # TODO: return real repos |
127 | | - fake_repos = [RepoInfo(url="https://github.com/flying-sheep/cruft-pr-test")] |
128 | | - return fake_repos |
| 126 | + return repos |
129 | 127 |
|
130 | 128 |
|
131 | 129 | def get_repo_urls(gh: Github) -> Generator[str]: |
|
0 commit comments