Safer rm -rf *

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Don't checkout the clone - not needed
Saner way to move files to OUTDIR ... what was I smoking?

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Copy gp_mkpkg to obs service directory

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Handle missing git clone target directory case

The script now creates a local gitpkg.tmp directory where it clones
the git repository in case the default path is not found.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
Apply the patches to the spec file or yaml file.
Makes use of some yaml hackery in the BlockDumper to preserve the yaml file as
well as possible
The --no-src option is used in pristine-tar and doesn't modify the
spec %setup to use src/
The --no-tarball option is used during setup when preparing the packaging files

Signed-off-by: David Greaves <david@dgreaves.com>
Now implements generally agreed standards for tag/branch naming.
Updated docs. Tested for simple package (qttas)

Signed-off-by: David Greaves <david@dgreaves.com>
Run specify when yaml changes

Signed-off-by: David Greaves <david@dgreaves.com>
Get version/release from packaging

Signed-off-by: David Greaves <david@dgreaves.com>
Use --manual instead of --pkg and --auto instead of --existing
Extend manual usage to copy in some packaging and suggest some commands.
Tries to autodetect version from packaging too
Also takes --ver= to override version

Signed-off-by: David Greaves <david@dgreaves.com>
Add SetupOptions: -q -n src to yaml if not using pristine tar

Signed-off-by: David Greaves <david@dgreaves.com>
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>