You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The links https://devdocs.magento.com/download/ will be tested as internal by link checker since https://devdocs.magento.com is set as an internal domain in the link checker config.
To avoid link checking issues on those links, the :file_ignore: list at _config.checks.yml needs another item:
Technically, you're correct. However, since we control where they are stored on our subdomain, we are accountable for ensuring that the links work. Ignoring them effectively means we will never validate links because the external link testing pipeline won't validate them either.
we are accountable for ensuring that the links work
I agree. I'm not saying that we shouldn't do this, I'm saying that it is impossible to test those links on each build, because they will not be internal anymore.
because the external link testing pipeline won't validate them either.
Oh, I see what you're saying. I assumed that as long as the files exist at the location, then the link will resolve. I haven't tested that yet though.
The external link checker does not only validates links outside the devdocs.magento.com subdomain. Why would it validate the links to the binaries at https://devdocs.magento.com/download?
Sorry, what I meant to write was that it only tests links outside the devdocs.magento.com subdomain.
So the external link check runs on any https://devdocs.magento.com link as long as it uses an absolute path? That doesn't make a lot of sense. "External" should mean all other domains besides devdocs.magento.com.
So the external link check runs on any https://devdocs.magento.com link as long as it uses an absolute path?
Yes.
"External" should mean all other domains besides devdocs.magento.com.
This can be set in a separate link checking config. But with such setup we won't be able to test links to files that exist in S3 bucket only and are not part of the build, such as downloads in this case.
By the way, the link checker can help to identify the downloadables that have actual references from topics.
It finds 34 failures in this branch now. (The cause of failures is discussed in the above conversation.)
Hi @jeff-matthews, thank you for your contribution! Please, complete Contribution Survey, it will take less than a minute. Your feedback will help us to improve contribution process.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Internal DevDifferentiates work between community and Magento staffMaintenanceTrackingCreated an internal Jira ticket to track work
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of this pull request
This pull request (PR) moves large downloadable binary files to a new location on S3 (production) so that we don't need to store them in our git repo.
These files take up about 220 MB of storage and don't belong in our repo. Files include:
Affected devdocs pages
Most of the impact is in the Pattern Library guide on devdocs.
Additional info
We will leave the cloud launch checklist PDF in the repo while Magento Support works on moving it to a new location.