Rename option --pkg -> --manual

Signed-off-by: David Greaves <david@dgreaves.com>
Use more reliable git rev-parse instead of show-ref

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
gp_release is a new tool to ease making a release

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
--edit allows the packaging to be modified before commit.

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Add --git-dir support which is useful to run in an OBS project/package area to perform a local build

Signed-off-by: David Greaves <david@dgreaves.com>
Inform when running specify

Signed-off-by: David Greaves <david@dgreaves.com>
Create gp_common and move some functions and variables there

Signed-off-by: David Greaves <david@dgreaves.com>
Update installation

Signed-off-by: David Greaves <david@dgreaves.com>
Auto increment Release if --ver is provided on its own

Signed-off-by: David Greaves <david@dgreaves.com>
Support --base to reset the version where a release comes from

Signed-off-by: David Greaves <david@dgreaves.com>
Extend git() to allow passing kwargs to subprocess call; useful for stderr>/dev/null

Signed-off-by: David Greaves <david@dgreaves.com>
Support --git-dir to point to a git repository somewhere else

Signed-off-by: David Greaves <david@dgreaves.com>
Clarify how patches are applied and add usage about --fuzz and --use-all-packaging

Signed-off-by: David Greaves <david@dgreaves.com>
patch-branch is now defined to be $DISTRO-master

Signed-off-by: David Greaves <david@dgreaves.com>
Cosmetic cleanup

Signed-off-by: David Greaves <david@dgreaves.com>
Default <version> to the --base-on tag if provided. Default <release> to 1.
Use packaging values if present; prompt if version looks strange compared to tag

Signed-off-by: David Greaves <david@dgreaves.com>
pristine-tar packaging must have 2 tags as the delta tag is mandatory

Signed-off-by: David Greaves <david@dgreaves.com>
pristine-tar has patches so we need a patch tag

Signed-off-by: David Greaves <david@dgreaves.com>
Cleanup tags and branches on exit

Signed-off-by: David Greaves <david@dgreaves.com>
Commit quietly and add empty commit at start of pkg-DISTRO branch
This allows cleanups to be done more easily and makes commit/retry saner

Signed-off-by: David Greaves <david@dgreaves.com>