Merge lp:~aaron-whitehouse/duplicity/07-snap into lp:duplicity/0.7-series

Proposed by Aaron Whitehouse on 2019-05-30
Status: Merged
Merged at revision: 1376
Proposed branch: lp:~aaron-whitehouse/duplicity/07-snap
Merge into: lp:duplicity/0.7-series
Diff against target: 98 lines (+71/-0)
4 files modified
dist/makedist (+2/-0)
snap/local/README-SNAP.txt (+7/-0)
snap/local/changelog.txt (+8/-0)
snap/snapcraft.yaml (+54/-0)
To merge this branch: bzr merge lp:~aaron-whitehouse/duplicity/07-snap
Reviewer Review Type Date Requested Status
duplicity-team 2019-05-30 Pending
Review via email: mp+368155@code.launchpad.net

Commit message

Add snapcraft packaging instructions for 0.7 series

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'dist/makedist'
2--- dist/makedist 2017-07-11 14:55:38 +0000
3+++ dist/makedist 2019-05-30 21:24:40 +0000
4@@ -99,6 +99,8 @@
5 os.path.join(tardir, "bin", "duplicity.1"))
6 VersionedCopy(os.path.join("bin", "rdiffdir.1"),
7 os.path.join(tardir, "bin", "rdiffdir.1"))
8+ VersionedCopy(os.path.join("snap", "snapcraft.yaml"),
9+ os.path.join(tardir, "snap", "snapcraft.yaml"))
10 VersionedCopy("setup.py",
11 os.path.join(tardir, "setup.py"))
12
13
14=== added directory 'snap'
15=== added directory 'snap/local'
16=== added file 'snap/local/README-SNAP.txt'
17--- snap/local/README-SNAP.txt 1970-01-01 00:00:00 +0000
18+++ snap/local/README-SNAP.txt 2019-05-30 21:24:40 +0000
19@@ -0,0 +1,7 @@
20+Snaps are packages: https://snapcraft.io
21+
22+Snaps for duplicity should be built from releases of duplicity,
23+after dist/makedist has been run on the files.
24+
25+To build a snap, in the root of the project, type:
26+SNAPCRAFT_BUILD_INFO=y snapcraft
27
28=== added file 'snap/local/changelog.txt'
29--- snap/local/changelog.txt 1970-01-01 00:00:00 +0000
30+++ snap/local/changelog.txt 2019-05-30 21:24:40 +0000
31@@ -0,0 +1,8 @@
32+Snap changelog
33+Revision Version Change
34+6 0.7.19 Added a large number of dependencies beyond those in
35+ requirements.txt based on those imported or used in
36+ backends.
37+7 0.7.19 Added additional dependencies from .deb package.
38+8 0.8.00 Added openssh-client, jottalib
39+9 0.8.00 Changed bin/duplicity to use python2
40
41=== added file 'snap/snapcraft.yaml'
42--- snap/snapcraft.yaml 1970-01-01 00:00:00 +0000
43+++ snap/snapcraft.yaml 2019-05-30 21:24:40 +0000
44@@ -0,0 +1,54 @@
45+name: duplicity
46+version: $version
47+summary: Efficient, encrypted backup to local or remote hosts
48+description: |
49+ Duplicity backs directories by producing encrypted tar-format volumes and uploading them to a remote or local file server. Because duplicity uses librsync, the incremental archives are space efficient and only record the parts of files that have changed since the last backup. Because duplicity uses GnuPG to encrypt and/or sign these archives, they will be safe from spying and/or modification by the server.
50+
51+grade: stable
52+confinement: classic
53+base: core18
54+
55+apps:
56+ duplicity:
57+ command: bin/duplicity
58+
59+parts:
60+ duplicity:
61+ plugin: python
62+ python-version: python2
63+ stage-packages:
64+ - gnupg
65+ - lftp # for lftpbackend.py
66+ - librsync1
67+ - librsync-dev
68+ - megatools # for megabackend.py
69+ - ncftp # for ncftpbackend.py
70+ - openssh-client # for ssh_pexpect_backend.py
71+ - python-azure # for azurebackend.py
72+ - python-boto # for botobackend.py
73+ - python-cloudfiles # for cfbackend.py
74+ - python-fasteners
75+ - python-future
76+ - python-gdata # for gdocsbackend.py
77+ - python-gi # for giobackend.py
78+ - python-googleapi # for pydrivebackend.py
79+ - python-httplib2 # for pydrivebackend.py
80+ - python-lockfile
81+ - python-oauthlib
82+ - python-paramiko # for ssh_paramiko_backend.py
83+ - python-requests # for adbackend.py, onedrivebackend.py
84+ - python-requests-oauthlib # as above
85+ - python-swiftclient # for swiftbackend.py
86+ - python-urllib3
87+ - rsync # for rsyncbackend.py
88+ - tahoe-lafs # for tahoebackend.py
89+ # -sx for sxbackend.py, but looks dead http://www.skylable.com/
90+ python-packages: [b2, dropbox, mediafire, pydrive, pyrax]
91+ # b2 for b2backend.py
92+ # dropbox for dpbxbackend.py
93+ # mediafire for mediafirebackend.py
94+ # pydrive for pydrivebackend.py
95+ # pyrax for hubicbackend, _cf_pyrax.py
96+ # jottalib backend is not in 0.7-series
97+ source: .
98+

Subscribers

People subscribed via source and target branches