<< Back to previous view

[QB-2294] Git repository. Tags are not fetched when getting changes.
Created: 16/Jan/15  Updated: 20/Jan/15

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.39
Fix Version/s: 6.0.4, 5.1.43

Type: Bug Priority: Major
Reporter: Alexey Shumkin Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Server Information
System Date and Time 2015-01-16 23:05:11
Operating System Linux 3.13.0-32-generic, amd64
JVM OpenJDK 64-Bit Server VM 1.7.0_65, Oracle Corporation
QuickBuild Version 5.1.39 - Thu Nov 27 05:10:55 MSK 2014
Total Heap Memory 910,50 MB
Used Heap Memory 297,13 MB
Heap Memory Usage
32%
OS User Name quickbuild


 Description   
My build scripts are using tags info (calculate version with git describe) to generate changelog since last tag.
Test and release builds are built in different workspace directories. So, tags created in release cannot appear in test build directory except to be fetched from "main" repository.
After release config is built, all next test builds do not have tags created in "releases"
I guess this is happened because "git fetch origin" does not fetch tags.

I have Git v1.9.2 installed on a QB agent's machine.
The reason of the issue is the following?

Git v1.9.0 Release Notes
========================

Backward compatibility notes
----------------------------
...
The meanings of the "--tags" option to "git fetch" has changed; the
command fetches tags _in addition to_ what is fetched by the same
command line without the option.
...

Generated at Thu May 16 11:53:00 UTC 2024 using JIRA 189.