-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Factor our core, account and admin as independent sprinkles #830
Comments
This actually reminds me, we could even consider having a "distribution" repository, with Composer and Bower/Yarn dependencies pre-installed as well 😲 |
@alexweissman Don't follow what you mean by a "distribution" repo. Do you mean like a quick start project? Wherein the user gets a working site to start off with, get a feel for everything, etc? |
@Silic0nS0ldier I was just thinking, more of a pre-compiled version of UF with everything already installed. The idea would be that they can play with it locally before they've even installed Composer, npm, etc. |
So basically what I said a month ago. |
In regards to recent discussion on the chat, the current plan would be to move forward with this project sonner than expected. It would make it easier to maintain stuff in the long term and allow for other improvements, like the Vue.js integration. Current plan is to not only move sprinkles into separate repos managed by composer, but also refactor whats inside each sprinkle. The ultimate gold is to be able to easily deploy an instance of UF with only the
A default install should also include a One thing that remains to determine is how should we handle the Finally, I believe |
It is a bit of a misnomer the As for Think there are a few other issues that each weigh in on this in some shape or form. #863 #836 #831 |
For reference, in Laravel, your own code sits in the base repo. You basically commits the whole "base" code (aka laravel/laravel) to your own repo. The core Laravel code is in laravel/framework, managed by composer, but any update to the base laravel code is done manually. I don't think this is something we want to do, but it could be something someone might want to do if his deploy procedure requires it. Having |
Those constants are not used by the base system. They should really be in the core sprinkle. Less we have in system, and more in core, better it is for #830
Following the This is what Laravel does with the Having one (dev) repo to rule them all would make testing each individual component harder, but release much more easier. It would also make dependencies across repo easier during development. Currently, I can't properly test a new feature in URI |
Composer conflict would be due to a misconfiguration. That said, the experience in developing features/fixes/whatever that involve a library does need improvement. Especially if it involves an indirect dependency that needs to be developed. I've got my own opinions regarding the way the project should be organised (which improved unit testing would make viable), but outside of that I believe that 90% of the work in the release process can be automated regardless of how things are organised. |
Of our composer dependencies? They all required UF/URI |
The minimum stability you referenced there was for dev (allowing it). That said, the merge plugin is worth considering for whatever solution I try to come up with. |
In case I forget, my current idea for handling developmental dependencies is by using another |
Since 4.1, sprinkles can be loaded dynamically using Composer. I think it would be best if the
core
,account
andadmin
sprinkles would be factored out of the main repo and into their own repo. They would instead be installed when runningcomposer install
.(Tagging this with the 5.0 since it would be major change)
Pros
Con
The text was updated successfully, but these errors were encountered: