Skip to content

plots: Use URI for --open. #6845

Merged
pared merged 1 commit into
masterfrom
plots-show-open-url
Oct 29, 2021
Merged

plots: Use URI for --open. #6845
pared merged 1 commit into
masterfrom
plots-show-open-url

Conversation

@daavoo
Copy link
Copy Markdown
Contributor

@daavoo daavoo commented Oct 20, 2021

Closes #6092

@daavoo daavoo requested review from pared and skshetry October 20, 2021 21:32
@daavoo daavoo requested a review from a team as a code owner October 20, 2021 21:32
@daavoo daavoo changed the title Use URL for plots show open Use URI for plots show open Oct 20, 2021
@daavoo
Copy link
Copy Markdown
Contributor Author

daavoo commented Oct 20, 2021

@skshetry I can't really test WSL but it looks like the patch for WSL introduced in #5670 was actually reverted in #6431 ?

@pared
Copy link
Copy Markdown
Contributor

pared commented Oct 21, 2021

@skshetry I can't really test WSL but it looks like the patch for WSL introduced in #5670 was actually reverted in #6431

my bad, sorry

Comment thread dvc/command/plots.py
@daavoo daavoo requested a review from pared October 21, 2021 10:49
Comment thread dvc/command/plots.py
@daavoo daavoo self-assigned this Oct 25, 2021
@daavoo daavoo added the bugfix fixes bug label Oct 25, 2021
We were previously using relpath in *all* cases, mainly to support WSL but relpath doesn't work
on macOS.

Added a check for using relpath *only* for WSL.

Fixes #6092
@daavoo daavoo force-pushed the plots-show-open-url branch from f41ba76 to ed59d7e Compare October 27, 2021 18:08
@daavoo daavoo changed the title Use URI for plots show open plots: Use URI for --open. Oct 27, 2021
@daavoo daavoo changed the title plots: Use URI for --open. plots: Use URI for --open. Oct 27, 2021
@daavoo daavoo added the A: plots Related to the plots label Oct 27, 2021
@pared pared merged commit 4dd5441 into master Oct 29, 2021
@pared pared deleted the plots-show-open-url branch October 29, 2021 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: plots Related to the plots bugfix fixes bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plots --open: not working on macOS

2 participants