File: changes_file_headers.rst

package info (click to toggle)
git-ubuntu 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,688 kB
  • sloc: python: 13,378; sh: 480; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Changes file headers
====================

git-ubuntu understands the following custom changes file headers:

Vcs-Git
 Points to the git repository where the rich history can be found.

Vcs-Git-Ref
 The ref which when fetched contains the rich history.

Vcs-Git-Commit
 The commit hash of your rich history. This must match your upload.

When git-ubuntu imports your upload, it will look in the location specified by
these headers for the rich history. If present and if they match your upload,
then it will use your commit instead of synthesizing its own.

For now, only Launchpad git URLs are accepted to avoid the risk from a
malicious git repository host. :code:`git-ubuntu prepare-upload` will check
that the URL will be acceptable.