• Daniel Gollub's avatar
    Guess upstream-tag based on merge-base · aa8548d5
    Daniel Gollub authored
    In some unfortunate cases you might have something like this:
    
    $ git tag
    v1.0
    vyatta/1.0-0something1
    
    ... where later tag is closer to describe current HEAD.
    
    With upstream-tag set to v%(version)s find_tag() is going to propose
    something based on vyatta/1.0-0something1 which is not expected.
    
    The problem is that find_tag() returns tags, which match the
    upstream-tag format, but which are not on the upstream-branch at all.
    
    To fix this find_tag()/git-describe should not be used to determine
    the closest upstream-tag.
    
    Closes: gh#7
    aa8548d5
Name
Last commit
Last update
..
08_test_patch_data Loading commit data...
component Loading commit data...
data Loading commit data...
test_PristineTar_data Loading commit data...
testutils Loading commit data...
01_test_help.py Loading commit data...
02_test_upstream_source_tar_unpack.py Loading commit data...
03_test_dch_guess_version.py Loading commit data...
04_test_submodules.py Loading commit data...
05_test_detection.py Loading commit data...
06_test_upstream_source.py Loading commit data...
07_test_fastimport.py Loading commit data...
08_test_patch.py Loading commit data...
09_test_write_tree.py Loading commit data...
10_test_get_upstream_tree.py Loading commit data...
11_test_dch_main.py Loading commit data...
12_test_deb.py Loading commit data...
13_test_gbp_pq.py Loading commit data...
14_test_gbp_import_dscs.py Loading commit data...
15_test_DebianSource.py Loading commit data...
16_test_supercommand.py Loading commit data...
17_test_dch_guess_documented_commit.py Loading commit data...
18_test_Config.py Loading commit data...
19_test_gbp_scripts_config.py Loading commit data...
20_test_rpm.py Loading commit data...
21_test_command_wrappers.py Loading commit data...
__init__.py Loading commit data...
context.py Loading commit data...
test_Changelog.py Loading commit data...
test_Config.py Loading commit data...
test_Control.py Loading commit data...
test_GitModifier.py Loading commit data...
test_GitRepository.py Loading commit data...
test_GitVfs.py Loading commit data...
test_PristineTar.py Loading commit data...