InseeFrLab / sspcloud-init-scripts

Initialization scripts for interactive services
MIT License
9 stars 7 forks source link

VSCode configurations: poetry env, disable julia language server, increase max-line-width #7

Open blenzi opened 1 month ago

blenzi commented 1 month ago

Thanks for this nice initiative! Here is the script I wrote few months ago, hoping it is still valid. It allows to add poetry environnements to the list of python envs (to be run after the installations), disable julia language server, increase max-line-width and maybe others. Hope it is useful.

avouacr commented 1 month ago

Hi @blenzi, thank you for your contribution ! I see two scripts that would be relevant to add to the repo from your script :

The issue is that in its current form, your script is a "manual" init script, as it must be launched via python by the user after startup. In this repo, we want to provide users with shell init scripts, because only shell scripts can be provided as init scripts for onyxia's services. So we would need a conversion to shell scripts, where json configuration can be edited via jq such as what we do when building the images here. If you're interested, feel free to start a PR, and @ihiverlet or I could complete.