summaryrefslogtreecommitdiff
path: root/_tags
AgeCommit message (Collapse)Author
2017-01-20Use BatOption.defalt instead of homegrown equivalent.Daniil Baturin
If we are going to use batteries for numeric_compare, why not take advantage of the rest.
2017-01-17Second act of the _oasis cleanup.Daniil Baturin
Findlib package "vyconf" now contains modules required for working with configs, namely Vytree, Config_tree, Reference_tree, Valur_checker, Curly_lexer, and Curly_parser. Renderer will go there too. Migration scripts and convertors/analyzers/whatever utilities that need to read and write config files will link with it. The "vyconf.vyconf-config" package is for working with vyconfd.conf config. Config scripts written in OCaml, the shell, and the non-interactive client can use it to read the system config if the user didn't use options for socket location and so on. The "vyconf.vyconf-client" package is for the Protobuf over UNIX sockets protocol clients.
2017-01-17Clean up the _oasisDaniil Baturin
2017-01-16Add a function for making secure session tokens.Daniil Baturin
Right now it uses a SHA-1 sum of 30 random bits. I hope that's secure enough.
2017-01-15Add functionality for socket communication.Daniil Baturin
The Message module contains read and write functions that take care of the wire protocol, which sends a 4 byte length header before every message. They take a bytes buffer and don't care about its contents. The Vyconf_client module has high level functions for interfacing with vyconfd. Functions for creating a socket and creating a server loop are in Startup. The rest is, for now at least, right in vyconfd. Notes: Message.read/write probably should be wrapped in Lwt_io.atomic We need to find out if it's safe to reuse Pbrt.Encoder.t or we really should create it every time.
2017-01-10Add JSON de/serialization derivers to vytree and config tree modules.Daniil Baturin
2017-01-09Not quite T245: add some unit tests for the curly parser.Daniil Baturin
2017-01-07Remove the old message library that will be replaced with the Protobuf one.Daniil Baturin
2017-01-06Extend the protobuf schema, update build scripts.Daniil Baturin
2017-01-05Initial implementation of the curly config parser.Daniil Baturin
2016-12-20Add merlin setup to the repo.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