Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.versioning

Grouping of the different versioning utilities.

Grouping of the different versioning utilities.
      
raw docstring

check-repo-in-orderclj

(check-repo-in-order ctxt)
Concentrate several checks in one function. Namely:
- [[fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-some-commit]]
- [[fr.jeremyschoffen.mbt.alpha.default.versioning.git-state/check-not-dirty]]
sourceraw docstring

current-versionclj

(current-version param)

Get the current version using the provided version scheme.

Get the current version using the provided version scheme.
sourceraw docstring

get-tagclj

(get-tag param)

Recover a git tag based on a version and a tag base name.

Recover a git tag based on a version and a tag base name.
sourceraw docstring

git-distance-schemeclj

A simple version scheme based on git-distance. There is only one version number starting at 0 on a specific commit. It then becomes the number of commits from the initial version bumps after bumps.

This system allows for the use of alpha and beta qualifiers. A version without a qualifier can't go back to alpha nor beta. To use them they need to be specified when the initial version is made conforming to the :git-distance/qualifier spec.

To specify a qualifier:

A simple version scheme based on git-distance. There is only one version number starting at 0 on a specific commit.
It then becomes the number of commits from the initial version bumps after bumps.

This system allows for the use of alpha and beta qualifiers. A version without a qualifier can't go back to alpha nor
beta. To use them they need to be specified when the initial version is made conforming to the
`:git-distance/qualifier` spec.

To specify a qualifier:
- using [[fr.jeremyschoffen.mbt.alpha.default.versioning.schemes.protocols/initial-version]] the `level` parameter is
used
- using [[fr.jeremyschoffen.mbt.alpha.default.versioning.schemes/initial-version]] the qualifier is passed using
the key `:versioning/bump-level` of the config map.
``
sourceraw docstring

last-versionclj

(last-version param)

Return the last tagged version.

Return the last tagged version.
sourceraw docstring

maven-schemeclj

A maven version scheme. The versioning starts at the first versioned commit. Supports the following bumps:

  • :patch
  • :minor
  • :major
  • :alpha
  • :beta
  • :rc
  • :release
A maven version scheme. The versioning starts at the first versioned commit.
Supports the following bumps:
- `:patch`
- `:minor`
- `:major`
- `:alpha`
- `:beta`
- `:rc`
- `:release`
sourceraw docstring

next-versionclj

(next-version param)

Get the next version using the provided version scheme.

Get the next version using the provided version scheme.
sourceraw docstring

project-versionclj

(project-version {v :fr.jeremyschoffen.mbt.alpha.versioning/version})

Get a ...mbt.alpha.project/version from a ...mbt.alpha.versioning/version.

Get a `...mbt.alpha.project/version` from a `...mbt.alpha.versioning/version`.
sourceraw docstring

schemes-initial-versionclj

(schemes-initial-version {h :fr.jeremyschoffen.mbt.alpha.versioning/scheme
                          level
                            :fr.jeremyschoffen.mbt.alpha.versioning/bump-level})

Get the initial version for a version scheme.

Get the initial version for a version scheme.
sourceraw docstring

semver-schemeclj

A semver version scheme. The versioning starts at the first versioned commit. Supports the following bumps:

  • :patch
  • :minor
  • :major
A semver version scheme. The versioning starts at the first versioned commit.
Supports the following bumps:
- `:patch`
- `:minor`
- `:major`
sourceraw docstring

tag-nameclj

(tag-name {base :fr.jeremyschoffen.mbt.alpha.versioning/tag-base-name
           v :fr.jeremyschoffen.mbt.alpha.versioning/version})
source

tag-new-version!clj

(tag-new-version! param)

Create a new tag in git marking a new milestone in the project.

Create a new tag in git marking a new milestone in the project.
sourceraw docstring

update-scm-tagclj

(update-scm-tag conf)

Update the [:...mbt.alpha.maven/scm :...mbt.alpha.maven.scm/tag] part of the config with th name of the commit whose last version tag points to.

Update the `[:...mbt.alpha.maven/scm :...mbt.alpha.maven.scm/tag]` part of the config
with th name of the commit whose last version tag points to.
sourceraw docstring

write-version-file!clj

(write-version-file! {dest :fr.jeremyschoffen.mbt.alpha.version-file/path
                      :as param})

Make the string content of a version file and spit it at the destination specified under the key :version-file/path.

Make the string content of a version file and spit it at the destination specified under the key
`:version-file/path`.
sourceraw docstring

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

× close