libUCL / UCL as FreeBSD config question
Dan Partelly
dan_partelly at rdsor.ro
Sat Nov 21 07:36:13 UTC 2015
I fully support this point of view. A short term fix is uncalled for.
> On 20 Nov 2015, at 22:58, Conrad Meyer <cemeyer at uw.edu> wrote:
>
> On Fri, 20 Nov 2015 14:40:15 -0500
> Allan Jude <allanjude at freebsd.org> wrote:
>> The issue is that UCL allows comments anywhere, for example:
>>
>> #above
>> FreeBSD: {
>> /* before */ url:
>> "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: /*
>> middle */ "srv", signature_type: "fingerprints", /* after */
>> # under
>> fingerprints: "/root/keys/pkg", # inline-after
>> enabled: yes
>> }
>>
>> Etc. So the solution that was discussed was changing libucl
>> to use an Abstract Syntax Tree, but that is a lot of work.
>> So for now, I am not sure what the best approach is.
>
> I think an AST that keeps comments is a good approach going
> forwards. We don't need a short-term fix that is anything
> less than that.
>
> Best,
> Conrad
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list