1
- .TH DUNAMAI "1" "2024\- 07 \- 26 " "dunamai 1.21.2 " "Dunamai"
1
+ .TH DUNAMAI "1" "2024\- 08 \- 07 " "dunamai 1.22.0 " "Dunamai"
2
2
.SH NAME
3
3
dunamai
4
4
.SH SYNOPSIS
@@ -26,8 +26,9 @@ usage: dunamai from any [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
26
26
[\-\- pattern PATTERN] [\-\- pattern\- prefix PATTERN_PREFIX]
27
27
[\-\- format FORMAT] [\-\- style {pep440,semver,pvp}]
28
28
[\-\- latest\- tag] [\-\- strict] [\-\- path PATH] [\-\- debug]
29
- [\-\- bump] [\-\- full\- commit] [\-\- tag\- branch TAG_BRANCH]
30
- [\-\- tag\- dir TAG_DIR]
29
+ [\-\- bump] [\-\- full\- commit]
30
+ [\-\- commit\- length COMMIT_LENGTH]
31
+ [\-\- tag\- branch TAG_BRANCH] [\-\- tag\- dir TAG_DIR]
31
32
32
33
Generate version from any detected VCS
33
34
@@ -110,6 +111,10 @@ there was no `revision` Does nothing when on a commit with a version tag.
110
111
\fB \-\- full \- commit \fR
111
112
Get the full commit hash instead of the short form (only: Git, Mercurial)
112
113
114
+ .TP
115
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
116
+ Use this many characters from the start of the full commit hash
117
+
113
118
.TP
114
119
\fB \-\- tag \- branch \fR \fI \, TAG_BRANCH \/ \fR
115
120
Branch on which to find tags, if different than the current branch (only: Git)
@@ -127,7 +132,9 @@ usage: dunamai from git [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
127
132
[\-\- pattern PATTERN] [\-\- pattern\- prefix PATTERN_PREFIX]
128
133
[\-\- format FORMAT] [\-\- style {pep440,semver,pvp}]
129
134
[\-\- latest\- tag] [\-\- strict] [\-\- path PATH] [\-\- debug]
130
- [\-\- bump] [\-\- full\- commit] [\-\- tag\- branch TAG_BRANCH]
135
+ [\-\- bump] [\-\- full\- commit]
136
+ [\-\- commit\- length COMMIT_LENGTH]
137
+ [\-\- tag\- branch TAG_BRANCH]
131
138
132
139
Generate version from Git
133
140
@@ -210,6 +217,10 @@ there was no `revision` Does nothing when on a commit with a version tag.
210
217
\fB \-\- full \- commit \fR
211
218
Get the full commit hash instead of the short form (only: Git, Mercurial)
212
219
220
+ .TP
221
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
222
+ Use this many characters from the start of the full commit hash
223
+
213
224
.TP
214
225
\fB \-\- tag \- branch \fR \fI \, TAG_BRANCH \/ \fR
215
226
Branch on which to find tags, if different than the current branch (only: Git)
@@ -224,6 +235,7 @@ usage: dunamai from mercurial [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty
224
235
[\-\- format FORMAT] [\-\- style {pep440,semver,pvp}]
225
236
[\-\- latest\- tag] [\-\- strict] [\-\- path PATH]
226
237
[\-\- debug] [\-\- bump] [\-\- full\- commit]
238
+ [\-\- commit\- length COMMIT_LENGTH]
227
239
228
240
Generate version from Mercurial
229
241
@@ -300,6 +312,10 @@ there was no `revision` Does nothing when on a commit with a version tag.
300
312
.TP
301
313
\fB \-\- full \- commit \fR
302
314
Get the full commit hash instead of the short form (only: Git, Mercurial)
315
+
316
+ .TP
317
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
318
+ Use this many characters from the start of the full commit hash
303
319
.RE
304
320
305
321
.SS \fB dunamai from darcs \fR
@@ -310,6 +326,7 @@ usage: dunamai from darcs [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
310
326
[\-\- pattern\- prefix PATTERN_PREFIX] [\-\- format FORMAT]
311
327
[\-\- style {pep440,semver,pvp}] [\-\- latest\- tag]
312
328
[\-\- strict] [\-\- path PATH] [\-\- debug] [\-\- bump]
329
+ [\-\- commit\- length COMMIT_LENGTH]
313
330
314
331
Generate version from Darcs
315
332
@@ -382,6 +399,10 @@ Display additional information on stderr for troubleshooting
382
399
Increment the last part of the version `base` by 1, unless the `stage` is set,
383
400
in which case increment the `revision` by 1 or set it to a default of 2 if
384
401
there was no `revision` Does nothing when on a commit with a version tag.
402
+
403
+ .TP
404
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
405
+ Use this many characters from the start of the full commit hash
385
406
.RE
386
407
387
408
.SS \fB dunamai from subversion \fR
@@ -392,7 +413,9 @@ usage: dunamai from subversion [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirt
392
413
[\-\- pattern\- prefix PATTERN_PREFIX]
393
414
[\-\- format FORMAT] [\-\- style {pep440,semver,pvp}]
394
415
[\-\- latest\- tag] [\-\- strict] [\-\- path PATH]
395
- [\-\- debug] [\-\- bump] [\-\- tag\- dir TAG_DIR]
416
+ [\-\- debug] [\-\- bump]
417
+ [\-\- commit\- length COMMIT_LENGTH]
418
+ [\-\- tag\- dir TAG_DIR]
396
419
397
420
Generate version from Subversion
398
421
@@ -466,6 +489,10 @@ Increment the last part of the version `base` by 1, unless the `stage` is set,
466
489
in which case increment the `revision` by 1 or set it to a default of 2 if
467
490
there was no `revision` Does nothing when on a commit with a version tag.
468
491
492
+ .TP
493
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
494
+ Use this many characters from the start of the full commit hash
495
+
469
496
.TP
470
497
\fB \-\- tag \- dir \fR \fI \, TAG_DIR \/ \fR
471
498
Location of tags relative to the root (only: Subversion)
@@ -479,6 +506,7 @@ usage: dunamai from bazaar [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
479
506
[\-\- pattern\- prefix PATTERN_PREFIX] [\-\- format FORMAT]
480
507
[\-\- style {pep440,semver,pvp}] [\-\- latest\- tag]
481
508
[\-\- strict] [\-\- path PATH] [\-\- debug] [\-\- bump]
509
+ [\-\- commit\- length COMMIT_LENGTH]
482
510
483
511
Generate version from Bazaar
484
512
@@ -551,6 +579,10 @@ Display additional information on stderr for troubleshooting
551
579
Increment the last part of the version `base` by 1, unless the `stage` is set,
552
580
in which case increment the `revision` by 1 or set it to a default of 2 if
553
581
there was no `revision` Does nothing when on a commit with a version tag.
582
+
583
+ .TP
584
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
585
+ Use this many characters from the start of the full commit hash
554
586
.RE
555
587
556
588
.SS \fB dunamai from fossil \fR
@@ -561,6 +593,7 @@ usage: dunamai from fossil [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
561
593
[\-\- pattern\- prefix PATTERN_PREFIX] [\-\- format FORMAT]
562
594
[\-\- style {pep440,semver,pvp}] [\-\- latest\- tag]
563
595
[\-\- strict] [\-\- path PATH] [\-\- debug] [\-\- bump]
596
+ [\-\- commit\- length COMMIT_LENGTH]
564
597
565
598
Generate version from Fossil
566
599
@@ -633,6 +666,10 @@ Display additional information on stderr for troubleshooting
633
666
Increment the last part of the version `base` by 1, unless the `stage` is set,
634
667
in which case increment the `revision` by 1 or set it to a default of 2 if
635
668
there was no `revision` Does nothing when on a commit with a version tag.
669
+
670
+ .TP
671
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
672
+ Use this many characters from the start of the full commit hash
636
673
.RE
637
674
638
675
.SS \fB dunamai from pijul \fR
@@ -643,6 +680,7 @@ usage: dunamai from pijul [\-h] [\-\-metadata] [\-\-no\-metadata] [\-\-dirty]
643
680
[\-\- pattern\- prefix PATTERN_PREFIX] [\-\- format FORMAT]
644
681
[\-\- style {pep440,semver,pvp}] [\-\- latest\- tag]
645
682
[\-\- strict] [\-\- path PATH] [\-\- debug] [\-\- bump]
683
+ [\-\- commit\- length COMMIT_LENGTH]
646
684
647
685
Generate version from Pijul
648
686
@@ -715,6 +753,10 @@ Display additional information on stderr for troubleshooting
715
753
Increment the last part of the version `base` by 1, unless the `stage` is set,
716
754
in which case increment the `revision` by 1 or set it to a default of 2 if
717
755
there was no `revision` Does nothing when on a commit with a version tag.
756
+
757
+ .TP
758
+ \fB \-\- commit \- length \fR \fI \, COMMIT_LENGTH \/ \fR
759
+ Use this many characters from the start of the full commit hash
718
760
.RE
719
761
720
762
.SS \fB dunamai check \fR
0 commit comments