[MDEV-12583] Bake the Githash and other info into the binaries Created: 2017-04-25 Updated: 2023-01-06 Resolved: 2017-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging |
| Fix Version/s: | 10.3.2 |
| Type: | Task | Priority: | Critical |
| Reporter: | Alvin Richards (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Description |
| Comments |
| Comment by Sergei Golubchik [ 2017-05-24 ] |
|
Note, that most binaries are built from a source tarball, not from a git repository. |
| Comment by Elena Stepanova [ 2017-05-24 ] |
|
Worse still, it should probably be both if possible, because there can be (and there are) also custom builds of different sorts which might come directly from git, and those are most difficult to track. |
| Comment by Valerii Kravchuk [ 2017-08-03 ] |
|
If me merge some trees, like CONNECT, the details from them should also be presented. |
| Comment by Vladislav Vaintroub [ 2017-09-21 ] |
|
The new server "variable" (i.e a constant) is called 'version-source-revision", so it does not depend on git (who knows what source control we'll use in the future) |
| Comment by Andrii Nikitin (Inactive) [ 2017-09-22 ] |
|
If I understand purpose of this MDEV properly - then current solution "Bake the Githash" is not enough to collect information about build, because different branches (e.g. 10.2 and bb-10.2-ext) may show the same version() and the same version-source-revision. |
| Comment by Vladislav Vaintroub [ 2017-09-22 ] |
|
branch does not matter really, git commit hash describes the entire source code repository "as of" when this hash was HEAD. |