-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aah migrate
command to fix/upgrade application codebase to latest aah version
#116
Comments
@jeevatkm About config file, when you'll add it update template directly with new config and comments (because config file are always really well commented) with an auto-merging process (like git could do with pulling commits). For resolving conflicts some of them could modify the project with find/replace. I'm thinking of something like obvious typo change in API... |
@julienkosinski That's good suggestion. I agree, logging information via CLI would be helpful. |
@jeevatkm Also, as config files updates regularly with new versions to update documentations, efforts could be made about this. I know that (learn just now in fact), for example, modern javascript front-end scaffolding apps handle this by avoiding default config and providing config repo kept up-to-date with best-practices for each use cases. (See POI, here, here for example). I suppose in this case the best way is to design the upgrade tool so that it merges config file but having a repo for config is not stupid because there's multiple config use cases to handle (and the created app needs to keep the info of what type of app it is and updates it accordingly, is it web or api, form or basic, etc). What's your thought about this :)? |
@julienkosinski I have read and went through your references of config templates idea. Looks interesting. I will have to do analysis and homework on config template to see; it is feasible to accommodate in aah and Go. Will get back to you. I would like to do proper homework before touching migrate command implementation. |
Implementation is done (I would call it beta to begin with; gradually it will get more mature). Have to work in documentation 😄 |
Its finally done, thank you for patience. |
The goal is to bring
aah migrate
command to easy the upgrade or fix the aah framework breaking changes and deprecated elements in.go
files and basic template file support.Limitation:
To begin with
migrate
command does not support config files; it should be done manually, later I will add it.The text was updated successfully, but these errors were encountered: