View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000628||Cinelerra-GG||[All Projects] Feature||public||2023-01-10 19:14||2023-01-11 16:51|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0000628: Add features - separate windows attributes + include git commit tag on build|
|Description||A couple of Feature requests for the future (as presented by Rob)|
1) Separate out the windows attributes so that each window has it's own display preference setting.
2) Modify the build procedure so that make automatically includes the git commit tag from the version used to create the binary,
3) and with a cin --version option to inquire without it starting the GUI.
|Tags||No tags attached.|
Waiting to hear possible results. Meanwhile want to log how Rob did this: "implemented such at my last job by saving git-commit-string as a macro
that could be read by the compiler and expanded during compiler preprocessing. the slight complication with your build system is that you don't always build from a git repo so in lieu of being able to call "git log" you would need an authoritative fall-back text file .version??? as part of the build." True, I never build from the git repo.
for git hash google pops up this idea:
echo -n '#ifndef GIT_HASH\n#define GIT_HASH "' > [email protected] && \
git rev-parse HEAD | tr -d "\n" >> [email protected] && \
echo '"\n#endif' >> [email protected]
then one can include this githash.h in our version.h (and not forgot to rm it on make clean.
I'll try this one
|2023-01-10 19:14||PhyllisSmith||New Issue|
|2023-01-11 03:33||Andrew-R||Note Added: 0005376|
|2023-01-11 16:51||PhyllisSmith||Note Added: 0005378|