Merge lp:~mvo/snappy/snappy-improve-developer-mode-detection into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-06-22 |
| Approved revision: | 507 |
| Merged at revision: | 515 |
| Proposed branch: | lp:~mvo/snappy/snappy-improve-developer-mode-detection |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Diff against target: |
301 lines (+94/-85) 4 files modified
provisioning/provisioning.go (+29/-5) provisioning/provisioning_test.go (+58/-40) snappy/install.go (+7/-25) snappy/install_test.go (+0/-15) |
| To merge this branch: | bzr merge lp:~mvo/snappy/snappy-improve-developer-mode-detection |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Approve on 2015-06-22 | ||
| Sergio Schvezov | 2015-06-10 | Approve on 2015-06-19 | |
|
Review via email:
|
|||
Commit Message
Use install.yaml to detect if in developer mode.
Description of the Change
This branch improves the developer mode detection by using the new
ubuntu-device-flash mechanism. It does not care about backward
compatibility currently. If thats a issue I can add the old code
back but given that it was not really reliable this seems like the
better approach.
It also does a bit of cleanup in the tests.
| Sergio Schvezov (sergiusens) wrote : | # |
| Michael Vogt (mvo) wrote : | # |
Thanks, addressed (most) points and replied inline in the previous comment.
| Michael Vogt (mvo) wrote : | # |
Is there anything else missing in this branch? It has some dependencies that are stalled right now :)
| Sergio Schvezov (sergiusens) wrote : | # |
> Is there anything else missing in this branch? It has some dependencies that
> are stalled right now :)
It is related to the conversation from yesterday about u-d-f only being in tools-proposed; I guess its fine in any case as this is rolling...
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~mvo/snappy/snappy-improve-developer-mode-detection into lp:snappy failed. Below is the output from the failed tests.
Checking docs
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update code.google.
update github.
code.google.
update github.
github.
update github.
github.
update github.
github.
update gopkg.in/check.v1 failed; trying to fetch newer version
github.
update gopkg.in/yaml.v2 failed; trying to fetch newer version
gopkg.in/check.v1 now at 64131543e7896d5
gopkg.in/yaml.v2 now at 49c95bdc2184325
Building
Running tests from /home/tarmac/
=== RUN Test
OK: 16 passed
--- PASS: Test (0.32 seconds)
PASS
coverage: 74.3% of statements
ok launchpad.
=== RUN Test
OK: 6 passed
--- PASS: Test (0.07 seconds)
PASS
coverage: 12.9% of statements
ok launchpad.
=== RUN Test
OK: 24 passed
--- PASS: Test (0.08 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
OK: 50 passed
--- PASS: Test (0.34 seconds)
PASS
coverage: 80.9% of statements
ok launchpad.
=== RUN Test
OK: 6 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 93.5% of statements
ok launchpad.
=== RUN Test
OK: 4 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
OK: 38 passed
--- PASS: Test (0.19 seconds)
PASS
coverage: 81.1% of statements
ok launchpad.
=== RUN Test
OK: 3 passed
--- PASS: Test (0.00 seconds)
PASS
coverage: 100.0% of statements
ok launchpad.
=== RUN Test
OK: 12 passed
--- PASS: Test (0.07 seconds)
PASS
coverage: 94.3% of statements
ok launchpad.
=== RUN Test
OK: 5 passed
--- PASS: Test (0.20 seconds)
PASS
coverage: 91.1% of statements
ok launchpad.
=== RUN Test
OK: 4 passed
--- PASS: Test (0.02 seconds)
PASS
coverage: 50.0% of statements
ok launchpad.
=== RUN Test
-------
FAIL: provis...
- 506. By Michael Vogt on 2015-06-22
-
merged lp:snappy
- 507. By Michael Vogt on 2015-06-22
-
fix test in tarmac


hey, looks good, just some comments and maybe merge trunk.
we also maybe should define those // no idea