summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2023-05-02 13:56:30 +0000
committerJulian Andres Klode <jak@debian.org>2023-05-02 13:56:30 +0000
commited818cfe5c53503f8096056f599e639a9308b3da (patch)
tree5c52fba7ad6dd08817b48c3008ee32297443f047 /doc/examples
parent64a449186387cea2cf8ebed4f7890995b48300a7 (diff)
parenta19f606aad717fe5c9c69237c3af53feb547115e (diff)
Merge branch 'pu/snapshot' into 'main'
Add --snapshot and --update support See merge request apt-team/apt!291
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index beafbbcd4..e6d7c31ea 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -59,6 +59,9 @@ APT
VersionedKernelPackages "<LIST>"; // regular expressions to be protected from autoremoval (kernel uname will be appended)
Protect-Kernels "<BOOL>"; // whether to protect installed kernels against autoremoval (default: true)
+ // Currently active snapshot
+ Snapshot "<STRING>";
+
// Options for apt-get
Get
{
@@ -170,7 +173,7 @@ APT
DropTranslation "<BOOL>";
};
- Update
+ Update "<BOOL>"
{
Pre-Invoke {"touch /var/lib/apt/pre-update-stamp"; };
Post-Invoke {"touch /var/lib/apt/post-update-stamp"; };
@@ -398,6 +401,14 @@ Acquire
Override::Origin::* "<STRING>";
Override::Label::* "<STRING>";
};
+ Snapshots::URI
+ {
+ // Origin::Debian "https://snapshot.debian.org/snapshot/@SNAPSHOTID@/";
+ Origin::* "<STRING>";
+ Label::* "<STRING>";
+ Override::Origin::* "<STRING>";
+ Override::Label::* "<STRING>";
+ };
Changelogs::AlwaysOnline "<BOOL>"; // even if the changelog file exists get it online (as the file is incomplete)
Changelogs::AlwaysOnline::Origin::* "<BOOL>";
};