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

input: allow to remove builtin white list entries #535

Merged
merged 12 commits into from
Jan 2, 2024

Conversation

jkloetzke
Copy link
Member

The new "whitelistRemove" key in default.yaml remove entries from the whitelist. It has a higher precedence than adding whitelist entries. It is not an error to remove non-existent whitelist entries.

Fixes #534.

@codecov
Copy link

codecov bot commented Oct 22, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ba73a63) 88.26% compared to head (e6df0bb) 88.34%.

Files Patch % Lines
pym/bob/input.py 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #535      +/-   ##
==========================================
+ Coverage   88.26%   88.34%   +0.07%     
==========================================
  Files          46       46              
  Lines       14669    14696      +27     
==========================================
+ Hits        12948    12983      +35     
+ Misses       1721     1713       -8     

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

The PATH environment variable is always whitelisted by default.
The priority determines the order in which the different setting keys
are evaluated. This allows different keys to influence the same
underlying property. The higher the priority number, the later the key
is evaluated which corresponds to a higher precedence.
The new "whitelistRemove" key in default.yaml remove entries from the
whitelist. It has a higher precedence than adding whitelist entries. It
is not an error to remove non-existent whitelist entries.

Fixes BobBuildTool#534.
The "archive" keyword replaces the currently configured archives. The
new "archivePrepend" and "archiveAppend" keys update the archive list by
either prepending to the current list or appending to it. The previously
defined archives are retained.
The "preMirror" and "fallbackMirror" keywords replace the currently
configured mirrors. The new "preMirrorAppend", "preMirrorPrepend",
"fallbackMirrorAppend" and "fallbackMirrorPrepend" keys instead update
the respective mirror list by either appending to the current list or
prepending to it. The previously defined mirrors are retained.
@jkloetzke jkloetzke merged commit 42a3998 into BobBuildTool:master Jan 2, 2024
11 checks passed
@jkloetzke jkloetzke deleted the remove-whitelist branch January 2, 2024 16:57
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.

native windows: control of PATH white-list
1 participant