-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.1] TUF Code Cleanup #42900
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
[5.1] TUF Code Cleanup #42900
Conversation
|
@SniperSister would be good to understand why we're forcing curl to make the http requests rather than the any of the 3 options the server might support |
Co-authored-by: Harald Leithner <[email protected]>
# Conflicts: # libraries/src/Service/Provider/Http.php
|
hopefully i've done it in a right way |
|
I have tested this item ✅ successfully on 0eda369 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42900. |
1 similar comment
|
I have tested this item ✅ successfully on 0eda369 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42900. |
|
Before this PR my test server without curl would fail to check for updates etc This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42900. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42900. |
|
@alikon Have you seen that PHPCS fails in Drone? |
|
no, cause |
@alikon You can't check the drone log to see what fails? |
|
not on my local |
@alikon I mean on GitHub with the link beside the test result. The thing is that when PHPCS fails, no integration or system or unit tests are run, so we cannot see if something's wrong with them. Anyway I've fixed it now. |
|
@richard67 i mean sometimes you got drone failing for timoeout and... something else ..,etc |
|
Thanks to all involved 🚀 |
Various minor reworkings to the TUF code as below
Summary of Changes
Testing Instructions
Check all TUF functionality from #42799 continues to work with no changes. New code is slightly easier to maintain and read.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed