From 46ab4b200ea16167842a814308bcd3160a62f1e8 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Sat, 9 Feb 2019 22:12:55 +1030 Subject: [PATCH 1/3] exp/ts-repair: fix assignment --- experimentation/ts-repair/main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/experimentation/ts-repair/main.go b/experimentation/ts-repair/main.go index bed81f19..97c350f6 100644 --- a/experimentation/ts-repair/main.go +++ b/experimentation/ts-repair/main.go @@ -209,10 +209,7 @@ func main() { packetNo++ // Get the pid from the packet - pid, err := packet.Pid((*packet.Packet)(&p)) - if err != nil { - panic(errCantGetPid) - } + pid := packet.Pid((*packet.Packet)(&p)) // Get the cc from the packet and also the expected cc (if exists) cc := p.CC() From b24e72caa547f9a6b1ed3e0de07c2578144c78b5 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Sat, 9 Feb 2019 22:14:21 +1030 Subject: [PATCH 2/3] experimentation: rename to exp --- {experimentation => exp}/flac/decode.go | 0 {experimentation => exp}/flac/flac_test.go | 0 {experimentation => exp}/ts-repair/main.go | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename {experimentation => exp}/flac/decode.go (100%) rename {experimentation => exp}/flac/flac_test.go (100%) rename {experimentation => exp}/ts-repair/main.go (100%) diff --git a/experimentation/flac/decode.go b/exp/flac/decode.go similarity index 100% rename from experimentation/flac/decode.go rename to exp/flac/decode.go diff --git a/experimentation/flac/flac_test.go b/exp/flac/flac_test.go similarity index 100% rename from experimentation/flac/flac_test.go rename to exp/flac/flac_test.go diff --git a/experimentation/ts-repair/main.go b/exp/ts-repair/main.go similarity index 100% rename from experimentation/ts-repair/main.go rename to exp/ts-repair/main.go From 14ca8e8b27e02e18516176cd07f74c088277dad7 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Sun, 10 Feb 2019 09:08:00 +1030 Subject: [PATCH 3/3] circle-ci: make test data available --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index af93f767..b1ae37f2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,8 @@ jobs: steps: - checkout + - run: git clone --depth=1 https://bitbucket.org/ausocean/test.git ${GOPATH}/src/bitbucket.org/ausocean/test + - restore_cache: keys: - v1-pkg-cache