chiark / gitweb /
dgit-sponsorship(7): Add import-dsc for NEW package
[dgit.git] / dgit-sponsorship.7.pod
index 3b8c3a8b3ad54a42e09a0150bae9f22be921052a..2bc9454656ff7aa98039fbeb1775adc56a097f12 100644 (file)
@@ -178,7 +178,8 @@ Use C<git fetch> or C<git clone> to obtain the git branch
 prepared by your sponsee,
 and obtain any .origs mentioned by the sponsee
 (to extract .origs committed with pristine-tar,
-you can use origtargz(1).)
+you can use origtargz(1),
+or use "gbp clone --pristine-tar".)
 
 Check the git commit ID of the sponsee's branch tip,
 and the sha256sums of the .origs,
@@ -258,6 +259,17 @@ Then:
 
 =back
 
+Or for an entirely new package:
+
+=over 4
+
+    % mkdir PACKAGE
+    % cd PACKAGE
+    % git init
+    % dgit -pPACKAGE import-dsc /path/to/sponsee's.dsc +sponsee
+
+=back
+
 This will leave you looking at the sponsee's package,
 formatted as a dgit branch.