Skip to content
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

Static proxy with metadata cache #229

Merged
merged 5 commits into from
Jul 21, 2020
Merged

Static proxy with metadata cache #229

merged 5 commits into from
Jul 21, 2020

Conversation

akondas
Copy link
Member

@akondas akondas commented Jul 20, 2020

This will allow you to significantly save transfer, increase speed and replace the proxy file system with any other (using ready-made adapters: https://flysystem.thephpleague.com/v1/docs/)

Closes #221
Closes #207

@akondas akondas requested a review from karniv00l July 20, 2020 12:42
@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

Merging #229 into master will decrease coverage by 0.07%.
The diff coverage is 95.04%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #229      +/-   ##
============================================
- Coverage     99.73%   99.65%   -0.08%     
+ Complexity     1440     1422      -18     
============================================
  Files           234      235       +1     
  Lines          4092     4086       -6     
============================================
- Hits           4081     4072       -9     
- Misses           11       14       +3     
Impacted Files Coverage Δ Complexity Δ
src/Controller/OrganizationController.php 100.00% <ø> (+1.94%) 39.00 <0.00> (-1.00) ⬆️
src/Service/Dist/Storage/FileStorage.php 100.00% <ø> (+6.38%) 9.00 <0.00> (-6.00) ⬆️
src/Service/Downloader/ReactDownloader.php 83.33% <83.33%> (ø) 15.00 <15.00> (?)
src/Service/Proxy.php 96.20% <95.94%> (-3.80%) 34.00 <31.00> (+4.00) ⬇️
src/Command/ProxySyncMetadataCommand.php 100.00% <100.00%> (ø) 4.00 <4.00> (?)
src/Command/ProxySyncReleasesCommand.php 100.00% <100.00%> (ø) 13.00 <0.00> (ø)
src/Controller/Admin/ProxyController.php 100.00% <100.00%> (ø) 4.00 <0.00> (ø)
src/Controller/ProxyController.php 100.00% <100.00%> (ø) 9.00 <3.00> (ø)
src/Message/Proxy/RemoveDist.php 100.00% <100.00%> (ø) 3.00 <2.00> (+1.00)
src/MessageHandler/Proxy/RemoveDistHandler.php 100.00% <100.00%> (ø) 2.00 <1.00> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 386942d...a9db5af. Read the comment docs.

@akondas akondas added this to the 0.5.0 milestone Jul 20, 2020
@akondas
Copy link
Member Author

akondas commented Jul 20, 2020

🍻 🎉

@akondas
Copy link
Member Author

akondas commented Jul 21, 2020

Rebased with master

@karniv00l karniv00l merged commit 6c3124f into master Jul 21, 2020
@akondas akondas deleted the static-proxy branch August 5, 2020 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static proxy with metadata cache HTTP Caching - metadata endpoint
2 participants