-
Notifications
You must be signed in to change notification settings - Fork 394
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
scripts: link check compatibility and docs #1123
Comments
Cc @casperdcl |
It sounds too complicated if we run it locally on pre-commit. We should not require installing stuff with apt (or even worse on Windows) for the link checker. |
Sure, I guess I'm just suggesting we add this info to the README, at least 🙂 |
no, I think it's a bug to require this in the first place. We should not require more than |
This comment has been minimized.
This comment has been minimized.
Got it. Also note it seems to have another bug as noted in #1000 (comment):
|
can we do a quick fix for this? |
and
Compared to the hassle of finding work-arounds, I don't think it's too much of an issue to wait for small diffs to be checked by CI rather than installing & running locally.
... maybe. I think just documenting in code is enough purely for the purpose of maintenance of CI scripts. The relevant lines are: Line 35 in 7d259fb
Lines 18 to 19 in 7d259fb
using:
both of which point to: Lines 1 to 6 in 7d259fb
|
@jorgeorpinel let's remove it from docs for now. Since there is not intention to support it locally for now, let's not bother documenting a lot of stuff. @casperdcl may be we can write a comment in the script itself about its dependencies and this script is purely for CI to run? |
Also worth looking at the original PR #958. E.g.: #958 (comment) states:
|
Closing this. I think it's resolved more or less. Decided to keep it CI focused mostly. |
Compatibility: it doesn't run out-of-the-box because
pcregrep
is not usually on the OS.sed
was a problem there)sudo apt install pcregrep
sed
will likely be a problem in some Windows terminals too, but it can also be obtained from GNUWin (http://sourceforge.net/projects/gnuwin32/files/sed).By "and docs" I mean we should probably at least write the above info and how to use these commands in the README.
The text was updated successfully, but these errors were encountered: