Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Aded manpages (posix, posix-dev, dev) to common-debian.sh #779

Merged
merged 6 commits into from
Mar 11, 2021
Merged

Aded manpages (posix, posix-dev, dev) to common-debian.sh #779

merged 6 commits into from
Mar 11, 2021

Conversation

samruddhikhandale
Copy link
Member

Fixes: Add manpages, manpages-posix to C++ and kitchen sink, possibly other images

Added following packages to common-debian.sh

  • manpages-dev
  • manpages-posix
  • manpages-posix-dev

1

2

Copy link
Member

@Chuxel Chuxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks right, but there's a few key things here since this script can be run for Ubuntu and Debian... this is one case where there's some subtle differences that are important.

Copy link
Member

@Chuxel Chuxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got pulled into meetings but I hit a couple of issues when trying the "debian" definition. I'll type up more on how I think we can resolve it with sed in a bit. (EDIT: I've since added the sed idea in the related inline comment.)

BTW - A simple way to copy scripts to everything is to run the following from the vscode-dev-containers repo.

yarn install
build/vscdc copy-library-scripts

This is what CI does and will copy whatever is in the script-library folder to all definitions that use the script. You can then just open containers/debian or containers/ubuntu in Remote - Containers to test.

@Chuxel
Copy link
Member

Chuxel commented Mar 11, 2021

@samruddhikhandale This looks good!

Last nit: I think we can drop the arguments for the definitions for the Oh My and the free packages flags. That would show up in the VS Code "Add Dev Container Config" UX which is going to confuse the average developer.

The main place I want to be sensitive to is those using the script for their own images given there will be some that want to stick with Debian "free" packages only.

We can just do /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" true true in ours.

@samruddhikhandale
Copy link
Member Author

@samruddhikhandale This looks good!

Last nit: I think we can drop the arguments for the definitions for the Oh My and the free packages flags. That would show up in the VS Code "Add Dev Container Config" UX which is going to confuse the average developer.

The main place I want to be sensitive to is those using the script for their own images given there will be some that want to stick with Debian "free" packages only.

We can just do /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" true true in ours.

I see. Made the changes.

@samruddhikhandale
Copy link
Member Author

samruddhikhandale commented Mar 11, 2021

Closed previously by mistake :)

@Chuxel
Copy link
Member

Chuxel commented Mar 11, 2021

LGTM! Merging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add manpages, manpages-posix to C++ and kitchen sink, possibly other images
3 participants