DUNAMAI(1)

πŸ“¦
version 1.26.2 Β· 5 versions
, in fedora 43, fedora 44

✨ NAME ✨

dunamai β€” dunamai from fossil πŸ’– bestie this is literally the version-fairy for your Fossil repos


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the usage is giving:

dunamai from fossil [-h] [--metadata] [--no-metadata] [--dirty]

[--tagged-metadata] [--pattern PATTERN]
       [--pattern-prefix PATTERN_PREFIX] [--format FORMAT] [--style
       {pep440,semver,pvp}] [--latest-tag] [--highest-tag] [--strict]
       [--path PATH] [--debug] [--bump] [--commit-length COMMIT_LENGTH]
       [--commit-prefix COMMIT_PREFIX] [--escape-with ESCAPE_WITH]

Generate version from Fossil ✨ that's the whole vibe, no cap.


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” show this help message and exit. iconic behavior honestly 🫢
  • --metadata β€” Always include metadata. Ignored when --format is used (default: None) πŸ’…
  • --no-metadata β€” Never include metadata. Ignored when --format is used (default: None) πŸ™ˆ
  • --dirty β€” Include dirty flag if applicable. Ignored when --format is used (default: False) 🧚
  • --tagged-metadata β€” Include tagged metadata if applicable. Ignored when --format is used (default: False) 🌸
  • --pattern PATTERN β€” Regular expression matched against the version source. This must contain one capture group named base corresponding to the release segment of the source. Optionally, it may contain another two groups named stage and revision corresponding to a prerelease type (such as 'alpha' or 'rc') and number (such as in 'alpha-2' or 'rc3'). It may also contain a group named tagged_metadata corresponding to extra metadata after the main part of the version (typically after a plus sign). There may also be a group named epoch for the PEP 440 concept. If the base group is not present, then instead this will be interpreted as a named preset, which may be one of the following: default, default-unprefixed (default: (?x) (?# ignore whitespace) ^v((?P<epoch>\d+)!)?(?P<base>\d+(\.\d+)*) (?# v1.2.3 or v1!2000.1.2) ([-._]?((?P<stage>[a-zA-Z]+)[-._]?(?P<revision>\d+)?))? (?# b0) (\+(?P<tagged_metadata>.+))?$ (?# +linux))) πŸ‘‘
for real, that default regex is a whole novel. copy it exactly, don't freestyle it bestie 😭
  • --pattern-prefix PATTERN_PREFIX β€” Insert this after the pattern's start anchor (^). (default: None) πŸ’œ
  • --format FORMAT β€” Custom output format. Available substitutions: {base}, {stage}, {revision}, {distance}, {commit}, {dirty}, {tagged_metadata}, {epoch}, {branch}, {branch_escaped}, {timestamp}, {major}, {minor}, {patch} (default: None) ✨
  • --style {pep440,semver,pvp} β€” Preconfigured output format. Will default to PEP 440 if not set and no custom format given. If you specify both a style and a custom format, then the format will be validated against the style's rules (default: None) πŸ’…
  • --latest-tag β€” Only inspect the latest tag on the latest tagged commit for a pattern match (default: False) πŸŽ€
  • --highest-tag β€” Only inspect the numerically highest tag across all tagged commits for a pattern match (default: False) πŸ”₯
  • --strict β€” Elevate warnings to errors. When there are no tags, fail instead of falling back to 0.0.0 (default: False) πŸ‘‘
  • --path PATH β€” Directory to inspect, if not the current working directory (default: None) πŸ¦‹
  • --debug β€” Display additional information on stderr for troubleshooting (default: False) πŸ“
  • --bump β€” Increment the last part of the version base by 1, unless the stage is set, in which case increment the revision by 1 or set it to a default of 2 if there was no revision Does nothing when on a commit with a version tag. (default: False) 🌈
  • --commit-length COMMIT_LENGTH β€” Use this many characters from the start of the full commit hash (default: None) ⭐
  • --commit-prefix COMMIT_PREFIX β€” Add this prefix when serializing commit IDs (default: None) πŸ’œ
  • --escape-with ESCAPE_WITH β€” When escaping, replace with this substitution. The default is simply to remove invalid characters. (default: None) 🧚

and that's the whole page bestie, you ate πŸ’…βœ¨

this was dunamai from fossil version 1.26.2, dropped in August 2026 β€” go forth and version slay πŸ‘‘πŸ’–

πŸ“¦ where this page comes from