Open verdverm opened 6 years ago
@verdverm I'm not sure why the ticket named like this and why this approach is needed. If everything from this repository will be moved out to the other repository, what will be left in this repository, nothing? What is the purpose of such move, why not left everything in this repository then?
I agree with the idea to have architecture for plugins/modules and move all the app specifics to plugins/modules (with every module having own repo), but just pulling out app specifics from one repo to another repo, without leaving meaningful glue here for installing these modules back, doesn't seem right to me
As I look at what remains, I do see that there is not much left, but I still think there is too much coupling. A few things I've been thinking about in this context.
How can I build and share an application based on AUSK, host it on GitHub, while still being able to pull updates in from AUSK?
@verdverm
How can I build and share an application based on AUSK, host it on GitHub, while still being able to pull updates in from AUSK?
Right now you fork this repository and develop your app on GitHub, then merge with upstream to merge changes from here and stay up to date.
Proposal
Remove all application specifics from this repository and put them in their own.
The "Nothing" option: #654 ( my preference ) The "Submodule" option: #653
Benefits
cli
command)So there becomes three levels of modularity:
How to Use
cli
could have a command added for this purposeThe setup instructions would be:
How to Upgrade
settings.js
,config/
,packages/*
to the root of the new reposettings.js
is usedgrep -Rn "settings" | grep import
to find all the locationsPoint 5. has two options which depend on the user experience around maintaining updates to this repository around your application code. I will update this when I've created POC PRs for each.
For base packages provided by the community, update paths (and many other things) will likely be specific.