Age | Commit message (Collapse) | Author |
|
This will simplify updates of the reference_tree in case of supplemental
contributions, say, addon packages.
|
|
|
|
Update as needed for use with contemporary vyos1x-config:
. update build system to use dune
. drop use of batteries
. update for protoc breaking changes in versions >= 3.0
. remove files now in vyos1x-config (config_tree et. al.; parsing)
|
|
Seems lenses are back.
This reverts commit 8938e627c04c01f8f30a854be6903a9abcd2fa5b.
|
|
I have no idea where TomlLenses module is gone but frankly the whole thing
is a lot less pretty without it.
|
|
Basepath is better be a command line option, since when it's really needed,
having it in the config is pretty much useless.
This reverts commit 377de9472716266bb932813a8f7a7ba9aa1630fb.
|
|
Right now the primary motivation is ease of testing without installing
any appliance on a real system, but in real appliances, this may be handy
for those who want things in /opt, even if I'm not a fan of /opt
|
|
If we are going to use batteries for numeric_compare, why not take
advantage of the rest.
|
|
|
|
|
|
It's the only type it exports.
|
|
|
|
Use of the Result module from a compatibility library came from using Yojson
for config parsing, which uses it for compatibility with older OCaml, since
the ('a, 'b) result type appeared in Pervasives only in OCaml 4.03
All projects using vyconf library, however, by definition will be new projects,
and will not have any reasons to use older compilers.
|
|
Add an example of the file too.
|
|
Yojson now uses the Result.result type for its decoding functions
instead of polymorphic variants.
|
|
|