dsann.gitcheck-git!- checks the current directory is a git repo.git-data- extracts git data (for tags and versions currently).git-latest-tag- gets the most recent git tag.git-remote-name- gets the remote name for deps.edn coords.git-remote-origingit-repo?- checks if .git exists.git-tag-datagit-tag-messages- extracts a map of the form: {tagname {:tag-message "first line of tag message here" tagname2 ...}.git-tags- extracts a map of the form: {tagname {:commit-sha "full sha here" :commit-sha-abbrev "abbreviated sha here"} tagname2 ...}.parse-git-messagesparse-git-tagsremove-tag-prefix- removes refs/tag/ from tagnames.shell-git- Checks in a git repo, executes command and return the result.
(check-git!)checks the current directory is a git repo. Throws if not
(git-data)extracts git data (for tags and versions currently)
(git-latest-tag)gets the most recent git tag
(git-remote-name)gets the remote name for deps.edn coords
(git-remote-origin)(git-repo?)checks if .git exists
(git-tag-data)(git-tag-messages)extracts a map of the form: {tagname {:tag-message "first line of tag message here" tagname2 ...}
(git-tags)extracts a map of the form: {tagname {:commit-sha "full sha here" :commit-sha-abbrev "abbreviated sha here"} tagname2 ...}
(parse-git-messages s)(parse-git-tags s)(remove-tag-prefix tag)removes refs/tag/ from tagnames
(shell-git command)Checks in a git repo, executes command and return the result