Merge lp:~mvo/click-reviewers-tools/snappy into lp:click-reviewers-tools
| Status: | Merged |
|---|---|
| Merged at revision: | 538 |
| Proposed branch: | lp:~mvo/click-reviewers-tools/snappy |
| Merge into: | lp:click-reviewers-tools |
| Diff against target: |
148 lines (+72/-19) 4 files modified
clickreviews/cr_common.py (+44/-18) clickreviews/cr_lint.py (+16/-1) clickreviews/tests/test_cr_lint.py (+11/-0) debian/control (+1/-0) |
| To merge this branch: | bzr merge lp:~mvo/click-reviewers-tools/snappy |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jamie Strandboge | 2015-10-20 | Approve on 2015-10-27 | |
| Daniel Holbach (community) | Approve on 2015-10-27 | ||
| Ricardo Kirkner (community) | Approve on 2015-10-21 | ||
|
Review via email:
|
|||
Description of the Change
Tiny branch to allow unpacking of squashfs based snaps. This will be used by the store and its the first step toward more snappy specific support for c-r-t.
- 534. By Michael Vogt on 2015-10-20
-
address review comments from Ricardo (many thanks!)
| Michael Vogt (mvo) wrote : | # |
| Jamie Strandboge (jdstrand) wrote : | # |
If we accept this, won't that mean that the store will accept squashfs snaps and clicks? Are we ready to do this now?
| Michael Vogt (mvo) wrote : | # |
Thanks for the review Jamie. We want this for os and kernel snaps (that are manual review currently now anyway). This will unblock the all-snap work. Of course we need the verification of the squashfs (i.e. repacking it and compare) before this is ready for non-manual review snaps.
| James Westby (james-w) wrote : | # |
Jamie Strandboge <email address hidden> writes:
> Review: Needs Information
>
> If we accept this, won't that mean that the store will accept squashfs snaps and clicks? Are we ready to do this now?
We will accept them if they pass all the rest of the checks. We probably
don't want that, but if a check fails it will be held for manual review.
Is there going to be a base framework update for the new capability?
Thanks,
James
- 535. By Michael Vogt on 2015-10-26
-
clickreviews/
cr_common. py: s/unsquashfs/ unpacking/ thanks to Ricardo Kirkner
| Michael Vogt (mvo) wrote : | # |
Updated to fix typo as suggested by Ricardo.
| Jamie Strandboge (jdstrand) wrote : | # |
Ok, we discussed this on irc. The code in this branch is ok, but a check needs to be added to make sure that if a squashfs is used, it triggers a manual review. Once that is in place, it would be safe for the store to pull as is and then people can build on top of that in future iterations.
- 536. By Michael Vogt on 2015-10-27
-
add cr_lint check for squashfs
- 537. By Michael Vogt on 2015-10-27
-
pep8 fixes
| Michael Vogt (mvo) wrote : | # |
Thanks Jamie! I added a check to cr_lint and a test. Please let me know if that is sufficient. I ran the "tests-
- 538. By Michael Vogt on 2015-10-27
-
merged trunk and resolved conflicts
| Daniel Holbach (dholbach) wrote : | # |
Looks good to me.
The only (less important) bit I was unsure about was the question if squashfs-tools should be a Recommends or a Depends. It looks like c-r-t error out just fine if the tools can't be found, but as the squashfs snaps are going to be the future of everything, we could as well make it a depends. No super strong opinion though. :-)

Thanks Ricardo, excellent feedback and you are absolutely right, your suggestion makes it much nicer.