Skip to content

Robustify update target detection for adjusted mode datasets - #7522

Merged
yarikoptic merged 1 commit into
datalad:maintfrom
mih:bf-7507
Oct 30, 2023
Merged

yarikoptic merged 1 commit into
datalad:maintfrom
mih:bf-7507

Conversation

@mih

@mih mih commented Oct 25, 2023 •

Copy link
Copy Markdown
Member

The true cause of the problem is not well understood. #7507 documents that I was not able to capture the breakage in a test, despite approaching it from different angles.

Only the original reproducer documents that this patch fixes the problem. However, the involved datasets are too heavy to be used in an already overloaded test battery. Hence this fix is proposed without a corresponding test.

Closes #7507

The true cause of the problem is not well understood.
datalad#7507 documents that I was not
able to capture the breakage in a test, despite approaching it from
different angles.

Only the original reproducer documents that this patch fixes the
problem. However, the involved datasets are too have to be used in an
already overloaded test battery. Hence this fix is proposed without a
corresponding test.

Closes datalad#7507
@mih mih added semver-patch Increment the patch version when merged adjusted-branches Issues caused by or affected adjusted branch operation labels Oct 25, 2023
@codecov

codecov Bot commented Oct 25, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cdc0ceb) 91.55% compared to head (1d52d32) 91.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##            maint    #7522      +/-   ##
==========================================
+ Coverage   91.55%   91.57%   +0.02%     
==========================================
  Files         325      325              
  Lines       43445    43445              
  Branches     5827     5827              
==========================================
+ Hits        39775    39786      +11     
+ Misses       3655     3644      -11     
  Partials       15       15              
Files Coverage Δ
datalad/distribution/update.py 98.16% <ø> (ø)

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic

Copy link
Copy Markdown
Member

Well, I am not familiar with the syntax used here and no explanation for the actual change was provided but it doesn't break anything, so that's reassuring thus let's proceed

@yarikoptic
yarikoptic merged commit 11501cf into datalad:maint Oct 30, 2023
adswa added a commit to datalad/datalad-next that referenced this pull request Jul 23, 2025
The patch to datalad updates '_choose_update_target'
has been proposed as a PR in datalad/datalad#7522
and was merged Oct. 30th 2023.
As the code is part of datalad already, I see no reason
that this patch needs to be applied or stay in the code base
adswa added a commit to datalad/datalad-next that referenced this pull request Jul 23, 2025
The patch to datalad updates '_choose_update_target'
has been proposed as a PR in datalad/datalad#7522
and was merged Oct. 30th 2023.
As the code is part of datalad already, I see no reason
that this patch needs to be applied or stay in the code base
adswa added a commit to datalad/datalad-next that referenced this pull request Jul 23, 2025
The patch to datalad updates '_choose_update_target'
has been proposed as a PR in datalad/datalad#7522
and was merged Oct. 30th 2023.
As the code is part of datalad already, I see no reason
that this patch needs to be applied or stay in the code base
yarikoptic pushed a commit to datalad/datalad-next that referenced this pull request Dec 7, 2025
The patch to datalad updates '_choose_update_target'
has been proposed as a PR in datalad/datalad#7522
and was merged Oct. 30th 2023.
As the code is part of datalad already, I see no reason
that this patch needs to be applied or stay in the code base
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adjusted-branches Issues caused by or affected adjusted branch operation semver-patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update --how(-subds) (!=fetch) cannot handle adjusted branches

2 participants