Basically so that we can do jails -version. It'll output some information to indicate how the binary was built. I think it'll be useful for bug reporting and repro purpose.
Since currently jails doesn't distibute release binary, I'm thinking maybe for now we can use commit hashes instead of the version number, i.e.:
- Commit hash from jails repo when invoking
jai build,
- Commit hashes from each of the dependencies
- NOTE: This is a bit redundant since these can be inferred from jails repo commit hash. But I argue this is needed because people can forget to update the submodule version.
- OS information
- Jai compiler version
- Build flag
Basically so that we can do
jails -version. It'll output some information to indicate how the binary was built. I think it'll be useful for bug reporting and repro purpose.Since currently jails doesn't distibute release binary, I'm thinking maybe for now we can use commit hashes instead of the version number, i.e.:
jai build,