-
Notifications
You must be signed in to change notification settings - Fork 354
inspect - provide information about output files from input files #12809
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
Open
cscheid
wants to merge
44
commits into
main
Choose a base branch
from
enhance/12805
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
3c1b767
inspect - provide information about output files from input files
cscheid 4f436fb
Merge branch 'main' into enhance/12805
cderv d768449
Merge branch 'main' into enhance/12805
cderv 4eeb863
update to latest uv
cderv 9249496
Update to python 3.13.3
cderv 094992f
3.13.2 is the latest one available on Linux
cderv 219c4ce
update uv.lock
cderv 8f4a8d4
update to latest
cderv cf0001e
tests - add a test for fig-format with matplotlib
cderv 21895a9
fix set_matplotlib_formats being removed from Ipython
cderv 437c2a4
Add to changelog
cderv 2288789
lua,typst - do not crash if float.content is nil
cscheid 89836e4
timing for new tests [auto PR]
cderv 6b09cd9
test - Add a test for plotly subfigures
cderv dcb001e
Adapt isPlotlyLibrary regex for new plotly.py 6+ inclusion
cderv 052ccf3
Add to changelog
cderv ad97953
also handle non-connected notebook mode we use in dashboard
cderv ea7fd87
unified light and dark brand
gordonwoodhull 6601cc8
artifacts
gordonwoodhull 43c141b
Update version.txt
github-actions[bot] aeac7d0
check, knitr - Add .exe to binary on Windows for correct check of exi…
cderv e886a6f
Update version.txt
github-actions[bot] e49a48f
Don't use `copyFileSync` in case source is read-only as future writes…
jkrumbiegel ff248bc
timing for new tests [auto PR]
cderv 9774d89
Schema update - lualatex is the new default engine
cderv 79547e8
Add missing space with shortcode close
rundel a3eeab1
Missing {} for multi-arg fenced div
rundel 357e025
Update QuartoNotebookRunner to `0.17.3`
MichaelHatherly 076e3de
Add more verbose about python binary check and Jupyter capabilities
cderv 96de09b
Update version.txt
github-actions[bot] b529f40
fix: upgrade @fluentui/react-icons from 2.0.298 to 2.0.300
snyk-bot c1630db
ensure replaceAll() is called with function parameter when string is …
cscheid 09c39d3
add regression test and changelog entry
cscheid d9a83df
avoid issue with \_ on pandoc attributes
cscheid af40ed7
revert bad fix
cscheid fa84a13
work around #9224
cscheid 4a37286
`--log-level critical` is supposed to be supported
cderv e857346
Add `--log-level=warn` as an alias to `--log-level=warning`
cderv 3db8b5d
Add `--log-level=debug` to the command line help
cderv d56320f
Add some testing for --log-level, --log and --log-format options
cderv b7cd0b8
hugo-md - add rendering for non-float layouts (#12676)
cscheid be710f9
Merge branch 'main' into enhance/12805
cscheid a6b53c0
fix tests
cscheid 294f1fe
fix tests
cscheid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
This is the normalization that creates the absolute path. As it was added explicitly, I guess you are thinking we should use absolute path in inspect output ?
This will change the content and so the filtering to apply like in our test
quarto-cli/tests/smoke/inspect/inspect-recursive-include.test.ts
Lines 27 to 28 in 4f436fb
I guess other tools are doing that too...
I really wonder if this is a good idea that an
inspect
output from Windows and from Linux / Mac will differ totally. It seems like other tools that will use it will need to handle this.But this could be discussed because those tools will also run on the OS, and generating an absolute path should give the same result.
I guess using relative paths seems more generic. We could have a first field in inspect for the project path (
project.dir
today), and then only use a relative path to this project path. An absolute path could then be recreated by joining the two. IDK 🤷Anyhow, breaking change to handle if we keep this normalization
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 added that because I wanted the output of
quarto inspect
to be independent of the directory from which it is invoked, and equivalent between single-file calls and project-wide calls. If we're going to use the JSON information to make inferences about the files, it seems that it would be more useful to not have to know which directory the call came from.Consider a project like this:
Now consider this:
Notice two things:
dir1/index.qmd
ordir2/index.qmd
that first pipeline refers to.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.
There's another ugly related issue on
main
which we will need to fix: