You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-84Lines changed: 1 addition & 84 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,90 +21,7 @@ To install the latest release locally, make sure you have
21
21
22
22
## Checklist for Adoption
23
23
24
-
A. Prep the `jupyter_releaser` fork:
25
-
26
-
-[ ] Clone this repository onto your GitHub user account.
27
-
-[ ] Add a [GitHub Access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with access to target GitHub repo to run GitHub Actions, saved as
28
-
`ADMIN_GITHUB_TOKEN` in the [repository secrets](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository).
29
-
-[ ] Add access token for the [PyPI registry](https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#saving-credentials-on-github) stored as `PYPI_TOKEN`.
30
-
_Note_ For security reasons, it is recommended that you scope the access
31
-
to a single repository, and use a variable called `PYPI_TOKEN_MAP` that is formatted as follows:
32
-
33
-
```
34
-
owner1/repo1,token1
35
-
owner2/repo2,token2
36
-
```
37
-
38
-
-[ ] If needed, add access token for [npm](https://docs.npmjs.com/creating-and-viewing-access-tokens), saved as `NPM_TOKEN`.
39
-
40
-
B. Prep target repository:
41
-
42
-
-[ ] Switch to Markdown Changelog
43
-
- We recommend [MyST](https://myst-parser.readthedocs.io/en/latest/?badge=latest), especially if some of your docs are in reStructuredText.
44
-
- Can use `pandoc -s changelog.rst -o changelog.md` and some hand edits as needed.
45
-
- Note that [directives](https://myst-parser.readthedocs.io/en/latest/using/syntax.html#syntax-directives) can still be used
46
-
-[ ] Add HTML start and end comment markers to Changelog file - see example in [CHANGELOG.md](./CHANGELOG.md) (view in raw mode)
47
-
-[ ] Add [tbump](https://github.com/tankerhq/tbump) support if using Python - see example metadata in [pyproject.toml](./pyproject.toml)
48
-
- We recommend putting `setuptools` metadata in `setup.cfg` and using `version attr: <package_name>.__version__`, see example [`setup.cfg`](./setup.cfg)
49
-
- See documentation on `setup.cfg`[metadata](https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html)
50
-
- If previously providing `version_info`, use a snippet like the one below, since `tbump` requires the intact version string, e.g.
51
-
52
-
```python
53
-
import re
54
-
55
-
# Version string must appear intact for tbump versioning
56
-
__version__='1.4.0.dev0'
57
-
58
-
# Build up version_info tuple for backwards compatibility
- [ ] Update or add `RELEASE.md` that describes the onboarding and release process, e.g.
90
-
91
-
```markdown
92
-
# Release Workflow
93
-
94
-
- [ ] Set up a fork of `jupyter-releaser` if you have not yet done so.
95
-
- [ ] Run through the release process, targeting this repo and the appropriate branch
96
-
```
97
-
98
-
- [ ] Optionally add [configuration](#Configuration) to the target repository if non-standard options or hooks are needed.
99
-
- [ ] If desired, add `check_release` job, changelog, and `tbump` support to other active release branches
100
-
- [ ] Try out the `Draft Changelog` and `Draft Release` process against a fork of the target repo first so you don't accidentally push tags and GitHub releases to the source repository.
101
-
- [ ] Try the `Publish Release` process using a prerelease version before publishing a final version.
102
-
103
-
## Backport Branches
104
-
105
-
- Create backport branches the usual way, e.g. `git checkout -b 3.0.x v3.0.1; git push origin 3.0.x`
106
-
- When running the `Publish Release` Workflow, an automatic PR is generated for the default branch
107
-
in the target repo, positioned in the appropriate place in the changelog.
24
+
See the [adoption docs](https://jupyter-releaser.readthedocs.io/en/latest/how_to_guides/convert_repo.html).
Copy file name to clipboardExpand all lines: docs/source/how_to_guides/convert_repo.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,21 +47,20 @@ B. Prep target repository:
47
47
-[ ] Add [tbump](https://github.com/tankerhq/tbump) support if using Python - see example metadata in [pyproject.toml](https://github.com/jupyter-server/jupyter_releaser/blob/master/pyproject.toml)
48
48
- We recommend putting `setuptools` metadata in `setup.cfg` and using `version attr: <package_name>.__version__`, see example [`setup.cfg`](https://github.com/jupyter-server/jupyter_releaser/blob/master/setup.cfg)
49
49
- See documentation on `setup.cfg`[metadata](https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html)
50
-
- If previously providing `version_info`, use a snippet like the one below, since `tbump` requires the intact version string, e.g.
50
+
- If previously providing `version_info` like `version_info = (1, 7, 0, '.dev', '0')`, use tbump config like the one below:
- [ ] Add a workflow that uses the [`enforce-label`](https://github.com/jupyterlab/maintainer-tools#enforce-labels) action from `jupyterlab/maintainer-tools` to ensure that all PRs have on of the triage labels used to
89
+
categorize the changelog.
90
+
89
91
- [ ] Update or add `RELEASE.md` that describes the onboarding and release process, e.g.
0 commit comments