Merge lp:~siretart/apt-btrfs-snapshot/yakkety into lp:apt-btrfs-snapshot

Proposed by Reinhard Tartler
Status: Merged
Merged at revision: 53
Proposed branch: lp:~siretart/apt-btrfs-snapshot/yakkety
Merge into: lp:apt-btrfs-snapshot
Diff against target: 73 lines (+15/-8)
3 files modified
apt_btrfs_snapshot.py (+4/-4)
debian/changelog (+8/-2)
test/test_apt_btrfs_snapshot.py (+3/-2)
To merge this branch: bzr merge lp:~siretart/apt-btrfs-snapshot/yakkety
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+293242@code.launchpad.net
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
=== modified file 'apt_btrfs_snapshot.py'
--- apt_btrfs_snapshot.py 2015-10-16 09:22:38 +0000
+++ apt_btrfs_snapshot.py 2016-04-28 11:11:26 +0000
@@ -25,7 +25,6 @@
25import time25import time
26import tempfile26import tempfile
2727
28import gettext
29from gettext import gettext as _28from gettext import gettext as _
3029
3130
@@ -168,11 +167,12 @@
168 mp = self.mount_btrfs_root_volume()167 mp = self.mount_btrfs_root_volume()
169 snap_id = self._get_now_str()168 snap_id = self._get_now_str()
170 source = os.path.join(mp, "@")169 source = os.path.join(mp, "@")
171 target = os.path.join(mp, self.SNAP_PREFIX + additional_prefix + snap_id)170 target = os.path.join(mp, self.SNAP_PREFIX + additional_prefix +
171 snap_id)
172172
173 if os.path.exists(target):173 if os.path.exists(target):
174 print(_("INFO: snapshot directory '%s' already exists, not creating duplicate")174 print(_("INFO: snapshot directory '%s' already exists, "
175 % (target,))175 "not creating duplicate") % (target,))
176 return True176 return True
177 else:177 else:
178 res = self.commands.btrfs_subvolume_snapshot(source, target)178 res = self.commands.btrfs_subvolume_snapshot(source, target)
179179
=== modified file 'debian/changelog'
--- debian/changelog 2015-10-16 09:27:08 +0000
+++ debian/changelog 2016-04-28 11:11:26 +0000
@@ -1,5 +1,8 @@
1apt-btrfs-snapshot (3.5) UNRELEASED; urgency=medium1apt-btrfs-snapshot (3.5) yakkety; urgency=medium
22
3 [ Michael Vogt ]
4 * Merge changes from Doko and others
5
3 [ Yurii Kolesnukov ]6 [ Yurii Kolesnukov ]
4 * Fix detection of btrfs binary on Debinan stretch (LP: #1454306)7 * Fix detection of btrfs binary on Debinan stretch (LP: #1454306)
58
@@ -10,7 +13,10 @@
10 * lp:~bgeron/apt-btrfs-snapshot/silence-apt:13 * lp:~bgeron/apt-btrfs-snapshot/silence-apt:
11 - improve apt-btfs-snapshot supported message14 - improve apt-btfs-snapshot supported message
1215
13 -- Michael Vogt <michael.vogt@ubuntu.com> Fri, 16 Oct 2015 11:19:30 +020016 [ Reinhard Tartler ]
17 * Fix pep8 / pylint tests
18
19 -- Reinhard Tartler <siretart@tauware.de> Thu, 28 Apr 2016 07:07:25 -0400
1420
15apt-btrfs-snapshot (0.3.4.2) trusty; urgency=medium21apt-btrfs-snapshot (0.3.4.2) trusty; urgency=medium
1622
1723
=== modified file 'test/test_apt_btrfs_snapshot.py'
--- test/test_apt_btrfs_snapshot.py 2015-05-17 05:21:59 +0000
+++ test/test_apt_btrfs_snapshot.py 2016-04-28 11:11:26 +0000
@@ -11,13 +11,14 @@
11import time11import time
12import unittest12import unittest
1313
14sys.path.insert(0, "..")
15sys.path.insert(0, ".")
16from apt_btrfs_snapshot import (14from apt_btrfs_snapshot import (
17 AptBtrfsSnapshot,15 AptBtrfsSnapshot,
18 AptBtrfsRootWithNoatimeError,16 AptBtrfsRootWithNoatimeError,
19)17)
2018
19sys.path.insert(0, "..")
20sys.path.insert(0, ".")
21
2122
22class TestFstab(unittest.TestCase):23class TestFstab(unittest.TestCase):
2324

Subscribers

People subscribed via source and target branches

to all changes: