chiark / gitweb /
dgit-nmu-simple(7): Sample `dch` commands
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 29 Oct 2016 14:33:51 +0000 (07:33 -0700)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 17:14:31 +0000 (17:14 +0000)
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
dgit-nmu-simple.7.pod

index cca461bea0e5d3b0ac45a205e53e889096414ea1..057f1c8511c16e2ce46242d287c5905090c0a875 100644 (file)
@@ -39,10 +39,11 @@ consult the appropriate C<dgit-maint-*(7)> workflow tutorial,
     % dgit clone glibc jessie
     % cd glibc
     % git am ~/glibc-security-fix.diff
     % dgit clone glibc jessie
     % cd glibc
     % git am ~/glibc-security-fix.diff
-    [ edit debian/changelog to introduce a ~ version, and commit it ]
+    % dch --nmu Apply upstream's fix for foo bug.
+    % git add debian/changelog && git commit -m"NMU changelog entry"
     % dpkg-buildpackage -uc -b
     [ run your tests ]
     % dpkg-buildpackage -uc -b
     [ run your tests ]
-    [ edit debian/changelog to prepare for release, and commit it ]
+    % dch -r && git add debian/changelog && git commit -m"Finalise NMU"
     % dgit -wgf sbuild -A -c jessie
     [ final tests on generated .debs ]
     % dgit -wgf push jessie
     % dgit -wgf sbuild -A -c jessie
     [ final tests on generated .debs ]
     % dgit -wgf push jessie