Flags¶
Details¶
- class OSTree.ChecksumFlags(value)¶
Bases:
GLib.Flags
Flags influencing checksumming logic.
New in version 2017.13.
- NONE = 0¶
Default checksumming without tweaks.
New in version 2017.13.
- IGNORE_XATTRS = 1¶
Ignore xattrs when checksumming.
New in version 2017.13.
- CANONICAL_PERMISSIONS = 2¶
Use canonical uid/gid/mode values, for bare-user-only mode.
New in version 2021.4.
- class OSTree.DiffFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- IGNORE_XATTRS = 1¶
- class OSTree.GpgSignatureFormatFlags(value)¶
Bases:
GLib.Flags
Formatting flags for
OSTree.GpgVerifyResult.describe
(). Currently there’s only one possible output format, but this enumeration allows for future variations.- GPG_SIGNATURE_FORMAT_DEFAULT = 0¶
Use the default output format
- class OSTree.RepoCommitModifierFlags(value)¶
Bases:
GLib.Flags
Flags modifying commit behavior. In bare-user-only mode,
OSTree.RepoCommitModifierFlags.CANONICAL_PERMISSIONS
andOSTree.RepoCommitModifierFlags.SKIP_XATTRS
are automatically enabled.- NONE = 0¶
No special flags
- SKIP_XATTRS = 1¶
Do not process extended attributes
- CONSUME = 16¶
Delete added files/directories after commit;
New in version 2017.13.
- GENERATE_SIZES = 2¶
Generate size information.
- DEVINO_CANONICAL = 32¶
If a devino cache hit is found, skip modifier filters (non-directories only);
New in version 2017.14.
- CANONICAL_PERMISSIONS = 4¶
Canonicalize permissions.
- SELINUX_LABEL_V1 = 64¶
For SELinux and other systems, label /usr/etc as if it was /etc.
- ERROR_ON_UNLABELED = 8¶
Emit an error if configured SELinux policy does not provide a label
- class OSTree.RepoCommitState(value)¶
Bases:
GLib.Flags
Flags representing the state of a commit in the local repository, as returned by
OSTree.Repo.load_commit
().New in version 2015.7.
- NORMAL = 0¶
Commit is complete. This is the default.
New in version 2017.14.
- PARTIAL = 1¶
One or more objects are missing from the local copy of the commit, but metadata is present.
New in version 2015.7.
- FSCK_PARTIAL = 2¶
One or more objects are missing from the local copy of the commit, due to an fsck –delete.
New in version 2019.4.
- class OSTree.RepoCommitTraverseFlags(value)¶
Bases:
GLib.Flags
- NONE = 1¶
No special options for traverse
- COMMIT_ONLY = 2¶
Traverse and retrieve only commit objects.
New in version 2022.2.
- class OSTree.RepoListObjectsFlags(value)¶
Bases:
GLib.Flags
- LOOSE = 1¶
List only loose (plain file) objects
- PACKED = 2¶
List only packed (compacted into blobs) objects
- ALL = 4¶
List all objects
- NO_PARENTS = 8¶
Only list objects in this repo, not parents
- class OSTree.RepoListRefsExtFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
No flags.
- ALIASES = 1¶
Only list aliases.
New in version 2017.10.
- EXCLUDE_REMOTES = 2¶
Exclude remote refs.
New in version 2017.11.
- EXCLUDE_MIRRORS = 4¶
Exclude mirrored refs.
New in version 2019.2.
- class OSTree.RepoPruneFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
No special options for pruning
- NO_PRUNE = 1¶
Don’t actually delete objects
- REFS_ONLY = 2¶
Do not traverse individual commit objects, only follow refs for reachability calculations
- COMMIT_ONLY = 4¶
Only traverse commit objects.
New in version 2022.2.
- class OSTree.RepoPullFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
No special options for pull
- MIRROR = 1¶
Write out refs suitable for mirrors and fetch all refs if none requested
- TRUSTED_HTTP = 16¶
Don’t verify checksums of objects HTTP repositories
New in version 2017.12.
- COMMIT_ONLY = 2¶
Fetch only the commit metadata
- UNTRUSTED = 4¶
Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)
- BAREUSERONLY_FILES = 8¶
Reject writes of content objects with modes outside of 0775.
New in version 2017.7.
- class OSTree.RepoResolveRevExtFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
No flags.
- LOCAL_ONLY = 1¶
Exclude remote and mirrored refs.
New in version 2019.2.
- class OSTree.RepoVerifyFlags(value)¶
Bases:
GLib.Flags
New in version 2021.4.
- NONE = 0¶
No flags
- NO_GPG = 1¶
Skip GPG verification
- NO_SIGNAPI = 2¶
Skip all other signature verification methods
- class OSTree.SePolicyRestoreconFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- ALLOW_NOLABEL = 1¶
- KEEP_EXISTING = 2¶
- class OSTree.SysrootSimpleWriteDeploymentFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- RETAIN = 1¶
- RETAIN_ROLLBACK = 16¶
- NOT_DEFAULT = 2¶
- NO_CLEAN = 4¶
- RETAIN_PENDING = 8¶
- class OSTree.SysrootUpgraderFlags(value)¶
Bases:
GObject.GFlags
Flags controlling operation of an
OSTree.SysrootUpgrader
.- IGNORE_UNCONFIGURED = 2¶
Do not error if the origin has an unconfigured-state key
- STAGE = 4¶
Enable “staging” (finalization at shutdown); recommended
New in version 2021.4.
- class OSTree.SysrootUpgraderPullFlags(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- ALLOW_OLDER = 1¶
- SYNTHETIC = 2¶