Created by Aaron Whitehouse on 2019-03-14 and last modified on 2019-05-30

This branch contains the work to support snap packages (on the 0.7-series). The mailing list thread on this work and the rationale starts here:

The code can only be converted into a snap after it has been versioned (versions that have had dist/makedist run on them). Once merged, the expectation would be that snapcraft would be run in the folder of the extracted tar.gz after it is released.

You can test it out as follows:
1) Branch the code
2) Run ./dist/makedist
3) Extract the resulting .tar.gz to ~/Temp/duplicity-
4) Within ~/Temp/duplicity-, run 'snapcraft'
5) 'duplicity_0.7.0.999_amd64.snap' will be in the folder.
6) You can install this using 'snap install duplicity_0.7.0.999_amd64.snap --classic --dangerous'
7) Test you are using this duplicity: $ which duplicity
8) Test the version: $ duplicity --version

See also the duplicity part of deja dup, which I have come across since writing this:

Get this branch:
bzr branch lp:~aaron-whitehouse/duplicity/07-snap
Only Aaron Whitehouse can upload to this branch. If you are Aaron Whitehouse please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Aaron Whitehouse

Recent revisions

1380. By Aaron Whitehouse on 2019-05-30

* Merge with trunk

1379. By Aaron Whitehouse on 2019-05-30

* Add openssh-client to the dependencies for ssh_pexpect_backend.py
* Added snap/local/changelog.txt and snap/local/README-SNAP.txt

1378. By Aaron Whitehouse on 2019-05-08

Added dependencies from the deb package

1377. By Aaron Whitehouse on 2019-05-06

Add dependencies for backends. Add Snap changelog in snap/local/changelog.txt

1376. By Aaron Whitehouse on 2019-04-27

Remove version restriction on dropbox. This restriction is in our requirements.txt, but looks to have been fixed (lp:1639664)

1375. By Aaron Whitehouse on 2019-04-27

Resync with trunk.

1374. By Aaron Whitehouse on 2019-04-27

* Changed base to core18
* Used 18.04 packages (instead of pip versions) where possible

1373. By Aaron Whitehouse on 2019-03-14

Add snap/snapcraft.yaml and updated makedist to process version number.

1372. By Kenneth Loafman on 2019-02-25

* Merged in lp:~mterry/duplicity/pydrive-root-0.7
  - Just a tiny fix to clean up the temporary file we create to find the root ID.
    It's a little surprising for the user if they wind up with this file called
    "i_am_in_root" that they don't know where it came from. Almost sounds like
    they were hacked.

1371. By Kenneth Loafman on 2019-01-26

Bug #1813214 was marked fixed in 0.7.13. There were still a couple of copy.com references remaining in the docs and web. Got those nuked, finally.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.