diff -aruN click-reviewers-tools/clickreviews/cr_lint.py new/clickreviews/cr_lint.py
--- click-reviewers-tools/clickreviews/cr_lint.py 2016-02-09 16:04:00.786243000 +0100
+++ new/clickreviews/cr_lint.py 2016-02-09 16:07:13.896456000 +0100
@@ -1134,9 +1134,6 @@
if self._pkgfmt_type() == "click" or not self.is_snap1:
return
- if is_squashfs(self.pkg_filename):
- return
-
contents = self._extract_readme_md()
t = 'info'
diff -aruN click-reviewers-tools/clickreviews/tests/test_cr_lint.py new/clickreviews/tests/test_cr_lint.py
--- click-reviewers-tools/clickreviews/tests/test_cr_lint.py 2016-02-09 16:04:00.786243000 +0100
+++ new/clickreviews/tests/test_cr_lint.py 2016-02-09 16:07:13.896456000 +0100
@@ -1502,21 +1502,6 @@
expected_counts = {'info': 2, 'warn': 0, 'error': 0}
self.check_results(r, expected_counts)
- def test_check_snappy_readme_md_squashfs(self):
- '''Test check_snappy_readme_md() - squashfs file'''
- with patch("clickreviews.cr_lint.is_squashfs") as mock_is_squashfs:
- mock_is_squashfs.return_value = True
- with patch("clickreviews.cr_lint.ClickReviewLint."
- "_extract_readme_md") as mock_readme_md:
- mock_readme_md.return_value = "Something suitably long"
- c = ClickReviewLint(self.test_name)
- c.unpack_dir = "/nonexistent.nonexec"
- c.check_snappy_readme_md()
- r = c.click_report
- expected_counts = {'info': None, 'warn': 0, 'error': 0}
- self.check_results(r, expected_counts)
- self.assertFalse(mock_readme_md.called)
-
def test_check_snappy_readme_md_bad(self):
'''Test check_snappy_readme_md() - short'''
self.set_test_pkgfmt("snap", "15.04")
diff -aruN click-reviewers-tools/debian/changelog new/debian/changelog
--- click-reviewers-tools/debian/changelog 2016-02-05 16:40:40.385241000 +0100
+++ new/debian/changelog 2016-02-09 16:07:13.896456000 +0100
@@ -4,11 +4,6 @@
* cr_lint.py: 'accounts' hook was added in 15.04.1. The other checks are
already in place since r553 which missed this addition
- [ James Tait ]
- * cr_lint.py: Don't check for the presence of readme.md if the package is a
- squashfs filesystem. Snappy 2.0 uses squashfs as its file format, and
- doesn't require readme.md.
-
-- Jamie Strandboge <jamie@ubuntu.com> Mon, 01 Feb 2016 12:11:44 -0600
click-reviewers-tools (0.36) xenial; urgency=medium