Conversation
Codecov Report
@@ Coverage Diff @@
## master #6332 +/- ##
==========================================
- Coverage 89.98% 89.92% -0.07%
==========================================
Files 344 345 +1
Lines 43274 43312 +38
==========================================
+ Hits 38942 38948 +6
- Misses 4332 4364 +32
Continue to review full report at Codecov.
|
|
Reliable failure on windows: Which I fail to replicate on a real windows box with git version 2.34.1.windows.1 and git-annex version: 8.20211117-gc3af94eff. |
|
If I cannot come back to this within a week, feel free to close. |
When pointed to a bare repo, normal behavior for non-committed config is maintained. In addition, and replacing the readout of `.datalad/config` from the worktree, `blob:HEAD:.datalad/config` is read (e.g., the config committed in the default branch), which is the closest analog of the worktree-config. Change detection for `reload()` is also implemented, directly using the gitsha of this file. Few minor issues are also contained in the changeset: - missing parenthesis for function call, fixes datalad#6327 - wrong name for source config store, fixes datalad#6331 Alltogether, this fixes datalad#6264
|
Windows test failure persists: Failure on travis seems unrelated: |
Yeah, and I cannot make it show locally on windows. Will debug on appveyor.... ...and it has nothing to do with windows: The implementation does not consider adjusted mode! And apparently our "crippledfs" workflow does not even run the tests for the config manager.... Thank you windows! |
|
Code Climate has analyzed commit d2288d9 and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
|
Travis failure is unrelated #6412 |
Changelog
🐛 Bug Fixes
ConfigManagerthat could have caused a crash in rare cases when a config file is removed during the process runtime. Fixes ConfigManager implements source file stat'ing wrong #6327ConfigManager.get_from_source()now accesses the correct information when using the documentedsource='local', avoiding a crash. FixesConfigManager.get_from_source('local', ...)broken #6331💫 Enhancements and new features
ConfigManagernow supports reading committed dataset configuration in bare repositories. Analog to reading.datalad/configfrom a worktree,blob:HEAD:.datalad/configis read (e.g., the config committed in the default branch). The support includesreload()change detection using the gitsha of this file. The behavior for non-bare repositories is unchanged. FixesConfigManagercannot handle bare repo's (dataset/branch config) #6264