View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001349 | FreeCAD | Feature | public | 2014-01-10 12:32 | 2017-03-27 08:12 |
Reporter | shoogen | Assigned To | wmayer | ||
Priority | low | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 0.14 | ||||
Fixed in Version | 0.14 | ||||
Summary | 0001349: recognize remote branches for Version.h in detached head state | ||||
Description | if the developer checks out a reomte branch (e.g. origin/master) his local repo changes into detached head state. Therefore the version information included at cmake runtime is always set to '(no branch)'. The provided patch takes remotes branches into account when determined the branch name. | ||||
Additional Information | The first result of the git command for HEAD will always be HEAD, therefore it has to be skipped. The order of the further results seams reasonable to me. This will however leak the name used locally for the remote repo. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
available at git://github.com/5263/FreeCAD.git feat-0001349 |
|
Example: OS: Debian GNU/Linux 7.3 (wheezy) Platform: 64-bit Version: 0.14.2993 (Git) Branch: origin/master Hash: 270d25658dd98e5fee475d9e534212f0ed373002 Python version: 2.7.3 Qt version: 4.8.2 Coin version: 3.1.3 SoQt version: 1.5.0 |
|
i added git describe as new fallback |
|
git show a7b16c5 |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-10 12:32 | shoogen | New Issue | |
2014-01-10 12:36 | shoogen | Note Added: 0004036 | |
2014-01-10 12:39 | shoogen | File Added: 0001-0001349-recognize-remote-branches-for-Version.h-in-d.patch | |
2014-01-10 12:40 | shoogen | File Deleted: 0001-0001349-recognize-remote-branches-for-Version.h-in-d.patch | |
2014-01-10 12:48 | shoogen | Note Added: 0004037 | |
2014-01-10 12:49 | shoogen | Tag Attached: build-tools | |
2014-01-10 12:49 | shoogen | Tag Attached: git | |
2014-01-10 13:32 | shoogen | Status | new => feedback |
2014-01-10 14:06 | shoogen | Note Added: 0004038 | |
2014-01-10 14:06 | shoogen | Status | feedback => new |
2014-01-11 12:40 | wmayer | Note Added: 0004044 | |
2014-01-11 12:40 | wmayer | Status | new => closed |
2014-01-11 12:40 | wmayer | Assigned To | => wmayer |
2014-01-11 12:40 | wmayer | Resolution | open => fixed |
2014-01-11 12:40 | wmayer | Fixed in Version | => 0.14 |
2017-03-24 16:22 | Kunda1 | Tag Detached: git | |
2017-03-24 16:23 | Kunda1 | Tag Detached: build-tools | |
2017-03-27 08:12 | Kunda1 | Changeset attached | => FreeCAD master a7b16c57 |