Stop `fig run` starting everything when a service has no links

This was thanks to the semantics of project.up(), which starts everything
if you pass it an empty list of service names. (That logic should
probably be moved out to main.py.)

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Merge pull request #279 from orchardup/fix-run-with-no-links

Stop `fig run` starting everything when a service has no links
Update dockerpty for non-TTY multiplexing.

Signed-off-by: Chris Corbyn <chris@w3style.co.uk>
Use concise fig up output in docs

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
Merge pull request #302 from orchardup/better-fig-up-output-in-docs

Use concise fig up output in docs
Use yaml.safe_load instead of yaml.load
http://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML

Signed-off-by: Richard Morrison <richard@rmorrison.net>
Merge pull request #303 from mozz100/master

Use yaml.safe_load instead of yaml.load
Change working dir through fig.yml

Closes #144

Signed-off-by: Alexey Lebedeff <binarin@gmail.com>
Merge pull request #293 from binarin/master

Change working dir through fig.yml
Add domainname to allowed container config.

Signed-off-by: Sam Hanes <sam@maltera.com>
Merge pull request #290 from d11wtq/bugfix/multiplexed_non_tty

BUGFIX: Update dockerpty for non-TTY multiplexing.
Split the domainname out of qualified hostnames.

Docker doesn't like it when a fully qualified hostname is passed in
the `hostname` parameter. When an FQDN is provided with `-h` the
official CLI puts the first component in `hostname` and the rest in
`domainname`. This change replicates that behavior when the user
specifies an FQDN in `hostname` in their `fig.yml`.

Signed-off-by: Sam Hanes <sam@maltera.com>
Fix typo in script dir name

Signed-off-by: Ryan Brainard <brainard@heroku.com>
Merge pull request #305 from ryanbrainard/fix-dir-typo

Fix typo in script dir name
Merge pull request #304 from Elemecca/t-domainname

add support for domainname, qualified hostname
Resolve environment without values to values on host

For parity with the Docker CLI, allow environment variables without
values to be automatically resolved to their values on the host.

Signed-off-by: Ryan Brainard <brainard@heroku.com>

Conflicts:
	tests/integration/service_test.py
Add documention for key-only environment

Signed-off-by: Ryan Brainard <brainard@heroku.com>
Merge pull request #297 from ryanbrainard/resolve-env

Resolve environment without values to values on host
Regardless of dependencies, `fig up` only attaches to what you specify

Without this, if you go:

    $ fig up -d db
    $ fig up web

you'll get output for both db and web, and Ctrl-C will kill them both.

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
Merge pull request #308 from orchardup/fix-fig-up-attach

Regardless of dependencies, `fig up` only attaches to what you specify