← Back to team overview

duplicity-team team mailing list archive

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

 

Aaron Whitehouse has proposed merging lp:~aaron-whitehouse/duplicity/07-snap into lp:duplicity/0.7-series.

Commit message:
Add snapcraft packaging instructions for 0.7 series

Requested reviews:
  duplicity-team (duplicity-team)

For more details, see:
https://code.launchpad.net/~aaron-whitehouse/duplicity/07-snap/+merge/368155
-- 
Your team duplicity-team is requested to review the proposed merge of lp:~aaron-whitehouse/duplicity/07-snap into lp:duplicity/0.7-series.
=== modified file 'dist/makedist'
--- dist/makedist	2017-07-11 14:55:38 +0000
+++ dist/makedist	2019-05-30 21:24:40 +0000
@@ -99,6 +99,8 @@
                   os.path.join(tardir, "bin", "duplicity.1"))
     VersionedCopy(os.path.join("bin", "rdiffdir.1"),
                   os.path.join(tardir, "bin", "rdiffdir.1"))
+    VersionedCopy(os.path.join("snap", "snapcraft.yaml"),
+                  os.path.join(tardir, "snap", "snapcraft.yaml"))
     VersionedCopy("setup.py",
                   os.path.join(tardir, "setup.py"))
 

=== added directory 'snap'
=== added directory 'snap/local'
=== added file 'snap/local/README-SNAP.txt'
--- snap/local/README-SNAP.txt	1970-01-01 00:00:00 +0000
+++ snap/local/README-SNAP.txt	2019-05-30 21:24:40 +0000
@@ -0,0 +1,7 @@
+Snaps are packages: https://snapcraft.io
+
+Snaps for duplicity should be built from releases of duplicity,
+after dist/makedist has been run on the files.
+
+To build a snap, in the root of the project, type:
+SNAPCRAFT_BUILD_INFO=y snapcraft

=== added file 'snap/local/changelog.txt'
--- snap/local/changelog.txt	1970-01-01 00:00:00 +0000
+++ snap/local/changelog.txt	2019-05-30 21:24:40 +0000
@@ -0,0 +1,8 @@
+Snap changelog
+Revision	Version		Change
+6		0.7.19		Added a large number of dependencies beyond those in
+				requirements.txt based on those imported or used in
+				backends.  
+7		0.7.19		Added additional dependencies from .deb package.
+8		0.8.00		Added openssh-client, jottalib
+9		0.8.00		Changed bin/duplicity to use python2

=== added file 'snap/snapcraft.yaml'
--- snap/snapcraft.yaml	1970-01-01 00:00:00 +0000
+++ snap/snapcraft.yaml	2019-05-30 21:24:40 +0000
@@ -0,0 +1,54 @@
+name: duplicity
+version: $version
+summary: Efficient, encrypted backup to local or remote hosts
+description: |
+  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.
+
+grade: stable
+confinement: classic
+base: core18
+
+apps:
+  duplicity:
+    command: bin/duplicity
+
+parts:
+  duplicity:
+    plugin: python
+    python-version: python2
+    stage-packages:
+    - gnupg
+    - lftp		# for lftpbackend.py
+    - librsync1
+    - librsync-dev
+    - megatools		# for megabackend.py
+    - ncftp		# for ncftpbackend.py
+    - openssh-client    # for ssh_pexpect_backend.py
+    - python-azure	# for azurebackend.py
+    - python-boto	# for botobackend.py
+    - python-cloudfiles	# for cfbackend.py
+    - python-fasteners
+    - python-future
+    - python-gdata	# for gdocsbackend.py
+    - python-gi		# for giobackend.py
+    - python-googleapi	# for pydrivebackend.py
+    - python-httplib2	# for pydrivebackend.py
+    - python-lockfile
+    - python-oauthlib
+    - python-paramiko	# for ssh_paramiko_backend.py
+    - python-requests	# for adbackend.py, onedrivebackend.py
+    - python-requests-oauthlib # as above
+    - python-swiftclient # for swiftbackend.py
+    - python-urllib3
+    - rsync		# for rsyncbackend.py
+    - tahoe-lafs	# for tahoebackend.py
+    # -sx for sxbackend.py, but looks dead http://www.skylable.com/
+    python-packages: [b2, dropbox, mediafire, pydrive, pyrax]
+    # b2 for b2backend.py
+    # dropbox for dpbxbackend.py
+    # mediafire for mediafirebackend.py
+    # pydrive for pydrivebackend.py
+    # pyrax for hubicbackend, _cf_pyrax.py
+    # jottalib backend is not in 0.7-series
+    source: .
+


Follow ups