Bot releases are visible (Hide)
--ignore-untracked
CLI flag was ignored.--commit-length
option.Published by mtkennerly 4 months ago
Published by mtkennerly 6 months ago
Published by mtkennerly 6 months ago
Generally, when Dunamai can detect the VCS in use, but there's no version set yet, then Dunamai uses 0.0.0 as a fallback, unless strict mode is enabled. This is useful for new projects that do not yet have a release.
However, if there were some tags and none matched the version pattern, then Dunamai would yield an error. That wouldn't be helpful for a new project with some non-version tag, and it could be incorrect for a monorepo with different tags for different packages.
Now, Dunamai will use 0.0.0 in this case as well, unless strict mode is enabled.
You can now specify a pattern prefix. For example, --pattern default --pattern-prefix some-package-
would match tags like some-package-v1.2.3
. This is useful if you just want a custom prefix without writing a whole pattern.
Added --ignore-untracked
option to control checking whether the repository is dirty.
Published by mtkennerly 6 months ago
Version.bump()
to add a smart
argument, which only bumps when distance != 0
. This will also make Version.serialize()
use pre-release formatting automatically, like calling Version.serialize(bump=True)
.Published by mtkennerly 8 months ago
Published by mtkennerly 9 months ago
^3.5
to >=3.5
since Python does not follow Semantic Versioning.git log
commands that did not include -c log.showsignature=false
. (Contributed by pdecat)Published by mtkennerly about 1 year ago
--path
option to inspect a directory other than the current one. The Version.from_*
methods now also take a path
argument.Published by mtkennerly about 1 year ago
--decorate-refs=refs/tags/
is now specified for git log
in case you've configured log.excludeDecoration=refs/tags/
.Published by mtkennerly over 1 year ago
vcs
attribute to Version
to indicate which VCS was detected.Published by mtkennerly over 1 year ago
from
command will print a warning for shallow Git repositories. This becomes an error with --strict
.Version
class has a new concerns
field to indicate warnings with the version. Right now, the only possibility is Concern.ShallowRepository
.Published by mtkennerly over 1 year ago
pkg_resources
in the docstring for get_version
.CHANGELOG.md
and tests
are now included in sdists.Published by mtkennerly over 1 year ago
Version.parse
to better handle PEP 440 versions produced by Dunamai itself. Specifically, in 1.2.3.post4.dev5
, the post number becomes the distance and the dev number is ignored. In 1.2.3.dev5
, the dev number becomes the distance.increment
argument to bump_version
and Version.bump
. (Contributed by legendof-selda)from git
would report that it was not a Git project, and from any
would report that it could not detect a VCS. Now, both commands report that there is dubious ownership.from any
VCS detection. The error now specifies which VCSes were checked and which were not found to be installed.Published by mtkennerly almost 2 years ago
Published by mtkennerly almost 2 years ago
git log --no-show-signature
to git -c log.showsignature=false log
.Published by mtkennerly almost 2 years ago
strict
option to prevent falling back to 0.0.0
when there are no tags..git_archival.json
files created by git archive
..hg_archival.txt
files created by hg archive
.Published by mtkennerly about 2 years ago
showSignature = true
configured. (Contributed by riton)Published by mtkennerly about 2 years ago
Published by mtkennerly about 2 years ago
Published by mtkennerly over 2 years ago
Pattern
type for named pattern presets. Currently, this includes:
Pattern.Default
(CLI: --pattern default
) for the existing default.Pattern.DefaultUnprefixed
(CLI: --pattern default-unprefixed
) for the existing default, but without requiring the v
prefix.tag_branch
option (CLI: --tag-branch
) for Git repositories. This is particularly useful for Gitflow without fast forward, where develop
does not contain the tag history, so you can specify --tag-branch master
.full_commit
option (CLI: --full-commit
) for Git and Mercurial repositories to obtain the full commit hash instead of the short form.Version.parse
so that it better handles versions without the v
prefix when the pattern does not (or may not) require it.from any
not passing the --tag-dir
option along for Subversion repositories.