Task #1916
Updated by Junxiao Shi about 10 years ago
In `nfd-status` At least during debugging, it is highly beneficial to see which exactly version of NFD is running on a specific node (e.g., testbed hub). Right now, we only include base version (defined in wscript), which is not enough in many cases. A specific proposal: - For incomplete git clones when `git describe` returns nothing, just use first 5 bytes (10 characters) of commit hash - For tarballs made by `./waf dist` When `./waf dist` is called from git repo, it should create `VERSION` file, which would include either detailed version (if full clone) or first 5 bytes (10 characters) of commit hash. `VERSION` files should be consulted by `./waf` during building not from a git clone If `VERSION` file is not available and `nfd-status-http-server`, display *SoftwareVersion* field `./waf` is building not from [[ForwarderStatus]] packet if it presents. a git clone, fallback to the existing approach of including only the base version.