Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: version of DART recorded in the log file #747

Open
hkershaw-brown opened this issue Sep 30, 2024 · 0 comments
Open

Feature request: version of DART recorded in the log file #747

hkershaw-brown opened this issue Sep 30, 2024 · 0 comments
Labels
build-system issues related to building dart pmp possible Marlee project

Comments

@hkershaw-brown
Copy link
Member

Use case

Read other people's log files from various times in history.

Is your feature request related to a problem?

Not knowing which version of dart was used to produce some output.
Not knowing if the user has local modifications, committed or otherwise.

Describe your preferred solution

Not sure.
Include a version string at compile time "git describe --tags" that gets printed in the log file message

 --------------------------------------
 Starting ... at YYYY MM DD HH MM SS = 
                 1884 4 16 10 29 13
 Program Filter v0.0.1-13-ge74ab9573
 --------------------------------------

Describe any alternatives you have considered

🔮 Any method of divination that can tell you the state of the code when it was compiled, store that in the executable, and output the info to the log file. I think git may be the way to go for what version of the code was committed at compile time (maybe also modified but not committed info - set a flag plus_unknown_mods).

@hkershaw-brown hkershaw-brown added the build-system issues related to building dart label Oct 1, 2024
@hkershaw-brown hkershaw-brown added the pmp possible Marlee project label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-system issues related to building dart pmp possible Marlee project
Projects
None yet
Development

No branches or pull requests

1 participant