-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ENH: linkcheck: also write all links to output.json #7103
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
Conversation
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.
I can accept your idea. But it seems conflicted with latest code. Could you rebase this into HEAD?
5c818cb
to
7a954ac
Compare
Seems to build fine here with |
The output order is nondeterministic presumably due to variance in network latency. |
8cf080f
to
8e29044
Compare
... The python: nightly job is returning this, which is probably not an error with this PR? $ if [ $IS_PYTHON = true ]; then pip install -U tox codecov; fi
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.9-dev/bin/pip", line 6, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip' |
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.
LGTM with nits.
In addition, please merge master branch to this branch to fix the CI error. |
e14970b
to
88e312c
Compare
I'm tempted to start an http.server as a |
* TST: linkcheck: make tests more flexible * CLN: linkcheck: flake8, mypy * REF: linkcheck: docpath->filename, write_jsonline->write_linkstat * REF: linkcheck: remove redundant call to doc2path * TST: linkcheck: show JSON obj structure in test * REF: linkcheck: remove docname from JSON obj because it's redundant (use path2doc(filename) if necessary) * TST: linkcheck: don't test row[info] output (see comments for examples)
88e312c
to
fd94270
Compare
This is otherwise rebased onto latest master with: git checkout master
git pull upstream master
git checkout linkcheck_json_output
git rebase -i master And squashed |
Merged. Thank you for your work! |
Thanks!
…On Sun, Mar 1, 2020, 3:43 AM Takeshi KOMIYA ***@***.***> wrote:
Merged. Thank you for your work!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7103?email_source=notifications&email_token=AAAMNS7TQHJ3FI4KPCRHBH3RFIN2BA5CNFSM4KRKCKN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMY2HI#issuecomment-593071389>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMNSZUJSLQ4R32TVLHPHTRFIN2BANCNFSM4KRKCKNQ>
.
|
Subject: Write linkcheck output to JSON lines in
_build/linkcheck/output.json
This is off 1.8.5. If it would be considered, I'd be glad to rebase it onto master.
(edit)
This is now off master.
Feature or Bugfix
Purpose
_build/linkcheck/output.json
(in order to eventually create a tool to prompt to fix links)
Detail
Relates