table of contents
- unstable 1.1-2
GIT-UBUNTU(1) | Git-Ubuntu Manual | GIT-UBUNTU(1) |
NAME¶
git-ubuntu - use Git with a Launchpad hosted source package repository
SYNOPSIS¶
git ubuntu [-h] [-v | --verbose] [--retries <num_retries>] [--retry-backoffs <backoff,...>] [--proto <proto>] [-P | --parentfile <parentfile>] [-L | --pullfile <pullfile>] <command> [<args>]
DESCRIPTION¶
Ubuntu packages often have changes relative to their Debian bases, referred to as the "Ubuntu delta". git ubuntu represents a collection of tools for dealing with these deltas, implemented as git(1) subcommands.
Part of this work is performed automatically by the "importer", which relies on the Launchpad repository as its source of truth about a given source package's publishing history. The remainder of the work needs to be handled manually, and git ubuntu provides a set of commands (detailed below) for doing so.
A key concept to understand for the git ubuntu workflow is the formalized use of git tags to track version states. These tags will look something like "logical/1%2.3.4.1-1ubuntu3". (Git and debian/changelog conflict on the use of certain reserved characters, such as "~", ":" and ".". These are resolved following the Debian DEP14 version number transformation standard.)
The tag types used by git ubuntu are "logical/", "split/", 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)" will be replaced by the DEP14 mangling of the last version in debian/changelog as present in <commitish>. The last form allows free-form formatting.
The benefit of using these tools and this formalized tagging system is to simplify future merges from Debian, allowing them to be done as straightforward git rebase operations.
OPTIONS¶
The following options are common to all git-ubuntu subcommands.
-h, --help
-v, --verbose
--retries <num_retries>
--retry-backoffs <backoff,...>
--proto <proto>
-p <parentfile>, --parentfile <parentfile>
-l <pullfile>, --pullfile <pullfile>
GIT UBUNTU COMMANDS¶
EXIT STATUS¶
git ubuntu exits with status 0 if a command completes successfully. git ubuntu exits with nonzero exit status on errors.
FILES¶
$GIT_DIR/.gitconfig, $HOME/.gitconfig
REPORTING BUGS¶
Report bugs at https://bugs.launchpad.net/git-ubuntu .
AUTHORS¶
git ubuntu was started conceptually by Robie Basak, and is currently maintained by Nishanth Aravamudan. Numerous contributions have been made by Scott Moser and other members of the Ubuntu Server team.
SEE ALSO¶
https://wiki.ubuntu.com/UbuntuDevelopment/Merging/GitWorkflow
http://www.justgohome.co.uk/blog/2017/07/developing-ubuntu-using-git.html
GIT-UBUNTU¶
Part of the git-ubuntu(1) suite
2017-07-19 | Git-Ubuntu 0.2 |