File: 55-gitrepo.txt

package info (click to toggle)
debmake-doc 1.17-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,612 kB
  • sloc: makefile: 768; sh: 690; ansic: 114; python: 99; sed: 16
file content (11 lines) | stat: -rw-r--r-- 951 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
[[upstream-git]]
==== Upstream git repository

For Debian packaging with the *git-buildpackage* package, the *upstream* branch on the remote repository *origin* is normally used to track the content of the released upstream tarball.

The upstream git repository can also be tracked by naming its remote repository as *upstream* instead of the default *origin*.  Then you can easily cherry-pick recent upstream changes into the Debian revision by cherry-picking with the *gitk* command and using the *gbp-pq* command.

TIP: The ``*gbp import-orig --upstream-vcs-tag*'' command can create a nice packaging history by making a merge commit into the *upstream* branch from the specified tag on the upstream git repository.

CAUTION: The content of the released upstream tarball may not match exactly with the corresponding content of the upstream git repository.  It may contain some auto-generated files or miss some files.  (Autotools, distutils, ...)