generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
New config manager #760
Draft
mih
wants to merge
7
commits into
datalad:main
Choose a base branch
from
mih:configman
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.
Draft
New config manager #760
Conversation
This file contains 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
mih
force-pushed
the
configman
branch
3 times, most recently
from
September 25, 2024 08:51
2d48c2d
to
2f0d377
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #760 +/- ##
===========================================
- Coverage 79.72% 23.07% -56.66%
===========================================
Files 185 195 +10
Lines 12410 13333 +923
Branches 2162 2447 +285
===========================================
- Hits 9894 3076 -6818
- Misses 2263 10175 +7912
+ Partials 253 82 -171 ☔ View full report in Codecov by Sentry. |
Previously, the setup was confusing. Every symbol imported to module level was documented directly. If a ToC was added, sphinx would fail due to documentation generated twice for the same symbol. The new setup **requires** a dedicated autosummary selection of documented content. I think this is better. Often modules provide a lot of stuff, and direct documentation rendering on a single page is overwhelming. The explicit selection also allows for items to be excluded that are only there for technical or historical reasons. This allows for an overall more accessible documentation.
mih
force-pushed
the
configman
branch
3 times, most recently
from
September 26, 2024 07:35
2ebc8bc
to
f861e76
Compare
mih
force-pushed
the
configman
branch
3 times, most recently
from
September 29, 2024 12:08
1219605
to
3751fbb
Compare
mih
force-pushed
the
configman
branch
3 times, most recently
from
October 1, 2024 06:28
a911859
to
c4c8e9f
Compare
We have no other choice, but to modify them. Even for the legacy adaptor, we do not want to maintain senseless complexities. The changes in the tests will document the exact differences.
This will eventually fix datalad#397
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
TODO:
Remaining issues for replacing the legacy
ConfigManager
with the actual newLegacyConfigManager
FAILED datalad_next/patches/tests/test_cli_configoverrides.py::test_cli_configoverrides - AttributeError: 'mappingproxy' object has no attribute 'update'
FAILED datalad_next/annexremotes/tests/test_archivist.py::test_archivist_retrieval - datalad.runner.exception.CommandError: CommandError: 'git -c diff.ignoreSubmo...