Skip to content

Feature request: Add a -version flag #87

Description

@lungsin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions