[aur-general] Fields like 'GitRepoPath' in AUR RPC results

Johannes Löthberg johannes at kyriasis.com
Tue Jul 28 19:15:07 UTC 2015


On 27/07, Sascha Shaw wrote:
>Am 27. Juli 2015 12:04:42 MESZ, schrieb "Johannes Löthberg" <johannes at kyriasis.com>:
>>There are two usecases:
>>
>>1) The git URLs change on the Arch AUR instance in the future, and thus
>>
>>everything has to be changed to use the new one. Not that big of a
>>deal,
>>but still eh.
>>
>>2) It will be more work to get AUR helpers to work for other AUR
>>instances. With the field you would only need a config option for the
>>RPC interface, and then you'd get everything from it.
>
>Thank you for the insight. We have to consider server load, traffic and 
>another feature more or less to maintain on the server side against 
>convenience on the client side. The traffic impact per call would be 
>around a 10 percent gain or more, depending on the length of the name. 
>However, the same could be said about URLPath, it also has only static 
>information that does not change between packages and could be 
>implemented client side.
>

It will likely be less due to compression.

-- 
Sincerely,
  Johannes Löthberg
  PGP Key ID: 0x50FB9B273A9D0BB5
  https://theos.kyriasis.com/~kyrias/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1495 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/aur-general/attachments/20150728/bb64ee07/attachment.asc>


More information about the aur-general mailing list