Merge lp:~chipaca/snappy/service into lp:~snappy-dev/snappy/snappy-moved-to-github
| Status: | Merged |
|---|---|
| Approved by: | John Lenton on 2015-07-24 |
| Approved revision: | 602 |
| Merged at revision: | 609 |
| Proposed branch: | lp:~chipaca/snappy/service |
| Merge into: | lp:~snappy-dev/snappy/snappy-moved-to-github |
| Prerequisite: | lp:~chipaca/snappy/serviceYaml |
| Diff against target: |
633 lines (+541/-1) 8 files modified
cmd/snappy/cmd_service.go (+139/-0) helpers/winsize.go (+48/-0) po/snappy.pot (+20/-1) snappy/errors.go (+3/-0) snappy/service.go (+150/-0) snappy/service_test.go (+142/-0) systemd/systemd.go (+29/-0) systemd/systemd_test.go (+10/-0) |
| To merge this branch: | bzr merge lp:~chipaca/snappy/service |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | Approve on 2015-07-27 | ||
| Michael Vogt | 2015-07-23 | Approve on 2015-07-24 | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-07-22.
Commit Message
Services command, iteration 1.
Description of the Change
For next iteration: apparmor & seccomp output in status.
| Michael Vogt (mvo) wrote : | # |
| Snappy Tarmac (snappydevtarmac) wrote : | # |
Attempt to merge into lp:snappy failed due to conflicts:
text conflict in po/snappy.pot
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~chipaca/snappy/service into lp:snappy failed. Below is the output from the failed tests.
Checking docs
Checking formatting
Installing godeps
Install golint
Obtaining dependencies
update github.
update github.
github.
update github.
github.
update github.
github.
github.
update github.
update github.
github.
update golang.org/x/crypto failed; trying to fetch newer version
github.
update gopkg.in/check.v1 failed; trying to fetch newer version
golang.org/x/crypto now at 60052bd85f2d912
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
# 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
./run-checks: 2: ./run-checks: 1: not found
./run-checks: 2: ./run-checks: 3803: not found
./run-checks: 2: ./run-checks: 0c: not found
if which goctest >/dev/null; then
goctest=
else
goctest="go test"
fi
echo Checking docs
./mdlint.py docs/*.md
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.
github.
launchpad.
golang.
github.
launchpad.
launchpad.
launchpad.
github.
launchpad.
launchpad.
github.
gopkg.in/yaml.v2
launchpad.
github.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
launchpad.
# launchpad.
| John Lenton (chipaca) wrote : | # |
I must have a brown paper bag around here somewhere...
- 602. By John Lenton on 2015-07-24
-
this is the brown paper back edit


Nice work! Thanks for this.
One nit I noticed while doing a quick test on a fresh snappy system:
"""
$ sudo ./snappy service status
snappy service not found
"""
Some more comments inline but nothing important, this is fine to land once the above is a bit more user friendly.