Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Marc Haber
Package: dpatch Version: 2.0.10 Severity: wishlist File: /usr/bin/dpatch-edit-patch Please consider having dpatch-edit-patch autodetect the case when called from a debian/-only directory layout. This could probably automatically be detected by looking whether the current directory has only one

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Gergely Nagy
A less magic approach would be checking for a file debian/dpep-debianonly or debian/patches/dpep-debianonly, which could optionally contain instructions on how to find the origtargz. This sounds best to me, for the following reasons: - One has to explicitly mark the tree as debian-only, so it

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Marc Haber
On Sat, Jan 22, 2005 at 12:43:45PM +0100, Gergely Nagy wrote: The only concern I have is the file to flag debian-only status. It might be more useful if it would be debian/patches/00dpep-options (or something similar), where one could tweak a selected set of dpatch-edit-patch options. If the

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Gergely Nagy
On Sat, 2005-01-22 at 15:12 +0100, Marc Haber wrote: On Sat, Jan 22, 2005 at 12:43:45PM +0100, Gergely Nagy wrote: The only concern I have is the file to flag debian-only status. It might be more useful if it would be debian/patches/00dpep-options (or something similar), where one could

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Marc Haber
On Sat, Jan 22, 2005 at 03:26:50PM +0100, Gergely Nagy wrote: I do NOT want to have direct, local paths in the file. That will break dpatch-edit-patch the first time someone has a different directory setup. OK, Accepted. Instead of parsing that file, a hook that copies or symlinks the

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Marc Haber
On Sat, Jan 22, 2005 at 04:05:26PM +0100, Gergely Nagy wrote: On Sat, 2005-01-22 at 15:54 +0100, Marc Haber wrote: cvs-buildpackage reads ~/.cvsdeb.conf, which can have conf_get_orig point to a script that is called to get the orig.tar.gz. Would you accept that setup? Sorry, but I'm

Bug#291668: /usr/bin/dpatch-edit-patch: autodetect debianonly situations

2005-01-22 Thread Gergely Nagy
On Sat, 2005-01-22 at 16:13 +0100, Marc Haber wrote: On Sat, Jan 22, 2005 at 04:05:26PM +0100, Gergely Nagy wrote: On Sat, 2005-01-22 at 15:54 +0100, Marc Haber wrote: cvs-buildpackage reads ~/.cvsdeb.conf, which can have conf_get_orig point to a script that is called to get the