diff options
| author | Julian Andres Klode <jak@debian.org> | 2023-05-02 13:56:30 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2023-05-02 13:56:30 +0000 |
| commit | ed818cfe5c53503f8096056f599e639a9308b3da (patch) | |
| tree | 5c52fba7ad6dd08817b48c3008ee32297443f047 /doc/examples | |
| parent | 64a449186387cea2cf8ebed4f7890995b48300a7 (diff) | |
| parent | a19f606aad717fe5c9c69237c3af53feb547115e (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-index | 13 |
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>"; }; |
