[pacman-dev] [PATCH 3/3] pacman-conf: fix half-baked support for ILoveCandy

Allan McRae allan at archlinux.org
Sun May 10 08:06:06 UTC 2020


On 10/5/20 2:32 pm, Eli Schwartz wrote:
> This was only partially implemented in the original implementation.
> `pacman-conf | grep ILoveCandy` would tell you if it was set, but
> querying directly by name would not.
> 

OK.

Note "half-baked" can have negative connotations, while "incomplete"
specifies that issue without being accusatory.

> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
>  src/pacman/pacman-conf.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
> index d76c0985..463badf1 100644
> --- a/src/pacman/pacman-conf.c
> +++ b/src/pacman/pacman-conf.c
> @@ -379,6 +379,8 @@ static int list_directives(void)
>  			show_bool("VerbosePkgLists", config->verbosepkglists);
>  		} else if(strcasecmp(i->data, "DisableDownloadTimeout") == 0) {
>  			show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
> +		} else if(strcasecmp(i->data, "ILoveCandy") == 0) {
> +			show_bool("ILoveCandy", config->chomp);
>  		} else if(strcasecmp(i->data, "NoProgressBar") == 0) {
>  			show_bool("NoProgressBar", config->noprogressbar);
>  
> 


More information about the pacman-dev mailing list