On Mon 09 Feb 2004 20:41, Michel Schinz <Michel.Schinz@epfl.ch> writes:
> Le Lundi, 9 fév 2004, à 11:16 Europe/Zurich, Eric Knauel a écrit :
>> BTW, I'm not sure what --dry-run original intention was, seems like a
>> good option for debugging the installation procedure, so this little
>> patch to install-lib.scm simply prints load.scm to stdout if --dry-run
>> is given:
> Nice! The only thing which slightly disturbs me is that it is
> associated with the --dry-run option. For me this option is meant for
> the end user, who wants to look at what would happen at package
> installation time. It basically corresponds to "make -n install",
> which is something I often use (--dry-run is the long name of -n in
> GNU make).
> My impression is that the end user does not want to see the contents
> of the load script when using --dry-run. It's more, as you say,
> something that the package developer wants to use to debug his package
> definition. So maybe it would be better to add yet another option, say
> --debug, which would do several things similar to this in order to
> help debug the package definition.
I agree, the information in the load script is more useful to a
developer than to the user. A --debug option would be very nice.
Since we're talking about new options, here's a proposal for yet
another one: ;-) I would like to have a --force option that simply
ignores errors during installation process. To test a package, I
frequently re-install a package at the same location. However, the
package has to be removed completely first, otherwise installation
will fail with some error while creating files in the installation
> So, if you don't mind, I'll associate your patch with a new --debug
> option and not change the current behavior of --dry-run.
> As far as your patch for CVS files is concerned, I also think that
> it's something useful during debugging, as such files should not
> appear in the final archive anyway. I'd also enable it only with the
> --debug option.
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)
Description: PGP signature