-
Notifications
You must be signed in to change notification settings - Fork 44
How to handle .appsody config and repos without codewind-workspace #564
Comments
We should be able to still do option 1 when this is all finished. The smarts is all going to be in the inital creation of the build container but I don't think it will break current behaviour |
Discussed with @tobespc today. We concluded there's no good way to continue support for option 1 once the codewind-workspace mount is gone. Ultimately, to add a repo a user would need to add the That leaves option 2, meaning users will be expected to only add repos via template manager in IDEs. But additionally for Appsody style repos, IDE also need to add the corresponding Alternatively, if IDEs switch to use @deboer-tim @jopit your thoughts? |
Investigate if we can make the cli extensible so that it can invoke function in an extension in a generic way. |
A couple of appsody bugs that need to be fixed for this work: |
All changes in |
Codewind version:
OS:
Che version:
IDE extension version:
IDE version:
Kubernetes cluster:
Question synopsis:
Currently there are instructions telling users to make their local appsody CLI use the same configuration as Codewind's. This allows them to add a repo in their local CLI, and it shows up in Codewind.
This is possible because Codewind's
.appsody
configuration folder is incodewind-workspace
which is mounted from host system into PFE. But this will becoming impossible when the mount goes away.Questions:
Do we still support adding repo in CLI and it shows up in Codewind? (i.e. data flowing from Appsody CLI -> Codewind)
Or, now that there's a template manager, do we only support adding appsody repo via template manager?
If it is the second, there will be a problem for bind scenario (Support binding existing project to appsody #292) if there's no data flowing from Codewind -> Appsody CLI. Consider this scenario:
repoX
in Codewind, which hasstackY
in itstackY
codewind-installer
runsappsody init stackY none
. This will fail, because the Appsody CLI does not know aboutrepoX
norstackY
The text was updated successfully, but these errors were encountered: