> On Jun 17, 2019, at 10:23 AM, Eric Eide <[email protected]> wrote:
> 
> Communicate with users.  I want to put the appropriate git hash into the 
> output
> of my program (Xsmith-based random program generators) so that I can attempt 
> to
> reproduce the output, if necessary.

Once upon a time I tried to do the same for Pollen and couldn't sort it out. 
AFAICT the git hash isn't generated until the commit is made. Instead, I ended 
up adding a git push hook that writes a timestamp into a "ts.rktd" file as part 
of the commit. Then when Pollen is installed, that timestamp can be baked into 
the version number as a "build number". [1] So it is not the git hash, but it 
still identifies a particular commit. I'm sure this offends common decency, but 
it has indeed been useful for pinpointing user problems.

[1] https://docs.racket-lang.org/pollen/version-notes.html 
<https://docs.racket-lang.org/pollen/version-notes.html>


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1C6BFA1E-612A-498D-A92D-75F0B880F019%40mbtype.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to