[Bug 1778256] Re: [Pull request] Move apt-btrfs-snapshot to daily systemd timers, drop python2 and other changes
Ubuntu Foundations Team Bug Bot
1778256 at bugs.launchpad.net
Sat Jun 23 04:20:16 UTC 2018
The attachment "Patch" seems to be a debdiff. The ubuntu-sponsors team
has been subscribed to the bug report so that they can review and
hopefully sponsor the debdiff. If the attachment isn't a patch, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1778256
Title:
[Pull request] Move apt-btrfs-snapshot to daily systemd timers, drop
python2 and other changes
Status in apt-btrfs-snapshot package in Ubuntu:
New
Bug description:
Hello,
I have created a fork of apt-btrfs-snapshot for my own usage and want to propose these changes for upstream.
The code is here: https://gitlab.com/mikhailnov/apt-btrfs-snapshot
Please have a look at it. Unfortunately, I have not understood how to
send a pull request at Launchpad.
Changes compared to the upstream version 3.5.1:
* Systemd daily timer instead of weekly cron to clean old snapshots
* Do not run the timer when on battery (with no AC power)
* Force btrfs sync after snapshot deletions
* Introduce etc/apt-btrfs-snapshot.conf.d/ directory for config files which are loaded in alpha-numerical order
* /etc/apt-btrfs-snapshot.conf.d/10-default.conf is the default config, but other packages may put other configs into the config directory (for example, I want to override MaxAge on a group of machines and package my own config file /etc/apt-btrfs-snapshot.conf.d/20-my.conf); I will probably add such config to [system-autoupdate](https://gitlab.com/mikhailnov/system-autoupdate)
* Default MageAge to 15 days (2 weeks + 1 day) instead of 90 days to reduce problems with no empty space left on disk
* Drop support for building with python2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-btrfs-snapshot/+bug/1778256/+subscriptions
More information about the Ubuntu-sponsors
mailing list