[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #30899 [Core Tor/sbws]: Include the commit hash in the sbws version
#30899: Include the commit hash in the sbws version
---------------------------+-----------------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: sbws: 1.2.x-final
Component: Core Tor/sbws | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points: 1
Reviewer: | Sponsor:
---------------------------+-----------------------------------
Comment (by teor):
Here's one way we could do this feature:
Add a software_commit key to the bandwidth file header.
If git is installed at runtime (or install time), make the header value
"git-(commit hash)".
Here's how PrivCout does it in python:
https://github.com/privcount/privcount/blob/master/privcount/protocol.py#L33
We should also show the git commit hash when we print the sbws version in
the log.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30899#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs