summaryrefslogtreecommitdiff
path: root/src/leap/eip/specs.py
AgeCommit message (Collapse)Author
2012-11-14make tests pass + pep8kali
They were breaking mainly because I did not bother to have a pass over them to change the PROVIDER settings from the branding case. All good now, although much testing is yet needed and some refactor could be used. long live green tests!
2012-10-24sign up branch ends by triggering eip connectionkali
still need to bind signals properly, and block on the validation process until we receive the "connected" signal. but the basic flow is working again, i.e, user should be able to remove the .config/leap folder and get all the needed info from the provider.
2012-10-20connecting pagekali
and changes to functions having to do with the default path to certs.
2012-10-02refactored jsonconfig, included jsonschema validationkali
and type casting.
2012-09-24add schema to JSONLeapConfig classeskali
and a jsonvalidate function too, that calls to jsonchemea.validate(self, data) with self.schema We're using the specs to both purposes now: * providing a type casting system for our config options (work in progress for the type casting) * json schema validation
2012-09-18do_branding command added to setupkali
2012-08-30fetcher moved to baseconfig + eipchecker using eipservice config.kali
2012-08-30add lazy evaluation to config specskali
now callables are allowed in specs *only at one level depth* to allow for last-minute evaluation on context-sensitive data, like paths affected by os.environ also some minor modifications to make check tests pass after putting the new jsonconfig-based eipconfig in place. aaaaaall green again :)
2012-08-29add eipconfig spec and config objectkali