-
Notifications
You must be signed in to change notification settings - Fork 108
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
Repo JSON Performance Improvements #310
Conversation
> Any requested package which does not exist MUST return a 404 status code, which will indicate to Composer that this package does not exist in your repository. Make sure the 404 response is fast to avoid blocking Composer. Avoid redirects to alternative 404 pages.
It needs to return the last modified date from the providers to use in the HTTP Response. Also fix minor performance improvement with array_merge
This contains the full list of packages available on the repo. This stops Composer attempting to access the metadata-url for 'public' packages.
The mock wasn't updated to reflect the change in function. However, the tests weren't actually checking the scan was working.
Codecov Report
@@ Coverage Diff @@
## master #310 +/- ##
=========================================
Coverage 99.50% 99.50%
Complexity 1838 1838
=========================================
Files 295 295
Lines 5802 5802
=========================================
Hits 5773 5773
Misses 29 29 Continue to review full report at Codecov.
|
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.
LGTM 👍
Thanks again @giggsey for your work 🎖️ 🍻. |
I would also like to congratulate you on your commit descriptions. They are first-rate 💪 |
Closes #308