Fossil

View Ticket
Login
Ticket Hash: 3a2a265132203424cf68d9fdbc4b9447178d86e7
Title: Suggestion: CLI option to describe features with which fossil was compiled
Status: Closed Type: Feature_Request
Severity: Cosmetic Priority:
Subsystem: Resolution: Fixed
Last Modified: 2013-03-18 08:00:57
13.04 years ago
Created: 2013-03-15 12:35:05
13.05 years ago
Version Found In: 1.25
User Comments:
nobody added on 2013-03-15 12:35:05:
It would be useful to have the means to find out (or have fossil.exe describe) which features it was compiled against (e.g. whether it was compiled with OpenSSL). This could be something like:

C:\> fossil.exe version
This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC

C:\> fossil.exe version -info
This is fossil version 1.2 [d2e07756d9] 2013-02-16 00:04:35 UTC
- mingw32 
- openssl (1.0.1d)

C:\>

stephan added on 2013-03-15 14:52:24:
This has been implemented, to some degree, in [1be15a57f1a6447], in the form of a new -verbose flag for the 'version' command. i'm not sure how to get some of the details (e.g. the OpenSSL implementation name and version number), so it just spits out some simple text, e.g.:

[stephan@host:~/cvs/fossil/fossil/src]$ f version -v
This is fossil version 1.25 [0d55a0ad0f] 2013-03-15 14:35:26 UTC
Compiled with the following features enabled:
	SSL
	JSON

nobody added on 2013-03-15 18:26:24:
OK, I see that it has more code since [d2e07756d9]: 
[/vdiff?from=d2e07756d9ecc505&to=1be15a57f1a64478&name=src/checkin.c]

mistachkin added on 2013-03-18 08:00:57:
More information has been added to the verbose output in trunk.