Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.core.versioning.maven-like

Building blocks to versioning systems following the maven or semver model.

Building blocks to versioning systems following the maven or semver model.
      
raw docstring

BumpAblecljprotocol

bumpclj

(bump this level)
source

initial-maven-versionclj

Initial value to use when starting the versioning process from scratch.

Initial value to use when starting the versioning process from scratch.
sourceraw docstring

initial-semver-versionclj

Initial value to use when starting the versioning process from scratch.

Initial value to use when starting the versioning process from scratch.
sourceraw docstring

maven-versionclj

(maven-version x)

Make a representation of a version in the maven style.

Make a representation of a version in the maven style.
sourceraw docstring

MavenVersionclj

source

parse-versionclj

(parse-version s)
source

qualifer-regexclj

source

qualifier->strclj

(qualifier->str {:keys [label n]})
source

safer-bumpclj

(safer-bump v level)

Bump a version according to a level :major, :minor, or :patch in the general case and :alpha, :beta, :rc and :release in the maven case.

Using commit distances this function can throw exceptions when the bump would just make another version of the same artefact or would in effect progress backward.

Example:

  • with commit distance 0, bumping from 0.0.1 to 0.0.2 would crete 2 version of the same artefact.
  • bumping from 0.1.0-beta to 0.1.0-alpha would be going backward.
Bump a version according to a level :major, :minor, or :patch in the general case and :alpha, :beta, :rc and :release
in the maven case.

Using commit distances this function can throw exceptions when the bump would just make another version of the same
artefact or would in effect progress backward.

Example:
- with commit distance 0, bumping from 0.0.1 to 0.0.2 would crete 2 version of the same artefact.
- bumping from 0.1.0-beta to 0.1.0-alpha would be going backward.
sourceraw docstring

semver-versionclj

(semver-version x)

Make a representation of a version in the semver style.

Make a representation of a version in the semver style.
sourceraw docstring

SemverVersionclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close