Cache combined puli.json files of all installed packages#47
Cache combined puli.json files of all installed packages#47msojda wants to merge 1 commit intopuli:masterfrom
Conversation
src/Api/Cache/CacheFile.php
Outdated
There was a problem hiding this comment.
I think you can add a small description about the class (and a author tag for you if you want :) ). In other classes as well.
|
This is a good start already! :) Let's extract an interface |
|
Hi @msojda :) I refactored the JSON conversion a bit which should make it easier for you to implement this. Basically, you can implement |
src/Cache/CacheFileConverter.php
Outdated
There was a problem hiding this comment.
targetVersion is not supported here, since this is not a MigratingConverter. You can simply store it in the latest version.
|
This looks good already :) With some more work we should be able to finish this. |
fba432f to
0ec12b1
Compare
|
Ping @tgalopin @webmozart :) PS. If this is good and we can progress with it I remember there was other issue we were talking about and it was related to this one. |
|
Hey @msojda! What's the current status and what is needed to finish this? This PR looks good and I'd like to merge it soon. |
b94e615 to
d3dab6e
Compare
|
Hi @webmozart. Just updated it with the latest repository changes. Ready to go for me! 😄 |
| /** | ||
| * Returns the configuration file manager. | ||
| * | ||
| * @return ConfigFileManager The configuration file manager. |
There was a problem hiding this comment.
Apparently you changed all the doc blocks to remove the dots. On purpose?
While we can do this, I wouldn't do it in this PR.
There was a problem hiding this comment.
Yeah, I just did that cause StyleCI was failing 😞
|
That was fast! :) Thanks for the quick update. Apart from my remarks, the cached modules should actually be used in the |
|
I'll update the PR tonight. Shall I update the PS. Will you be available on Gitter? We could prioritise next tasks then 😄 |
Fixes puli/issues#148.