Package: snapper
Version: 0.10.4-1
Severity: wishlist

Dear Maintainer,

Right now, on `debian`, snapper will take pre/post snapshots when you use `apt`
and set the snapshot description to `apt`. I think this is handled in the
80snapper file.

I had a few ideas for feature enhancement:

1. If an inline variable is set in the `apt` command call, add that to the
description. For example: `SD="doing something funky" sudo apt install funky`
would set the snapshot description to `apt; doing something funky`.

2. Add the `apt` command line arguments to the description. Using my above
example, the description might be something like `apt; install funky; doing
something funky`.

3. Maybe there could be a way to force an interactive mode that would ask the
user what the snapshot description should be.

Just a thought.


*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation? With the current configuration, the system
does automatically take snaptshots but thhe descriptions aren't very helpful.
With this idea, the snapshot descriptions would be more helpful.
   * What exactly did you do (or not do) that was effective (or ineffective)?
N/A
   * What was the outcome of this action? N/A
   * What outcome did you expect instead? The full apt command should be added
to the snapshot description.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-10-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages snapper depends on:
ii  libboost-thread1.74.0  1.74.0+ds1-21
ii  libc6                  2.36-9
ii  libdbus-1-3            1.14.6-1
ii  libgcc-s1              12.2.0-14
ii  libjson-c5             0.16-2
ii  libmount1              2.38.1-5+b1
ii  libsnapper6            0.10.4-1
ii  libstdc++6             12.2.0-14
ii  libtinfo6              6.4-4

snapper recommends no packages.

snapper suggests no packages.

-- Configuration Files:
/etc/default/snapper changed [not included]

-- no debconf information

Reply via email to