-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
What you want IINA to do:
During startup emit a log message giving information about the build including the date, git branch and commit hash.
What IINA does currently:
From an IINA log file it is not obvious the executable is from a development build.
Why you think this should be added:
For developers that take development builds to other machines for testing it is desirable to have a way to distinguish between development builds.
I will be posting a PR containing the changes needed to emit such a log message.
Examples of other projects that have something similar:
I looked, but did not find a standard convention for addressing this.
If you build FFmpeg this is what you get for a version number:
ffmpeg version N-107541-g81ebf40efa Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)
The 100221
is the branch's commit count, the 81ebf40efa
is a shortened commit hash.
Some Apple developers change the version number to be an ISO formatted build date with all characters stripped out. I thought it was better to avoid using the application version given Apple's restrictions on what the version can contain.