documentation: moved diagrams to directory of same name

To make room for more central documentation files.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
documentation: initial configuration and data files

Signed-off-by: Cleber Rosa <crosa@redhat.com>
gitignore: ignore the documentation build directory and all its contents

As this is a directory that is used by sphinx to store files during
the build and after the build is completed and a given (say html)
output is generated.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
documentation: added interphinx setting for django

Signed-off-by: Cleber Rosa <crosa@redhat.com>
documentation: enable a setup.py command to build the docs

Signed-off-by: Cleber Rosa <crosa@redhat.com>
added a pip requirements file

Signed-off-by: Cleber Rosa <crosa@redhat.com>
gitignore: ignore the build dir (created by setup.py)

Signed-off-by: Cleber Rosa <crosa@redhat.com>
documentation: update the CODING STYLE document

To reflect that new docstrings should use reStructuredText and
other Sphinx tags.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
client.shared.logging_manager_unittest: s/assertIn/assertTrue/.

This patch fixes autotest.client.shared.logging_manager_unittest on
CentOS 6 (Python 2.6.6).

Signed-off-by: Vinson Lee <vlee@twitter.com>
install-autotest-server.sh: Update EL6 epel-release package URL.

Signed-off-by: Vinson Lee <vlee@twitter.com>
utils/check_patch.py: Accept multiple patchwork patch IDs

Different from github, patches on patchwork are individual
and there's no concept of a patchset. Therefore, verifying
a large patchset is a painful process.

Make it easier by allowing to specify several IDs, separated
by comma.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
utils/test_importer.py: Fix bug importing control files into DB

Right now, the test importer will import all tests
as 'client' ones. Let's fix this by fixing mapping
between control file strings and test codes.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
check_patch.py: Fix description and help

Now the script can check a bunch of patchwork IDs all at once.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Make it optional to install default profile

With recent changes to profile code if install server is set create job
(CLI and GUI) will default to reinstalling with current profile. This
irrited some of the users as they find it too easy to reinstall machines.
With that setting in ini file they can default to not installing
default profile.

Signed-off-by: Julius Gawlas <julius.gawlas@hp.com>
client.shared.iso9660 - Fix wrong error message format

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
Update client tests to the latest master

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
client.test:to check whether the self.debugdir_tmp_file exist

Sometimes this will lead an error, So before unlink the file
check if it really exists.

Signed-off-by: Mike Qiu <qiudayu@linux.vnet.ibm.com>
Acked-by: Feng Yang <fyang@redhat.com>
base_sysinfo: add dmidecode to sysinfo, use lspci -vvnn to get both name and PCI device ID in output

We use dmidecode to get BIOS and HW platform information.  Use lspci
-vvnn to get both marketing name and PCI device ID, since we detect hardware based
on PCI device ID only.

Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
logging_manager: Implement LoggingFile.isatty() for completeness, return False

yum-cli uses sys.stdout.isatty() in various places, so it will fail when
called from autotest since LoggingFile.isatty() does not exist.
Return False since LoggingFile is not emulating a tty.

Changes from v1:
   * Fixed spacing

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
logging_manager: Implement LoggingFile.writelines()

Existing code calls sys.stdout.writelines() because this method is
expected as part of the file object protocol.  When run in autotest
sys.stdout is actually a LoggingFile.  Implement writelines()
in LoggingFile to be more compliant with the File Object protocol.

Changes from v1:
 * Fixed docstring and removed unrelated comment

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>