|author||Ian Jackson <email@example.com>||2017-01-06 18:29:00 +0000|
|committer||Ian Jackson <firstname.lastname@example.org>||2017-01-08 22:14:48 +0000|
Protocol change: Add distro info to Dgit field
Downstream clients may need this to get the relevant git commits. Worse, with the new rewrite functionality, they may get the _wrong_ commits because they may not be rewritten. For now we implement the publication side. The reader side is theoretically straightforward, but probably not so simple in reality, and certainly fiddly to test. Signed-off-by: Ian Jackson <email@example.com>
Diffstat (limited to 'dgit.7')
1 files changed, 5 insertions, 2 deletions
@@ -56,8 +56,11 @@ server to authenticate pushes.
Uploads made by dgit contain an additional field
in the source package .dsc. (This is added by dgit push.)
-This specifies a commit (an ancestor of the dgit/suite
-branch) whose tree is identical to the unpacked source upload.
+This specifies: a commit (an ancestor of the dgit/suite
+branch) whose tree is identical to the unpacked source upload;
+and the distro and suite to which the upload was made
+(and a url,
+in case the client seeing this .dsc does not know of that distro).
Uploads not made by dgit are represented in git by commits which are
synthesised by dgit. The tree of each such commit corresponds to the