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

Cannot create a factory from repository (without devfile) that has uppercase characters in name

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      1. Try to create a factory from repository(without devfile) that has uppercase characters in name, for example from this - https://github.com/SkorikSergey/TestRepo.
      Show
      Try to create a factory from repository(without devfile) that has uppercase characters in name, for example from this -  https://github.com/SkorikSergey/TestRepo .

      Cannot create a factory from repository(without devfile) that has uppercase characters in name.
      There are restrictions:

      {{Unable to create devworkspace: DevWorkspace.workspace.devfile.io "TestRepo" is invalid: metadata.name: Invalid value: "TestRepo": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]{*}[a-z0-9])?(\.[a-z0-9]([-a-z0-9]{*}[a-z0-9])?)*')}}
      

       

      Upstream issue - https://github.com/eclipse/che/issues/21338.

      Suggested behaviour: change is that the factory / devworkspace engine will sanitize the input git repo name to make it compliant with OCP naming rules.

            ibuziuk@redhat.com Ilya Buziuk
            sskoryk Serhii Skoryk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: