Pylinted

Change-Id: I97f7536c132d74224783b70116857dcc0b6bc6e2
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Remove dev option in Makefile

Since its' support is removed from 09bb35e

Change-Id: I48eeb4d9eeb264a6d84050376a8793685c9261a7
Cleaned up packaging

Fixed debian packaging. Simplified debian/rules. Fixed some lintian
findings (not all of them).

Get rid of outdated distfiles/ directory

Change-Id: Ideb6bf8352a09a3358492d9a8c721ebe2fe877c5
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Merge "Cleaned up packaging" into devel
download group/patterns files from remote repodata

group/patterns files are used for depanneur to create local repo

Change-Id: I1fb46fd11f52f0db7e067b4b8acfc7a8c391d430
add ks_dir and image_dir for gbs conf

ks_dir and image_dir have default value in [general] seciton, and
each profile sections can set their own values

Change-Id: Ib5999fb5cb9c4fa300852aa76c1cf19f655bca5d
bugfix: check real group/pattern name to fix backtrace issue

Change-Id: I4bbd9aa3e92b5172323223fbb4c5ae3e0375fc87
download ks files from remote repo and update it with local repo

KS files are downloaded from remote repo, and local repo will be
added to involve building image.

The authorization info will be added to exist repo

Change-Id: I7d7af07426cbd3893df44c74e45efa69ee5d880e
remove the exists checking of local repo

KSRepoUpdater just responsible for adding / updating repos.

Also this is the easist way to fix local repo issue, as in future
We will generate ks file locally, so we can don't need change build
module much for this issue.

Change-Id: I60fe587b0e716c57c5747a1294ffe95fcedb7955
detect tizen version from conf file if -D specified

Change-Id: I49b6f17642a8918b37c840df9a1e9c17dcf9d312
add createimage subcommand

Input:
    ks file specified by --ks-file. Or,
    ks directory, configured in gbs.conf

Output:
    image created by mic, the output dir is configured in gbs.conf
    with image_dir key.

createimage subcommand also support creating special profile image
with -P/--profile.

Change-Id: If5651c19f0a15730bbce2868e44308fb9a000e9f
Pylint:fixed pylint findings and removed unused libs

Change-Id: Icb19383d82dbd4b0f993e95e90c0a3a471094423
use extra local vars instead of using class vars to avoid overwrite

Change-Id: Id1df156b6851e2bccab9641eb1aeaa9f466aabe0
Remove the part of prepare ks and group, only leave cr subcommand

This patch revert patches during implement this week, and only
left gbs createimage subcommand.

ks file and group file preparation will be implemented in another\
subcommand

Change-Id: Id431234330eae09ed4d9957c834bdfff15fba2f8
Moved gbs export to separate package

gbs export is used by gbs build service, so it's better to have
it separated.

Change-Id: Ide54579ac3c4a88225ab77cf5410155026c938fc
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Implemented BuildData API

This API is responcible for generating and parsing build.xml

Change-Id: I4a8f5df93ceb778f8fb0ba1e52abe68895302b3d
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Pylint:fixed pylint findings

Change-Id: Ic2f8454dc2d7afd1a7cc60ca769f39eba0f810de
export: user lower compression level for orig tarballs

For better balance between time / tarball size. Speeds up generation of
especially gzipped tarballs.

Change-Id: I8b88cd70c83cc1a56649fcf4213b2777f3d8162f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
packaging: don't depend on pristine-tar

GBS doesn't depend on pristine-tar. GBP does.

Change-Id: I365f17462f4fbfca75092bffd75175917049256f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
give warning for new structure of repo structure

Change-Id: I87b24bb8bc3af5387091362c9bb96a3181b54e61