libUCL / UCL as FreeBSD config question
Conrad Meyer
cemeyer at uw.edu
Fri Nov 20 20:58:51 UTC 2015
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
More information about the freebsd-hackers
mailing list