GIT-UBUNTU-TAG(1)

✨ GIT-UBUNTU-TAG ✨

okay bestie, welcome to git-ubuntu-tag, straight out of the Git-Ubuntu Manual πŸ’– this one is all about making Git tags that actually respect DEP14 and your debian/changelog, which sounds boring but is honestly iconic of it.


🌸 NAME 🌸

git-ubuntu-tag β€” Create Git tags respecting DEP14 and debian/changelog


πŸŽ€ SYNOPSIS πŸŽ€

git ubuntu tag [--logical | --split | --reconstruct | --upload |
--format <format>] [--bug <bug>] [-d | --directory <directory>] [-f |
--force] [--print-name-only] [<commitish>]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie β˜• git-ubuntu-merge(1) and possibly other commands expect to use and resolve specific tags β€” including source package versions. but plot twist: debian/changelog and Git do NOT agree on how to use certain reserved characters, like "~", ":" and ".". it's giving messy. 😭

to fix that whole situation, Debian has a standard: DEP14 at http://dep.debian.net/deps/dep14/ β€” and it covers the appropriate transformations for versions. git-ubuntu follows this convention for "version mangling" but not necessarily any others. periodt. πŸ’…


πŸ’œ OPTIONS πŸ’œ

  • --logical, --split, --reconstruct, --upload, --format <format> β€” pick a format for the tag you're creating. the first four forms are standardized for git-ubuntu usage and generate tags, respectively, "logical/%(version)s", "split/%(version)s", "reconstruct/%(version)s", "upload/%(versions)s" β€” where "%(versions)" gets replaced by the DEP14 mangling of the last version in debian/changelog as present in <commitish>. the last form lets you do free-form formatting, go off πŸ‘‘ if none of these options are given, an upload tag will be created.
  • --bug <bug> β€” Launchpad bug to use to namespace the tags. if you specify it, it'll prefix the tag with "lp<bug>/". cute little namespace moment πŸŽ€
  • -d <directory>, --directory <directory> β€” the local directory to tag in. if you don't specify it, the current directory is used.
  • -f, --force β€” overwrite existing tags, if necessary. dramatic but valid πŸ’€
  • --print-name-only β€” only print the name of the specified tag, but do not create it. super useful when other scripts need to know the name πŸ‘€
  • [<commitish>] β€” the commitish in the repository to tag. if not specified, HEAD is tagged.

πŸ”₯ EXIT STATUS πŸ”₯

git ubuntu tag exits with status 0 if the command completes successfully. git ubuntu tag exits with nonzero exit status on errors. no in-between, bestie.


🌈 REPORTING BUGS 🌈

Report bugs at https://bugs.launchpad.net/git-ubuntu β€” go tell them everything, they wanna know 🫢


⭐ GIT-UBUNTU ⭐

Part of the git-ubuntu(1) suite πŸ’… iykyk.


and that's the whole page, bestie! this lil beauty is Git-Ubuntu version 0.2, dated 2017-07-19 β€” vintage but still slaying πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from