Travis CI setup
shell: Add pushd/popd functions

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
shell: Add unittests

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Integrate nosetests in Travis CI setup

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Merge pull request #2 from esben/master

Integrate with Travis CI, extend xd.tool.shell and add unittests to it
Update README file with license information

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Add setuptools glue

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Hook Coveralls into Travis CI

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Merge pull request #3 from esben/master

setuptools and coveralls
Fix coveralls badge
Refactor ConsoleFormatter.format() method to formatMessage()

Re-use the standard Formatter.format() method, and only override the
Formatter.formatMessage() method.

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Improved logging initialization

Support for use of custom stream instances (eases unittest integration),
customizable initial logging level, and support for removing the console
logger (also eases unittest integration).

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
More unittest coverage

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Fix log level handling

The logging level is controlled on the individial logger instances, and
the root logger (with ConsoleFormatter attached) is set to DEBUG.

For now, all the xd.tool loggers are left at INFO, but we should add
command line arguments for setting individual modules (or all) to DEBUG,
to enable selective logging/debugging.

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Decode (utf-8) shell output in call()

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Improve robustness of git submodule status parsing

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Change init command to enfore manifest top-level git repo

Initialize git repository in manifest top, even if it is placed inside
another git repository.

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Unittest coverage of init command and xd.main

Signed-off-by: Esben Haabendal <esben@haabendal.dk>
Merge pull request #4 from esben/master

logging and unittest work
manifest: handle non-recursive manifest clone