2.0 KiB
Releaser Development
-
The connection issues explained in "Troubleshooting" might be related to some problem deep inside the Python libraries. Some users tried cli/cli, which is written in golang, as an alternative to Releaser (see msys2/msys2-installer#36). In fact, when the Python version of Releaser was written,
cliwas evaluated as an alternative to PyGitHub.gh releasewas (and still is) not flexible enough to update the reference of a release, without deleting and recreating it (see cli.github.com: manual/gh_release_create). Deletion and recreation is unfortunate, because it notifies all the watchers of a repository (see eine/tip#111). Nevertheless, it might be desirable to evaluate usinggh release upload(see cli.github.com: manual/gh_release_upload) in Releaser.- Login through SSH is not supported by
cli(see cli/cli#3715); however, on GitHub Actions a token is available${{ github.token }}andcliis installed by default.
- Login through SSH is not supported by
-
In order to avoid Releaser and the dependencies being installed at runtime, we should add a workflow to build a container image and push it to the GitHub Container Registry (say
ghcr.io/pyTooling/Releaser). Then, updateaction.ymlto use that image instead of theDockerfile. That would remove the performance penalty of having additional dependencies (such as pyTooling/pyAttributes or willmcgugan/rich). -
It might be desirable to have pyTooling.Version.SemVersion handle the regular expression from semver.org, and use proper Python classes in Releaser.