We're currently facing a number of issues related to supporting git in our labs, including:
git config settings not persisting, causing learners to have to enter their information/credentials after every forceRefresh
forceRefresh changing file permissions to a+rwx, causing git to show all files affected as having staged changes (even though git diff might show nothing
logging into github via the code-server github authentication dialogue leads to 404
Solutions:
Fixed by making ~/.gitconfig and ~/.git-credentials symlinks of files with the same name inside a mounted path
Fixed by adding a git config option that ignores file permissions changes
Updated to code-server v3.8.1 which includes a fix for this issue
Test Plan
Local docker builds to verify that .gitconfig and .git-credentials are indeed created. Upload to coursera platform to verify that these files still persist even after forceRefresh, and that users will no longer have to keep re-entering their git information.
Summary
We're currently facing a number of issues related to supporting git in our labs, including:
Solutions:
Test Plan Local docker builds to verify that .gitconfig and .git-credentials are indeed created. Upload to coursera platform to verify that these files still persist even after forceRefresh, and that users will no longer have to keep re-entering their git information.