-
Notifications
You must be signed in to change notification settings - Fork 160
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
Global section not being picked up (or imprecise docs) #521
Comments
|
Are there any tests for configuration? |
Ah, I think this is a case of poorly written documentation on my part. The global config object is for all commands, but only for options that are supported by all commands, which is currently only Lines 104 to 110 in 8804407
I can see it being sub-optimal that the Possible actionables:
|
I think I have a fix for this, but since the config resolution changes, I'll do it as a major version upgrade together with the upgrade to lab3 (I'll do a minor release before that for the other PRs recently merged). |
(You can test it in this branch until then if you want) |
If I set my
nbdime_config.json
to:I expect the
details
andIgnore
to be applied to every nbdime tool, given thatHowever, it is not applied to anything:
nbdime --config
output fragment:full output in details
Using
Diff
instead works:nbdime --config
output fragment:full output in details
NbDiff:
Ignore:
/cells/*/execution_count: false
attachments: <unset, resolves to true>
color_words: false
details: false
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
NbDiffWeb:
Ignore:
/cells/*/execution_count: false
attachments: <unset, resolves to true>
base_url: "/"
browser: null
color_words: false
details: false
ip: "127.0.0.1"
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
persist: false
port: 0
sources: <unset, resolves to true>
workdirectory: "/home/krassowski/xx"
NbMerge:
Ignore: {}
attachments: <unset, resolves to true>
color_words: false
details: <unset, resolves to true>
ignore_transients: true
input_strategy: null
merge_strategy: "inline"
metadata: <unset, resolves to true>
output_strategy: null
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
NbMergeWeb:
Ignore: {}
attachments: <unset, resolves to true>
base_url: "/"
browser: null
color_words: false
details: <unset, resolves to true>
ignore_transients: true
input_strategy: null
ip: "127.0.0.1"
merge_strategy: "inline"
metadata: <unset, resolves to true>
output_strategy: null
outputs: <unset, resolves to true>
persist: false
port: 0
sources: <unset, resolves to true>
workdirectory: "/home/krassowski/xx"
NbShow:
Ignore: {}
attachments: <unset, resolves to true>
details: <unset, resolves to true>
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
Server:
base_url: "/"
browser: null
ip: "127.0.0.1"
persist: false
port: 8888
workdirectory: "/home/krassowski/xx"
Extension:
Ignore:
/cells/*/execution_count: false
attachments: <unset, resolves to true>
color_words: false
details: false
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
NbDiffDriver:
Ignore:
/cells/*/execution_count: false
attachments: <unset, resolves to true>
color_words: false
details: false
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
NbDiffTool:
Ignore:
/cells/*/execution_count: false
attachments: <unset, resolves to true>
base_url: "/"
browser: null
color_words: false
details: false
ip: "127.0.0.1"
metadata: <unset, resolves to true>
outputs: <unset, resolves to true>
persist: false
port: 0
sources: <unset, resolves to true>
workdirectory: "/home/krassowski/xx"
NbMergeDriver:
Ignore: {}
attachments: <unset, resolves to true>
color_words: false
details: <unset, resolves to true>
ignore_transients: true
input_strategy: null
merge_strategy: "inline"
metadata: <unset, resolves to true>
output_strategy: null
outputs: <unset, resolves to true>
sources: <unset, resolves to true>
NbMergeTool:
Ignore: {}
attachments: <unset, resolves to true>
base_url: "/"
browser: null
color_words: false
details: <unset, resolves to true>
ignore_transients: true
input_strategy: null
ip: "127.0.0.1"
merge_strategy: "inline"
metadata: <unset, resolves to true>
output_strategy: null
outputs: <unset, resolves to true>
persist: false
port: 0
sources: <unset, resolves to true>
workdirectory: "/home/krassowski/xx"
The text was updated successfully, but these errors were encountered: