cpp-devbox icon indicating copy to clipboard operation
cpp-devbox copied to clipboard

change version overview to compact

Open jakoch opened this issue 1 year ago • 1 comments

The version overview is currently a long list with a lot of noise (several mentions of "version").

  • [x] Compact the display to something like:
# cpp-devbox 1.0.4 (2024-07-04)

Name:  Debian 12 Bookworm with Vulkan-SDK
Image: ghcr.io/jakoch/cpp-devbox:bookworm-with-vulkansdk-latest

## Version Overview

GCC         12.2.0, 13.2.0
Clang       17.0.6
Vulkan-SDK  1.3.283.0
Ninja       1.11.1
cmake       3.30.0
ccache      4.10.1
vcpkg       2024-06-10-02590c43
Mold        2.32.1
ldd         2.36
lldb        17.0.6
valgrind    3.19.0
cppcheck    2.10
git         2.39.2
  • [ ] place a versions.md file into the devbox
  • [x] find out, if its possible to push this file as an artifact to Github
    • run script inside container and use output mapping?
      • docker run --rm -v $(pwd)/output:/output show-tool-versions.sh

or

    # if there's a version summary markdown in the container, show it.
    container_id=$(docker container ls -al --format '{{ .ID }}')
    docker cp $container_id:/home/ci/version-summary.md $GITHUB_STEP_SUMMARY || true

jakoch avatar Jul 04 '24 15:07 jakoch

Transition from using README.md files for version tracking to a dynamically updated website that displays release tags, their images, and the versions.

  • [x] Convert version information from Markdown to JSON format.
  • [ ] Create and push a static index.html to the gh-pages branch.
  • [ ] Implement JavaScript to load and display data from versions.json.
    • [ ] Ensure versions.json lists the filenames of the JSON files with version data.
  • [ ] Update versions.json post-image build to include the new tag-specific JSON file.
    • [ ] Ensure each tag-specific JSON file (e.g., version-tag.json) includes repository version tags, image tags, and version data.

jakoch avatar Jul 08 '24 00:07 jakoch