Skip to content

Markup .tool-versions to show more detail

Ash McKenzie requested to merge ashmckenzie/markup-tool-versions into main

What does this Merge Request do and why?

This MR displays and writes a more detailed .tool-versions file, showing which project requires which particular versions of software to make it easier to determine which projects need upgrades etc:

$ support/asdf-combine
...........
Writing the following to /Users/ash/src/gitlab/gdks/gdk4/.tool-versions
================================================================================
# golang:
#   1.17.7:
#     - https://gitlab.com/gitlab-org/gitlab/-/raw/master/workhorse/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-shell/-/raw/main/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v13.24.0/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-pages/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-pages/-/raw/v1.55.0/.tool-versions
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/b6e1f3ce3799d61cb7cdbd67952d82c126f44c4f/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-runner/-/raw/main/.tool-versions
#   1.16.14:
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/b6e1f3ce3799d61cb7cdbd67952d82c126f44c4f/.tool-versions
#
golang 1.17.7 1.16.14

# minio:
#   2021-04-06T23-11-00Z:
#     - .tool-versions-gdk
#
minio 2021-04-06T23-11-00Z

# nodejs:
#   16.13.2:
#     - .tool-versions-gdk
#     - https://gitlab.com/gitlab-org/gitlab-docs/-/raw/main/.tool-versions
#   14.17.5:
#     - https://gitlab.com/gitlab-org/gitlab/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-ui/-/raw/main/.tool-versions
#
nodejs 16.13.2 14.17.5

# postgres:
#   12.9:
#     - .tool-versions-gdk
#
postgres 12.9

# redis:
#   6.0.16:
#     - .tool-versions-gdk
#
redis 6.0.16

# ruby:
#   2.7.5:
#     - .tool-versions-gdk
#     - https://gitlab.com/gitlab-org/gitlab/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-shell/-/raw/main/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-shell/-/raw/v13.24.0/.tool-versions
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitaly/-/raw/b6e1f3ce3799d61cb7cdbd67952d82c126f44c4f/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-docs/-/raw/main/.tool-versions
#   3.0.2:
#     - .tool-versions-gdk
#
ruby 2.7.5 3.0.2

# yarn:
#   1.22.17:
#     - .tool-versions-gdk
#     - https://gitlab.com/gitlab-org/gitlab/-/raw/master/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-ui/-/raw/main/.tool-versions
#     - https://gitlab.com/gitlab-org/gitlab-docs/-/raw/main/.tool-versions
#
yarn 1.22.17

This MR will make answering questions like !2431 (comment 849966247) much easier 🙂

Related: https://gitlab.com/groups/gitlab-org/-/epics/7557

Merge Request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Ash McKenzie

Merge request reports

Loading