lp:~aaron-whitehouse/duplicity/07-snap

Created by Aaron Whitehouse and last modified

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:
https://lists.launchpad.net/duplicity-team/msg04838.html

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 0.7.0.999
3) Extract the resulting .tar.gz to ~/Temp/duplicity-0.7.0.999
4) Within ~/Temp/duplicity-0.7.0.999, 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
/snap/bin/duplicity
8) Test the version: $ duplicity --version
duplicity 0.7.0.999

See also the duplicity part of deja dup, which I have come across since writing this:
https://gitlab.gnome.org/World/deja-dup/blob/master/snap/snapcraft.yaml

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

Owner:
Aaron Whitehouse
Project:
Duplicity
Status:
Merged

Recent revisions

1380. By Aaron Whitehouse

* Merge with trunk

1379. By Aaron Whitehouse

* 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

Added dependencies from the deb package

1377. By Aaron Whitehouse

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

1376. By Aaron Whitehouse

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

1375. By Aaron Whitehouse

Resync with trunk.

1374. By Aaron Whitehouse

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

1373. By Aaron Whitehouse

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

1372. By Kenneth Loafman

* 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

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:
lp:~duplicity-team/duplicity/0.8-series
This branch contains Public information 
Everyone can see this information.

Subscribers