* Lucas Nussbaum <[email protected]>, 2013-09-23, 14:46:
Alternatively, maybe we should review the current process for one-shot
patches. Assuming that someone wants to fix a typo in a package and submit it
as a patch, the current simpler process is (TTBOMK):
1. 'debcheckout packagename' (but this fails when the package is not
maintained in a VCS. maybe it should fallback to using 'apt-get source'?)
2. Build a source package, so that we can run nmudiff later:
'dpkg-buildpackage -us -uc -S' or 'git-buildpackage -us -uc -S' (depending on
the Vcs used.)
If you don't fancy running untrusted code, point 2 is more like this:
- Build the VCS checkout of the package using "dpkg-buildpackage -S -nc".
- Grab last version of the same package from the archive.
- Run debdiff between the two *.dsc.
- Start reading the diff.
- Realize that the diff is flippin' huge.
- Nuke the VCS checkout; use the version from the archive instead.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]