Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-11 Thread Johannes Schauer
Hi, Quoting Benjamin Drung (2020-01-10 17:43:49) > > the reason I deactivated hooks for --dry-run is, that hooks are able to do > > arbitrary stuff and when specifying --dry-run one probably does not expect > > something meaningful to happen. With hooks you could shoot yourself in the > > foot.

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-10 Thread Benjamin Drung
Am Freitag, den 10.01.2020, 17:03 +0100 schrieb Johannes Schauer: > Hi, > > Quoting Benjamin Drung (2020-01-10 12:35:51) > > thanks for the patch. I tried it and it failed with a dependency > > issue. > > Debugging it revealed the reason: I have a apt preferences file > > that reduces > > the pin

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-10 Thread Johannes Schauer
Hi, Quoting Benjamin Drung (2020-01-10 12:35:51) > thanks for the patch. I tried it and it failed with a dependency issue. > Debugging it revealed the reason: I have a apt preferences file that reduces > the pin priority for some repositories. This file is copied in in an > essential hook. When

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-10 Thread Benjamin Drung
Am Freitag, den 10.01.2020, 01:18 +0100 schrieb Johannes Schauer: > Control: tag -1 + pending > > Attached patch seems to work. Hi, thanks for the patch. I tried it and it failed with a dependency issue. Debugging it revealed the reason: I have a apt preferences file that reduces the pin

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-09 Thread Johannes Schauer
Control: tag -1 + pending Attached patch seems to work. diff --git a/mmdebstrap b/mmdebstrap index 6219035..003c1ca 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1465,7 +1465,11 @@ sub setup { } # run setup hooks -run_hooks('setup', $options); +if (!$options->{dryrun}) { +

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-09 Thread Johannes Schauer
Hi, Quoting Benjamin Drung (2020-01-09 09:51:34) > Our previous image build tool contained a script named > test-package-selection. This tool was useful to quickly check if the > specified sources list entries exist and the list of packages can be > installed without conflicts. This was done by

Bug#948481: mmdebstrap: Please support dry-run/simulation mode

2020-01-09 Thread Benjamin Drung
Package: mmdebstrap Version: 0.5.1-3 Severity: wishlist Tags: upstream Hi, Our previous image build tool contained a script named test-package-selection. This tool was useful to quickly check if the specified sources list entries exist and the list of packages can be installed without conflicts.