-
Notifications
You must be signed in to change notification settings - Fork 8
[POC] Copy used Puli classes in this component to avoid unstable deps #39
Conversation
Yes, this is what I was thinking. There is not much to copy. |
eecd1d5
to
6e32395
Compare
This will prevent the FilesystemRepository being used with this component? |
@dantleech yes. If we copy the Copying Puli is done for one reason: Allowing us to release a very minimal 1.0.0, so we can release tree browser bundle and CMF packages stable. So I decided we only need the minimal Puli required to get the tree browser bundle working. |
i wonder if this is better than depending on puli but if we think that is too wobbly, then lets do this and release. we can always release a new version later - its clear enough in the code that this is a temporary solution until puli is released. |
@dbu yeah, maybe locking Puli at 1.0.0-beta10 is a better solution indeed. |
Would that mean that it would be uninstallable for packages with |
as long as what we depend on does not in turn depend on other non-stable packages, having the dependency with |
I do remember having to explicitly declare |
e.g. {
"name": "dantleech/foo",
"authors": [
{
"name": "dantleech",
"email": "[email protected]"
}
],
"require": {
"symfony-cmf/resource": "dev-master"
}
}
|
but but i don't mind either way, maybe its better to simply wrap this up and merge the the needed classes |
@@ -9,12 +9,13 @@ | |||
"homepage": "https://github.com/symfony-cmf/symfony-cmf/contributors" | |||
} | |||
], | |||
"minimum-stability": "dev", | |||
"minimum-stability": "RC", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"jackalope/jackalope-fs": "dev-master",
no longer resolves with this stability requirement. can we switch to jackalope-doctrine-dbal (maybe with sqlite if that helps?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, will check that all tomorrow.
It doesn't matter which jackalope we install, as long as we install a jackalope/jackalope-transport package.
We can't release any stable version of these package and its friends because Puli is not yet stable. As we want to get CMF 2.0 out very soon, I propose to move Puli-light to this component.
I've marked the component as internal, people should not yet use it. Once Puli is stable, the puli copied classes will be removed and we'll depend on Puli and its classes once again. This can be done in a 1.x version and wouldn't change any output from the ResourceRestBundle.
@symfony-cmf/core what do we think about this?
@webmozart As you're the owner of Puli, I would like to have your opinion on this one as well. I've copied puli's LICENSE file and file headers in this project. Should I do something more?