2i2c-org / features

Temporary location for feature requests sent to 2i2c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Generate human-readable page with packages installed in user image #1

Open yuvipanda opened 3 years ago

yuvipanda commented 3 years ago

You can inspect images/user to get a sense of what packages are installed in your user environment. This is clunky, and not as user friendly as I would like.

Instead, I want us to auto-publish a page with the following information each time we push an image:

  1. List of python packages (conda list & pip list)
  2. List of apt packages (apt list --installed)
  3. List of R packages (installed.packages())

This lets users see what's already installed at a glance, and not ask for libraries we might already have installed

choldgraf commented 3 years ago

could a first step here to be parse that repository's config files to auto-generate a page like this? That's something I could try coding up quickly rather than relying on querying a deployed hub (also this will change if/when a hub customizes its own environment so having a centralized docs source won't be as useful then)

yuvipanda commented 3 years ago

@choldgraf sounds like a great first step! But probably not high priority...

choldgraf commented 3 years ago

Also we should totally write a similar plugin that uses jupyter book PDF conversion under the hood as well. That way people could write notebooks with jupyter book syntax and render them as single-page PDFs on the fly