Moved nodes-chart-zoom.
Moved zoomCache to global state.
Moved nodes-chart-focus.
Fixed some bugs and polished the code.
Keeping track of topology options in zoomCache.
Fixed forceRelayout and circular layout.
Unified graph complexity heuristic criterion.
There are two source checkouts in circle, and we were building in the wrong one
(ie. not the one where the earlier build happened). This was wasteful at best
and buggy at worst due to build differences.
Update the build-tools introduced a regression while building on circle
ci.
The PR https://github.com/weaveworks/build-tools/pull/73 is compatible
with python requests module `>=v2.4.2`. We need to provide a more
updated version of the one available in ubuntu 12.04 or 14.04
repositories.
The find command fails on circleci running ubuntu 14.04 with the
following message:
Unix filenames usually don't contain slashes (though pathnames do).
That means that '-name `./*.go'' will probably evaluate to false all the
time on this system. You might find the '-wholename' test more useful,
or perhaps '-samefile'. Alternatively, if you are using GNU grep, you
could use 'find ... -print0 | grep -FzZ `./*.go''.'
This fix is compatible with ubuntu 12.04
This regression is caused by
https://github.com/weaveworks/scope/pull/2068/files#diff-3072c24bd91fea6eb71aecc590951d7e
Change the owner of "$HOME/.bashrc.backup" as the Google cloud cli wants
to backup to this file during setup and it's owned by root in the Circle
CI image.
Second, allow writes to `/usr/local/go/pkg` for `go install net` to
work.
After updating build-tools, I got new errors:
> ./tools/lint: line 134: hclfmt: command not found
> go install net: open /usr/local/go/pkg/linux_amd64_race/net.a:
> permission denied
This patch works around that by doing the same thing as:
https://github.com/weaveworks/build-tools/pull/44/files
If the $SECRET_SCRIPT environment variable is defined in CircleCI, this
can override the GCE credentials.
I now use "base64" instead of "openssl base64" in order to support long
lines in base64 text. It's useful when the text comes from a long
environment variable like $SECRET_SCRIPT defined in CircleCI.
Also, the $PROJECT environment variable can now override the GCE project
name. Before, it needed to be named scope-integration-tests.
This was initially merged in https://github.com/weaveworks/scope/pull/2223
Then, reverted in https://github.com/weaveworks/scope/pull/2229
Since then, it has the following fixes:
1. fix shell "unbound variable"
Since this shell script uses "set -u", we must not use unset variables
directly.
Symptoms:
> https://circleci.com/gh/weaveworks/scope/6384
> bin/setup-circleci-secrets: line 10: SECRET_SCRIPT: unbound variable
Instead, we should use the parameter expansion "+" to test if the
variable is set. See:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
2. return value of read
I use the builtin "read" and this returns a non-zero value when reading
until EOF. I use "|| true" to accept that.