docs/compose
Mazz Mosley 67995ab9e3 Pre-process validation steps
In order to validate a service name that has been specified as an
integer we need to run that as a pre-process validation step
*before* we pass the config to be validated against the schema.

It is not possible to validate it *in* the schema, it causes a
type error. Even though a number is a valid service name, it
must be a cast as a string within the yaml to avoid type error.

Taken this opportunity to move the code design in a direction
towards:

1. pre-process
2. validate
3. construct

Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-08-13 16:32:20 +01:00
..
cli Make sure an exception in any iterator gets raised in the main thread 2015-07-29 19:42:33 +01:00
config Pre-process validation steps 2015-08-13 16:32:20 +01:00
__init__.py Bump 1.5.0dev 2015-08-11 18:41:21 +01:00
const.py Make parallel tasks interruptible with Ctrl-C 2015-07-20 14:13:25 +01:00
container.py Ignore containers that don't have a name 2015-08-10 16:29:12 +01:00
legacy.py Handle case where /containers/json returns "Labels": null 2015-07-15 17:13:33 +01:00
progress_stream.py Possible division by zero error when pulling an image - fixes #1463 2015-05-26 15:34:34 -07:00
project.py Ignore containers that don't have a name 2015-08-10 16:29:12 +01:00
service.py Merge pull request #1827 from mnowster/port-ranges 2015-08-12 11:17:22 +01:00
state.py Implement smart recreate behind an experimental CLI flag 2015-05-18 18:39:18 +01:00
utils.py Space for errors 2015-07-23 10:55:57 +01:00