Refactor config.py as preparation for rpm support.
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 12 Jan 2012 13:40:42 +0000 (15:40 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 13 Feb 2012 17:54:16 +0000 (18:54 +0100)
commitbca9f76135c5b4975b261018f0c9013243f38846
tree9047069f7ac0c33ae3e920412d2c489f28fe3e01
parent24e772577b071cb4297a5ed4b807aab334027144
Refactor config.py as preparation for rpm support.

Split GbpOptionParser in to a common base class and a Debian
specific subclass, as a preparation for upcoming RPM support.

This allows having different default values (and help texts) for common
options between different package types, and, clearer separation of
package type specific options.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
examples/gbp-add-patch
gbp/config.py
gbp/scripts/buildpackage.py
gbp/scripts/clone.py
gbp/scripts/create_remote_repo.py
gbp/scripts/dch.py
gbp/scripts/import_dsc.py
gbp/scripts/import_orig.py
gbp/scripts/pq.py [changed mode: 0644->0755]
gbp/scripts/pull.py