[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dom-switch-opt violates policy and is too dangerous (for users) anyhow



On 18-07-2009, Stefano Zacchiroli <zack@debian.org> wrote:
>> I 100% agree that it should not be installed, but with your permission I
>> will just move it to "noinstall" directory inside dh-ocaml. This way you
>> can only get the script by a "git checkout" of dh-ocaml and a link,
>> which is easy for pkg-ocaml-maint. The script will not be distributed.
>
> Just a few (concluding) comments.
>
> * Given that it is not going to be shipped in the .deb, what benefit
>   it has to have it in the dh-ocaml source package? Can't it just be
>   committed somewhere in some repository of ours and be used from
>   there?
>
> * I still thinks the current implementation is not the good one. It
>   can break in horrible ways in scenarios like the following:
>
>     # dom-switch-opt
>     ... big delay, you forgot about the switch ...
>     # apt-get upgrade ocaml   # or even remove/purge
>     ... you discover that you forgot the switch ...
>     # dom-switch-opt
>
>   I suggest to implement the switch on top of dpkg-divert, that way
>   dpkg (at least) will be informed about that.
>

Well, there is also (just for everyone information):

     # dom-switch-opt
     ... small delay, you forgot about the switch ...
     # git-buildpackage
     # dupload 
     ... you discover that you have uploaded a package compiled without ocamlopt ...

Regards,
Sylvain Le Gall


Reply to: