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
Allow checksum file to be local file:// url #71205
Conversation
This would be a partial solution for #69364 in that the SHASUMS file can be downloaded and gpg verified but then used from the downloaded location to verify the get_url's file.
Not quite sure why shippable is failing, it looks like a transient error in CI, but if there's a specific error I need to look at, please let me know. Testing succeeds on my local system. |
/rebuild_failed |
Hi, thanks for the PR
I've launched again the CI. To complete the PR, that would be great to add a test with a file:// so we can make sure the code works and won't break, and also add a changelog fragment. Best |
Please create a changelog fragment and integration tests. See this fragment as an example. |
Use urlsplit to test if the checksum string has a (currently tested and) supported url scheme.
The test
The test
|
Please create a backport PR against |
This would be a partial solution for ansible#69364 in that the SHASUMS file can be downloaded and gpg verified but then used from the downloaded location to verify the get_url's file. * Make checksum url parsing more explicit Use urlsplit to test if the checksum string has a (currently tested and) supported url scheme. * Fix whitespace * Changelog fragment * Added tests * Fix typo in test setup
As of 18 June, 2021 - Stable-2.9 is for critical fixes. |
SUMMARY
A partial fix for #69364 in that the SHASUMS file can be downloaded and GPG verified but then used from the downloaded location to verify the get_url's file.
or
When using get_url to download a file that has a GPG signed SHASUMS file, this would allow for less filter hackary.
ISSUE TYPE
COMPONENT NAME
get_url