devcontainers / features

A collection of Dev Container Features managed by Dev Container spec maintainers. See https://github.com/devcontainers/feature-starter to publish your own
https://containers.dev/features
MIT License
815 stars 318 forks source link

[Feature Request] `git` feature should have an option to install manpages (install-man) #1014

Open jinohkang-theori opened 3 weeks ago

jinohkang-theori commented 3 weeks ago

Currently, src/git/install.sh only installs files necessary for operation. For convenience, add an option to install documentation (install-doc) or at least manpages (install-man).

samruddhikhandale commented 2 weeks ago

Hi 👋

Have you looked at the common-utils Feature? It installs manpages.

iamahuman commented 2 weeks ago

Have you looked at the common-utils Feature? It installs manpages.

Just manpages are not enough. It should be specifically from the git version being installed.

For example, installing git 2.45.0 should install (and only install) git man pages for version 2.45.0 and specifically that version only. This is especially important for experimental or new git commands.

In particular, it should not install from OS package repository, which tends to get outdated quickly especially on LTS distros.