> The one thing you don't do is deliberately work around our policies by
> using a glorified `apt install` in your package to install your
> dependencies *at runtime*. It actually had consequences!!

That’s funny to hear because the reason PK support was added many years
ago was specifically by Canonical request to solve an issue with
duplicity dragging its feet on a Python3 port. So Deja Dup was shipped
in just the manner you describe to avoid having duplicity on the CD.

Clearly there is a different vibe now, but let’s not act like there is
some nefarious attempt to skirt policies.

> It might require some patching of upstream if they don't support a
> gracious fallback if restic isn't installed, but honestly that's for 
> the better, they definitely should.

That’s not likely to happen upstream. Restic is faster, more reliable,
and we already have introduced features that only it supports (FUSE
based restores). This is not a “we support either way” situation, this
is a transition. It can also create user confusion (and support
confusion) if some folks are getting one kind of backup and others a
different kind.

The appropriate thing is a hard dependency, as Deja Dup 49 does indeed
depend on Restic. But if you can’t do that for MIR reasons, there is the
PK approach. If you can’t do that either anymore, you can patch the
default backend to continue to be duplicity for now, but I can’t promise
that option will exist in the future as the transition continues. It
also might be confusing for users as they hear that 49.x has switched
backends but they don’t see it.

(If you are serious about patching the default backend - you can
override the “tool-when-new” gsetting to be “duplicity”. And restore
duplicity as a depends. But that’s my least favorite route.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120709

Title:
  deja-dup relies on universe dependencies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/2120709/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to