Open mtamboli opened 5 years ago
Hi @mtamboli quick q - you're using the term collection a lot - are you referring to kabanero collections and is this part of your issue?
@sympatheticmoose I am testing this in context of Kabanero but the idea is same if using stack or collection. How do you update your existing appsody project with new/updated stack or collection?
@mtamboli this is a very valid requirement/use-case. We should provide a path to migrate a project from one stack to another. Moving this to our triage to get designed and prioritized.
For now you can manually edit the .appsody-config.yaml
file in the appsody project to point to the new stack. Obviously like you state, some of the project files may also need to change, and it would be currently up to you to properly update the files as the new stack expects.
Is your feature request related to a problem? Please describe. Here is the problem scenario: New developer creates appsody project and an applications using appsodyhub repository Java-microprofile stack, tested and checked in new appsody project in Github.
But later it was found that the organization really needs to use a java-microprofile stack/collection from different repository. There are no easy steps to clone and update the project. Manual steps that I can think of are (do not like step 3 and 4):
Describe the solution you'd like A clear and concise description of what you want to happen.
Looking for something like
update
command below but I am not aware of any such appsody command. So this request and this is how it could work:update
command will not overwrite the code directory but other files. It can give a warning to the user about all the files which will be overwritten in the project as result of this command.Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here. There will be many cases when existing projects need to be rebuild with the latest stack/collection. Creating new project every time and copying the code seems like too much to expect. So this feature will help with quick updates to the appsody projects.