mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
*: Use allow/denylist instead white/blacklist in comments
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
05565b1c60
commit
b32d0f17f0
@ -9,7 +9,7 @@ Actions run commands with this contract (version 1.1):
|
|||||||
|
|
||||||
This guarantees that we can only select from the correct set of actions.
|
This guarantees that we can only select from the correct set of actions.
|
||||||
|
|
||||||
3. (restriction) Only whitelisted actions can run.
|
3. (restriction) Only specifically allowed actions can run.
|
||||||
|
|
||||||
A. Scripts in a directory above the actions directory can't be run.
|
A. Scripts in a directory above the actions directory can't be run.
|
||||||
|
|
||||||
|
|||||||
@ -373,7 +373,7 @@ class ForceUpgrader():
|
|||||||
- Package is complete.
|
- Package is complete.
|
||||||
- File is available.
|
- File is available.
|
||||||
- Package is trusted.
|
- Package is trusted.
|
||||||
- Package is not blacklisted.
|
- Package is not in denylist.
|
||||||
- Package extension is .deb.
|
- Package extension is .deb.
|
||||||
- Get conffiles values from control data of .deb.
|
- Get conffiles values from control data of .deb.
|
||||||
- Read from /var/lib/dpkg/status, Package and Conffiles section.
|
- Read from /var/lib/dpkg/status, Package and Conffiles section.
|
||||||
@ -385,11 +385,11 @@ class ForceUpgrader():
|
|||||||
|
|
||||||
Filtering of packages to upgrade is done as follows:
|
Filtering of packages to upgrade is done as follows:
|
||||||
- Packages is upgradable.
|
- Packages is upgradable.
|
||||||
- Remove packages from blacklist
|
- Remove packages from denylist
|
||||||
- Remove packages unless in whitelist or whitelist is empty
|
- Remove packages unless in allowlist or allowlist is empty
|
||||||
- Package in allowed origins
|
- Package in allowed origins
|
||||||
- Don't consider packages that require restart (if configured).
|
- Don't consider packages that require restart (if configured).
|
||||||
- Package dependencies satisfy origins, blacklist and whitelist.
|
- Package dependencies satisfy origins, denylist and allowlist.
|
||||||
- Order packages alphabetically (order changes when upgrading in minimal
|
- Order packages alphabetically (order changes when upgrading in minimal
|
||||||
steps).
|
steps).
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user