Jupyterhub-firstuseauthenticator

Latest version: v1.1.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.14.0

Not secure

0.13

0.13.0

Not secure

0.12

Not secure

0.12.0

0.11.1

How to make a release

`firstuseauthenticator` is a package [available on
PyPI](https://pypi.org/project/jupyterhub-firstuseauthenticator/).
The PyPI release is done automatically by TravisCI when a tag
is pushed.

For you to follow along according to these instructions, you need
to have push rights to the [firstuseauthenticator GitHub
repository](https://github.com/jupyterhub/firstuseauthenticator).

Steps to make a release

1. Checkout main and make sure it is up to date.

shell
ORIGIN=${ORIGIN:-origin} set to the canonical remote, e.g. 'upstream' if 'origin' is not the official repo
git checkout main
git fetch $ORIGIN main
git reset --hard $ORIGIN/main
WARNING! This next command deletes any untracked files in the repo
git clean -xfd


1. Update [CHANGELOG.md](CHANGELOG.md). Doing this can be made easier with the
help of the
[choldgraf/github-activity](https://github.com/choldgraf/github-activity)
utility.

1. Set the `version_info` variable in [\_version.py](firstuseauthenticator/_version.py)
appropriately and make a commit.

shell
git add firstuseauthenticator/_version.py
VERSION=... e.g. 1.2.3
git commit -m "release $VERSION"


1. Reset the `version_info` variable in
[\_version.py](firstuseauthenticator/_version.py) appropriately with an incremented
patch version and a `dev` element, then make a commit.

shell
git add firstuseauthenticator/_version.py
git commit -m "back to dev"


1. Push your two commits to main.

shell
first push commits without a tags to ensure the
commits comes through, because a tag can otherwise
be pushed all alone without company of rejected
commits, and we want have our tagged release coupled
with a specific commit in main
git push $ORIGIN main


1. Create a git tag for the pushed release commit and push it.

shell
git tag -a $VERSION -m $VERSION HEAD~1

then verify you tagged the right commit
git log

then push it
git push $ORIGIN refs/tags/$VERSION

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.