From 257cbdd6d28d62dc41650774054d2e2dd923c91a Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 29 Oct 2016 07:33:51 -0700 Subject: [PATCH] dgit-nmu-simple(7): Sample `dch` commands Signed-off-by: Sean Whitton --- dgit-nmu-simple.7.pod | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dgit-nmu-simple.7.pod b/dgit-nmu-simple.7.pod index cca461be..057f1c85 100644 --- a/dgit-nmu-simple.7.pod +++ b/dgit-nmu-simple.7.pod @@ -39,10 +39,11 @@ consult the appropriate C workflow tutorial, % 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 ] - [ 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 -- 2.30.2