summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-14T210: Oops, missing exception handler. mandatory_field raises Missing_fieldDaniil Baturin
2016-12-14T210: Do not use the Result compatibility library, use built-in result type.Daniil Baturin
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.
2016-12-14Move version info out of defaults to its own module.Daniil Baturin
2016-12-14T210: use TOML for the vyconf config file.Daniil Baturin
Add an example of the file too.
2016-12-14Add default values for optional config fields to the Defaults module.Daniil Baturin
Related to T210.
2016-12-13README revamp.Daniil Baturin
2016-12-13Ignore binaries and oasis-generated files.Daniil Baturin
If we ever modify those files, we'll remove them from .gitignore of course.
2016-12-13Remove oasis-generated files, not needed at least until we modify anything ↵Daniil Baturin
in them.
2016-12-13Fix a few instances of sloppy sequences (with non-unit expressions).Daniil Baturin
2016-12-13Add -strict-sequence flag.Daniil Baturin
The correct way to write sequences with expressions of type other than unit is to use the ignore function: ignore 42; exit 0
2016-12-08Initial mockup of the vyconfd binary.Daniil Baturin
2016-12-08Do not keep setup.ml in git, for now at least.Daniil Baturin
2016-12-08Fix build for ocaml 4.03Daniil Baturin
Yojson now uses the Result.result type for its decoding functions instead of polymorphic variants.
2016-12-07Initial implementation of the message decoder/encoder.Daniil Baturin
2016-12-07Better test descriptions in vylist test, also add missing test.Daniil Baturin
2015-10-01Some error handling in config loading.Daniil Baturin
2015-09-30Add get_values method to the message decoder.Daniil Baturin
2015-09-29Add message decoder implementation.Daniil Baturin
Restrict the Message module interface to the message types and decoder function.
2015-09-28Remove the value field from message types to account for valueless nodes and ↵Daniil Baturin
the like.
2015-09-28Add types and derivers for the message decoder.Daniil Baturin
2015-09-25Move the node_type type to Reference_treeDaniil Baturin
It shall not be used by Config_tree, so there is no reason to keep it there.
2015-09-24Add a module for various defaults.Daniil Baturin
2015-09-24Add Vyconf_config to _oasisDaniil Baturin
2015-09-24Add minimal vyconfd config loader.Daniil Baturin
2015-09-23Expose set and delete in session module signature.Daniil Baturin
2015-09-23Add delete function to session.Daniil Baturin
2015-09-23Factor out common session data into a world type.Daniil Baturin
2015-09-23Add session module stub.Daniil Baturin
2015-09-23Add more tests for set and delete.Daniil Baturin
2015-09-23Make Config_tree.set aware of valueless nodes.Daniil Baturin
2015-09-23Add delete function to Config_tree, add some tests for it.Daniil Baturin
2015-09-22Fix formatting in Vylist.Daniil Baturin
2015-09-21Update tests for the Vylist API change.Daniil Baturin
2015-09-21Fix multilevel insert logic in Vytree.Daniil Baturin
2015-09-21Fix multilevel insert logic.Daniil Baturin
2015-09-21Make Vylist.complement return a list rather than list option.Daniil Baturin
Situations when two lists are the same and when they don't have a common part become indistinguishable, but that's rarely needed.
2015-09-21Remove metadata from the config tree data, rendering and the like requiresDaniil Baturin
input from the reference tree anyway. Make value modification functions behaviour multi-value node aware.
2015-09-21Expose multilevel insert in the Vytree module signature.Daniil Baturin
2015-09-21Add multilevel insert that uses default data.Daniil Baturin
That was not so much of a bad idea after all.
2015-08-28Add missing cases to insert_immediate.Daniil Baturin
2015-08-28Add is_multi function to the reference tree module.Daniil Baturin
This is important for decision is set should add or replace a value.
2015-06-03Add get_data function, a shortcut for getting a data of node at specified path.Daniil Baturin
Mainly for quickly getting data from a reference tree.
2015-06-03Make tree insert position-aware.Daniil Baturin
Make insertion at the beginning default behaviour. Implement insertion at the end.
2015-05-11Add vytree insertion load test.Daniil Baturin
2015-04-28Rename vyconf_tree_test to just vytree_test.Daniil Baturin
2015-04-28Add Vylist.in_list for quick checks.Daniil Baturin
2015-04-27Import readme from the original prototype.Daniil Baturin
2015-04-26Add an option to keep child order, will be used for rendering.Daniil Baturin
2015-04-26Add config tree module.Daniil Baturin
2015-04-26Add Vytree.exists for checking if path exists in a tree.Daniil Baturin