Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version information #177

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Commits on Apr 22, 2024

  1. manager: add support for --version command line parameter

    This adds the Unix/Linux traditional commmand line argument "--version"
    so that it is possible to retrieve the version of the binary.
    
    Example output:
    /usr/bin/manager (everest-framework 0.10.1)
    
    Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
    mhei authored and hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    b61f8ce View commit details
    Browse the repository at this point in the history
  2. ModuleLoader: add support to print version via command line

    The generated code of each C++ module uses the module loader for
    processing command line parameters etc.
    This is why we have to extend the class and pass the version information
    from the generated files into the framework library here.
    
    Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
    mhei authored and hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    bb5460c View commit details
    Browse the repository at this point in the history
  3. Add additional backwards compatible ModuleLoader constructor

    change project_name and project_version paramters to a struct VersionInformation that also includes a git_version member
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    c9b7848 View commit details
    Browse the repository at this point in the history
  4. Move version information header to everest-cmake v0.3

    It is now automatically generated in ${CMAKE_CURRENT_BINARY_DIR}/generated/include/version_information.hpp
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    557bf9e View commit details
    Browse the repository at this point in the history
  5. Display everest-core version during startup from a generated file

    This file can be generated during a build of everest-core
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    a19518b View commit details
    Browse the repository at this point in the history
  6. Revert everest-cmake dependency upgrade

    generate version info header directly
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    8de0364 View commit details
    Browse the repository at this point in the history
  7. Generate placeholder version_information.hpp in bazel

    This has no version information (for now)
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    718e1fb View commit details
    Browse the repository at this point in the history
  8. Fix include path in BAZEL.build

    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    6ab6c27 View commit details
    Browse the repository at this point in the history
  9. Bump dependency on everest-cmake back to 0.3

    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    bba2878 View commit details
    Browse the repository at this point in the history
  10. Add "version" to metadata in module manifest

    This is printed for every module on startup
    
    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f099003 View commit details
    Browse the repository at this point in the history
  11. cleanup

    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    1e7dcfe View commit details
    Browse the repository at this point in the history
  12. Bump version to 0.13.0

    Signed-off-by: Kai-Uwe Hermann <kai-uwe.hermann@pionix.de>
    hikinggrass committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    f359187 View commit details
    Browse the repository at this point in the history