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
ahave a version equal to those inb. It is allowed to have dependencies inaorbthat are not in the other list.- Parameters
a – List of versions formatted as [“name=versionstring”, …].
b – List of versions formatted as [“name=versionstring”, …].
- Returns
Trueif all dependencies inaare equal to those inb
- depinning_creep_2024.tag.all_greater_equal(a: list[str], b: list[str]) bool#
Check if all dependencies in
ahave a version greater or equal than those inb. It is allowed to have dependencies inaorbthat are not in the other list.- Parameters
a – List of versions formatted as [“name=versionstring”, …].
b – List of versions formatted as [“name=versionstring”, …].
- Returns
Trueif all dependencies inaare greater or equal than those inb
- depinning_creep_2024.tag.any_has_uncommitted(deps: list[str]) bool#
Check if any of the dependencies in
depshas an uncommitted change.- Parameters
deps – List of versions formatted as [“name=versionstring”, …].
- Returns
Trueif any of the dependencies has an uncommitted change.
- depinning_creep_2024.tag.equal(a: str, b: str) bool#
Check if version
ais equal tob.- Parameters
a – Version string.
b – Version string.
- Returns
Trueifa == b
- depinning_creep_2024.tag.greater(a: str, b: str) bool#
Check if
ais a version greater than that inb.- Parameters
a – Version string.
b – Version string.
- Returns
Trueifa > b
- depinning_creep_2024.tag.greater_equal(a: str, b: str) bool#
Check if
ais a version greater or equal than that inb.- Parameters
a – Version string.
b – Version string.
- Returns
Trueifa >= 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
Trueis there were uncommitted changes.
- depinning_creep_2024.tag.less(a: str, b: str) bool#
Check if
ais a version less than that inb.- Parameters
a – Version string.
b – Version string.
- Returns
Trueifa < b
- depinning_creep_2024.tag.less_equal(a: str, b: str) bool#
Check if
ais a version less or equal than that inb.- Parameters
a – Version string.
b – Version string.
- Returns
Trueifa <= b