tag#
Compare tags.
Functions
|
Check if all dependencies in |
|
Check if all dependencies in |
|
Check if any of the dependencies in |
|
Check if version |
|
Check if |
|
Check if |
|
Check of a version string encoded that there were uncommitted changes. |
|
Check if |
|
Check if |
Details
- depinning_creep_2024.tag.all_equal(a: list[str], b: list[str]) bool #
Check if all dependencies in
a
have a version equal to those inb
. It is allowed to have dependencies ina
orb
that are not in the other list.- Parameters
a – List of versions formatted as [“name=versionstring”, …].
b – List of versions formatted as [“name=versionstring”, …].
- Returns
True
if all dependencies ina
are equal to those inb
- depinning_creep_2024.tag.all_greater_equal(a: list[str], b: list[str]) bool #
Check if all dependencies in
a
have a version greater or equal than those inb
. It is allowed to have dependencies ina
orb
that are not in the other list.- Parameters
a – List of versions formatted as [“name=versionstring”, …].
b – List of versions formatted as [“name=versionstring”, …].
- Returns
True
if all dependencies ina
are greater or equal than those inb
- depinning_creep_2024.tag.any_has_uncommitted(deps: list[str]) bool #
Check if any of the dependencies in
deps
has an uncommitted change.- Parameters
deps – List of versions formatted as [“name=versionstring”, …].
- Returns
True
if any of the dependencies has an uncommitted change.
- depinning_creep_2024.tag.equal(a: str, b: str) bool #
Check if version
a
is equal tob
.- Parameters
a – Version string.
b – Version string.
- Returns
True
ifa == b
- depinning_creep_2024.tag.greater(a: str, b: str) bool #
Check if
a
is a version greater than that inb
.- Parameters
a – Version string.
b – Version string.
- Returns
True
ifa > b
- depinning_creep_2024.tag.greater_equal(a: str, b: str) bool #
Check if
a
is a version greater or equal than that inb
.- Parameters
a – Version string.
b – Version string.
- Returns
True
ifa >= b
- depinning_creep_2024.tag.has_uncommitted(ver: str)#
Check of a version string encoded that there were uncommitted changes.
- Parameters
a – Version string.
- Returns
True
is there were uncommitted changes.
- depinning_creep_2024.tag.less(a: str, b: str) bool #
Check if
a
is a version less than that inb
.- Parameters
a – Version string.
b – Version string.
- Returns
True
ifa < b
- depinning_creep_2024.tag.less_equal(a: str, b: str) bool #
Check if
a
is a version less or equal than that inb
.- Parameters
a – Version string.
b – Version string.
- Returns
True
ifa <= b