-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update duplicity with oauth and Python 3 #3823
Conversation
Yes ! That would be great since v0.8 added multibackend support which enables the use of cost-effective cold/archive object storage solution for backups 👍 |
Hello @heralight Thanks for your contribution. May you please update to latest duplicity version please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Still a minor improvement request to avoid copy-paste code
Hi @Namlaz, are you still looking for this update? It would be great to get some feedback from a user of duplicity. You can download the packages as artifacts of the github build action. |
Hey there, definitely, thank you for the update, I'll dive back into it shortly :) |
@hgy59: I just did that on my DS413 (qoriq / ppc) and that worked perfectly 👍 @heralight, @ymartin59: after addressing the merge conflicts, would that PR be ready to merge? Anyway, thanks all for working on that duplicity update! I'm quite looking forward to using the multi-backend feature, and I imagine other users are too. |
I propose to also update python3 dependency to python38 |
Now ready to merge. @publicarray are you already working on a soultion to support installation logs with dsm7? my general idea is to support something like this:
and define This rework of install logs is for a diffent branch and OT for this duplicity update. |
@RomainBoulay I would kindly ask you to test again with the current package. I already tested with x64 (on DSM7 with temp. modified service-setup.sh) and armv7. |
@hgy59 sorry I forgot to come back to you. This weekend I tested duplicity after your update and I can confirm my backups worked as expected 👍 From my point of view, it's good to go (DS413, DSM 6.2.3) |
@hgy59 May you please fix/rebase branch to review PR and publish package? |
- update duply to v2.3 - install duply to /bin - fix symlinks - fix dependencies and remove cross/bash - duply script is not supported on DSM < 6.0 - use service-setup.sh and remove dsm-control.sh, installer.sh
- /tmp might be too small due to the size of the installed wheels - use custom TMPDIR for installation
- update duplicity for USE_ALTERNATE_TMPDIR - update homeassistant for USE_ALTERNATE_TMPDIR
- cleanup tmpdir after installation
- create link in bin folder to avoid SPK_LINKS - use $(SYNOPKG_PKGTMP) as alternate tmpdir with dsm7 - avoid usage of /usr/local/{package-name}/
- update duply - fix default_python patch
- cffi - librsync - lxml - pycparser - use cross-cmake rules for librsync
- update requirements - update instructions on how to update requirements.txt - update changelog and list all included backends as bullet list - adjust cross dependencies - fix service-setup.sh for redesigned installer logs
* update duplicity to v0.8.19 and duply to v2.3 with python 3.8 - install duply to /bin - fix symlinks - fix dependencies and remove cross/bash - duply script is not supported on DSM < 6.0 - use service-setup.sh and remove dsm-control.sh, installer.sh * include most of the backend libraries - /tmp might be too small due to the size of the installed wheels - use custom TMPDIR for installation * add USE_ALTERNATE_TMPDIR for generic usage * incorporate code review - cleanup tmpdir after installation * update duplicity dependencies * prepare for dsm7 - create link in bin folder to avoid SPK_LINKS - use $(SYNOPKG_PKGTMP) as alternate tmpdir with dsm7 - avoid usage of /usr/local/{package-name}/ * update dependencies - cffi - librsync - lxml - pycparser - use cross-cmake rules for librsync * update duplicity to v0.8.19 - update requirements - update instructions on how to update requirements.txt - update changelog and list all included backends as bullet list - adjust cross dependencies - fix service-setup.sh for redesigned installer logs Co-authored-by: hgy59 <hpgy59@gmail.com>
Motivation: Update duplicity to 0.8.18 to support onedrive with their new api.
Remarks: others backends doesn't compile anymore, synocommunity docker image is to outdated.Checklist
all-supported
completed successfullyRemarks
The current version of duply does not work with cross/bash. As DSM >= 6.0 has /bin/bash available and this version works with duply the cross/bash dependency is removed with this PR. For DSM < 6.0 only duplycity is supported, the duply script is not.