Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3585

Ensure git lfs works with VSCode with Dev Spaces 3.3 release

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      Git LFS not being included in the Universal Developer Image (UDI) which is used by all the samples in DevSpaces Dashboards. 

      Prerequisites:

      OCP: 4.10 
      Red Hat OpenShift Dev Spaces: 3.2.0

      Steps to Reproduce:

      1. Create a sample workspace from the devspaces dashboard using the default IDE.

      2. Open the terminal (che-thei) and insert the command "git lfs" this will show that the GIT LFS is installed in the image for che-thei.
      Refer image [screen1] to check and confirm the same.

      3. Now try to open the terminal of the workspace and insert the command "git lfs"  which will throw an error. 
      Refer image [screen 2] to check and confirm the same. 

      Actual results:

      GIT when used through the IDE everything works as expected, when using the terminal for the sample workspace an error occurs because the git-lfs package is not installed.

      Expected results:

      Git should work both through the IDE as well as  the UDI image which is used by all samples in DevSpaces Dashboard. 

      However, git lfs is only installed in the image for che-thei but not in the Universal Developer Image which is used by all the samples in the DevSpaces Dashboards
      GIT when used through the IDE everything works as expected, when using the terminal an error occurs because the git-lfs package is not installed.

      Additional info:

      As per the update from the client for the upcoming release 3.3 when VS Code becomes the default IDE and sidecar containers are dropped (like the one for theia) this would mean that  LFS is likely not to work at all, because then the IDE is copied into the Universal Developer Image. 
       
      Just need to ensure that as with the release of devspace 3.3.0  operator Vscode becomes the default IDE it should include the GIT LFS with the default samples as well as with the UDI which is used by all the samples. 

       

       

        1. screen1.png
          screen1.png
          213 kB
        2. screen2.png
          screen2.png
          125 kB
        3. Selection_014.png
          Selection_014.png
          114 kB

            azatsary Artem Zatsarynnyi
            rhn-support-dtambat Darshan Tambat
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: