[aur-general] Fields like 'GitRepoPath' in AUR RPC results
johannes at kyriasis.com
Mon Jul 27 10:04:42 UTC 2015
On 27/07, Sascha Shaw wrote:
>Am 27. Juli 2015 01:13:13 MESZ, schrieb "Johannes Löthberg" <johannes at kyriasis.com>:
>>On 27/07, Chi Hsuan Yen wrote:
>>>Seems the RPC node does not support such a field. Does that mean
>>>hardcoded paths are the only option? For example
>>Lukas was against adding a field for it, so yes.
>I don't understand the purpose of this field. It contains no
>information. You already know the package name, the aur URL and the
>fact, that they all end with .git. Is this just in case the AUR starts
>working differently over night?
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.
PGP Key ID: 0x50FB9B273A9D0BB5
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1495 bytes
Desc: not available
More information about the aur-general