[pacman-dev] [PATCH] makepkg: rework --skip-integ

Allan McRae allan at archlinux.org
Sun Oct 11 19:27:33 EDT 2009


Dan McGee wrote:
> I only assume people are stupid when they combine --skip-integ with
> something that makes no sense. One of these (and I could even concede
> this one) is when the *sum array is there but completely the wrong
> size. I think my point here would make more sense if --skip-integ
> really only worked for times when there were no checksums at all
> present.
>   

I would be happy to make skip-integ only work if there is no md5sum 
array.  But then again, the --ignorearch check does not work that way...


> However the second reason is more serious. If you do --source
> --skip-integ, that is a terrible decision. This is something that can
> be given to someone else and they have *no idea* this is a completely
> broken source package. To me, this is no better than a package with
> missing dependencies, etc.
>   

And we do not enforce dependency checking before running makepkg --source.


I'm not saying this is good practice to use the option, but then neither 
is "pacman -Syfud" and we allow that.  My point is, if we have an option 
called skip-integ, it better skip the integrity checks or be renamed.

Allan



More information about the pacman-dev mailing list