softwarefactory-project / rdopkg

power to the packagers
Apache License 2.0
28 stars 21 forks source link

non-semver looking git tags for patches_base #93

Open apevec opened 7 years ago

apevec commented 7 years ago

Some projects do weird release tags e.g. https://github.com/jelmer/dulwich/releases/tag/dulwich-0.16.1 Without patches_base hint in spec update-patches fails with:

## update_patches
git checkout common-rdo-patches
command failed: git log --format=%h %s 0.16.1..common-rdo-patches
stderr:
fatal: ambiguous argument '0.16.1..common-rdo-patches': unknown revision or path not in the working tree.

With patches_base=dulwich-0.16.1

## update_patches
git checkout common-rdo-patches
command failed: git log --format=%h %s dulwich..common-rdo-patches
stderr:
fatal: ambiguous argument 'dulwich..common-rdo-patches': unknown revision or path not in the working tree.