[pacman-dev] [PATCH v2] Introduce alpm_dbs_update() function for parallel db updates

Allan McRae allan at archlinux.org
Sun Mar 15 04:08:12 UTC 2020


On 13/3/20 11:16 am, Allan McRae wrote:
>> diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h
>> index 1e8f75f3..3eb7fbe1 100644
>> --- a/lib/libalpm/dload.h
>> +++ b/lib/libalpm/dload.h
>> @@ -31,6 +31,7 @@ struct dload_payload {
>>  	char *destfile_name;
>>  	char *content_disp_name;
>>  	char *fileurl;
>> +	char *filepath; /* download URL path */
> This struct is poorly documented I know...   but remote_name seems to
> store the same information?
> 
> @Dave: can that be different in weird server configurations?
> 

After chatting on IRC, we think remote_name can be different with
redirection.  So adding the extra field is fine.

We need a testsuite for the download part of libalpm...

A


More information about the pacman-dev mailing list