Merge lp:~mvo/snappy/snappy-tar-unpack-mknod into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-05-07 |
| Approved revision: | 449 |
| Merged at revision: | 447 |
| Proposed branch: | lp:~mvo/snappy/snappy-tar-unpack-mknod |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Prerequisite: | lp:~mvo/snappy/snappy-hashes-yaml-for-devices |
| Diff against target: |
150 lines (+98/-8) 3 files modified
helpers/helpers.go (+43/-0) helpers/helpers_test.go (+52/-0) snappy/build.go (+3/-8) |
| To merge this branch: | bzr merge lp:~mvo/snappy/snappy-tar-unpack-mknod |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Approve on 2015-05-07 | ||
| John Lenton | 2015-05-06 | Approve on 2015-05-07 | |
|
Review via email:
|
|||
Commit Message
Add support for unpacking device files in a tar.
Description of the Change
This branch adds support for unpack tars that contains device files.
| Michael Vogt (mvo) wrote : | # |
Thanks a lot for the review! I commented inline and I hope I addressed the comments in r447.
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~mvo/snappy/snappy-tar-unpack-mknod into lp:snappy failed. Below is the output from the failed tests.
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 github.
github.
update gopkg.in/yaml.v2 failed; trying to fetch newer version
github.
update launchpad.
gopkg.in/yaml.v2 now at 49c95bdc2184325
launchpad.
Building
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly
mkdir -p $GOPATH/
cp -a . $GOPATH/
cd $GOPATH/
./run-checks
if which goctest >/dev/null; then
goctest=
else
goctest="go test"
fi
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo $fmt
exit 1
fi
echo Installing godeps
go get launchpad.
export PATH=$PATH:
echo Install golint
go get github.
export PATH=$PATH:
echo Obtaining dependencies
godeps -u dependencies.tsv
echo Building
go build -v launchpad.
github.
launchpad.
launchpad.
code.google.
github.
github.
launchpad.
launchpad.
github.
launchpad.
github.
gopkg.in/yaml.v2
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
# launchpad.
snappy/
snappy/
- 448. By Michael Vogt on 2015-05-07
-
merged lp:snappy
- 449. By Michael Vogt on 2015-05-07
-
snappy/build.go: fix test failure


Silly things, inline.