-
Notifications
You must be signed in to change notification settings - Fork 219
Use direct link to subdomain for the test assets #6804
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
base: master
Are you sure you want to change the base?
Conversation
938ee0a to
fdc58bb
Compare
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.
Looks good so far :-)
fdc58bb to
3351dd2
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6804 +/- ##
=======================================
Coverage 99.25% 99.26%
=======================================
Files 402 402
Lines 41363 41385 +22
=======================================
+ Hits 41056 41079 +23
+ Misses 307 306 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
https://progress.opensuse.org/issues/189888 says "to simplify our implementation" but you add a net 21 lines and miss coverage. How does that match?
I think the simplification would be to remove the redirect, which is not part of the ticket for some reason |
Then it still has to be part of the PR then :) |
Replace the `url_for` with helper functions which return the domain name whenever this is applicable based on the setting. - Link to domain for download assets like iso and `Uploaded logs` (includes also vars.json) - Link to domain for the video replay - No change in the redirection, assuming that this is out of scope here, and that in general it stays despite the direct link in the href. issue: https://progress.opensuse.org/issues/189888 Signed-off-by: Ioannis Bonatakis <[email protected]>
3351dd2 to
86a6c47
Compare
|
And probably we even still need the redirect to support old links which might still be present/used on places we don't control. So I don't think this can simplify this aspect for now but the PR as-is does improve efficiency. |
If it is decided to undo the redirect feature, I would rather do it in another PR |
why do we need to redirect these links? |
If we make sure it is downloaded then we can remove the redirection. |
Replace the `url_for with helper functions which return the domain name whenever this is applicable based on the setting.
Uploaded logs(includes also vars.json)issue: https://progress.opensuse.org/issues/189888