DUNAMAI(1)
π NAME π
dunamai β ok so the official name is literally "dunamai from pijul" π that's it, that's the name, no notes.
β¨ DESCRIPTION β¨
bestie. this is the dunamai from pijul command β she reads your Pijul repo and hands you a version string π¦ here's the usage, exactly as it comes, no filter:
usage: dunamai from pijul [-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 Pijul πΈ β that's the whole assignment, and she ate.
π options π
-h,--helpβ shows you this help message and then exits, like a queen leaving the group chat π--metadataβ always include metadata, no exceptions. this one gets ignored when--formatis used (default:None)--no-metadataβ never include metadata, periodt. also ignored when--formatis used (default:None)--dirtyβ include the dirty flag if it applies to your situation π ignored when--formatis used (default:False)--tagged-metadataβ include tagged metadata if it applies. ignored when--formatis used (default:False)--pattern PATTERNβ a regular expression that gets matched against the version source πΈ. it must contain one capture group namedbase, and that one is the release segment of the source, ok? optionally it may contain two more groups namedstageandrevisionβstagebeing the prerelease type (think 'alpha' or 'rc') andrevisionbeing the number (think the 2 in 'alpha-2' or the 3 in 'rc3'). it may also carry a group namedtagged_metadatafor extra metadata after the main part of the version (usually after a plus sign). and there may be a group namedepochfor the PEP 440 concept, iykyk. if thebasegroup isn't there, then this gets interpreted as a named preset instead, which may be one of:default,default-unprefixed. and the default value of the whole thing is this icon:
(?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)
--pattern-prefix PATTERN_PREFIXβ drops this in right after the pattern's start anchor (^) π (default:None)--format FORMATβ your own custom output format β¨. the substitutions available are:{base},{stage},{revision},{distance},{commit},{dirty},{tagged_metadata},{epoch},{branch},{branch_escaped},{timestamp},{major},{minor},{patch}(default:None)--style {pep440,semver,pvp}β a preconfigured output format π¦. she'll default to PEP 440 if you don't set this and don't give a custom format. and if you specify both a style and a custom format, then the format gets validated against that style's rules (default:None)--latest-tagβ only inspects the latest tag on the latest tagged commit, looking for a pattern match π (default:False)--highest-tagβ only inspects the numerically highest tag across all tagged commits, looking for a pattern match π (default:False)--strictβ elevates warnings to errors π€. when there are no tags, she fails instead of falling back to0.0.0(default:False)--path PATHβ the directory to inspect, if it's not the current working directory π (default:None)--debugβ displays additional information onstderrfor troubleshooting π (default:False)--bumpβ increments the last part of the versionbaseby 1 π₯ unless thestageis set, in which case it increments therevisionby 1, or sets it to a default of 2 if there was norevision. does nothing when you're 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 π«Ά this is dunamai from pijul 1.26.2, dated August 2026 β go generate some versions, you got this πβ¨π
π¦ where this page comes from
- fedora 43: python3-dunamai 1.26.2-1.fc43 Β· MIT
- fedora 44: python3-dunamai 1.26.2-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms