Skip to content
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

Fix run substitution patch #488

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Fix run substitution patch #488

merged 1 commit into from
Oct 18, 2023

Conversation

mih
Copy link
Member

@mih mih commented Oct 18, 2023

Reported by @yarikoptic in
https://github.com/datalad/datalad/pull/7509/files#r1358426552

This changeset adds protection against processing non-substitution configuration items.

It also reduces duplication a bit more.

In contrast to the change proposal in
datalad/datalad#7509 the (intermediate) set size is minimized by using a early filter.

Reported by @yarikoptic in
https://github.com/datalad/datalad/pull/7509/files#r1358426552

This changeset adds protection against processing non-substitution
configuration items.

It also reduces duplication a bit more.

In contrast to the change proposal in
datalad/datalad#7509 the (intermediate) set size
is minimized by using a early filter.
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e65ca9f) 92.36% compared to head (bda2fd0) 92.37%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #488   +/-   ##
=======================================
  Coverage   92.36%   92.37%           
=======================================
  Files         125      125           
  Lines        9526     9530    +4     
  Branches     1025     1025           
=======================================
+ Hits         8799     8803    +4     
  Misses        705      705           
  Partials       22       22           
Files Coverage Δ
datalad_next/patches/run.py 100.00% <100.00%> (ø)

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

@mih mih merged commit f0b0fc7 into datalad:main Oct 18, 2023
5 checks passed
@mih mih deleted the update-runpatch branch October 18, 2023 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant