Commit Graph

4163 Commits

Author SHA1 Message Date
Alfonso Acosta
98707c2a81 Refactor scope script 2016-07-13 14:11:20 +00:00
Jonathan Lange
53735eda27 Merge pull request #1658 from weaveworks/tools-with-shellcheck
Lint shellscripts from tools
2016-07-13 15:10:49 +01:00
Jonathan Lange
47a01522c6 Only lint git files
Means we don't get spurious warnings from generated Javascript files.
2016-07-13 15:09:24 +01:00
Paul Bellamy
985912f964 Replace wget in instructions with curl, as it's more widely avail. on macs 2016-07-13 14:25:13 +01:00
Ilya Dmitrichenko
901e1a474a Fix Docker for Mac issue with --service-token (close #1649) 2016-07-13 13:50:28 +01:00
Jonathan Lange
50d47f9f06 Merge pull request #22 from weaveworks/shell-lint
Shell lint
2016-07-13 10:25:59 +01:00
Jonathan Lange
78bf236a9c Merge pull request #1668 from weaveworks/report-size-histogram
Store a histogram of report sizes
2016-07-12 19:08:44 +01:00
Jonathan Lange
d83d7318d0 Remove the old metric 2016-07-12 18:16:35 +01:00
Jonathan Lange
ca9e0387d0 Squashed 'tools/' changes from 8c6170d..0620e58
0620e58 Review tweaks

git-subtree-dir: tools
git-subtree-split: 0620e589fa
2016-07-12 18:07:42 +01:00
Jonathan Lange
7c94ade7f4 Merge commit 'ca9e0387d063905e681e44a3fbd2ddf1b1682f91' into tools-with-shellcheck
Update for shell-lint review tweaks
2016-07-12 18:07:42 +01:00
Simon Howe
55bed7b7b6 A couple more tweaks to the network-bar position.
- Center it vertically properly.
2016-07-12 18:29:15 +02:00
Jonathan Lange
d2298aa8f3 Store a histogram of report sizes 2016-07-12 16:37:29 +01:00
Jonathan Lange
0620e589fa Review tweaks 2016-07-12 15:51:42 +01:00
Simon Howe
6a79938939 Correct label position for nodes that don't have networks. 2016-07-12 16:10:56 +02:00
Simon Howe
6f8dc22ca3 Move network bar above the label for now.
Positioning the bar in the middle of flowing text is a bit tricky.
2016-07-12 16:09:10 +02:00
Simon Howe
f46025fe10 Fixes network bars position when a node is selected.
Bar position should be a function of node size!

Note: This is still an estimated position though it looks fine. Would be
nice to take into account size of labels (foreignObjects). The
transforms (for "undoing" the canvas zoom level) are a bit hectic here
and would be really nice to pull out and put in a wrapper...)
2016-07-12 15:45:35 +02:00
Jonathan Lange
ddf80d05cb Actually run shell-lint on tools 2016-07-12 14:22:09 +01:00
Jonathan Lange
7a35f21ea3 Squashed 'tools/' changes from 7a66090..8c6170d
8c6170d Fix lint in all the build-tools scripts
239935c shell-lint tool
d9ab133 Script for finding files with a given type
1b64e46 Add Weave Cloud client
f2e40b4 Time out commands after three minutes
2da55ce Don't spell-check compressed files
e9749a5 Make scheduler aware of test parallelisation

git-subtree-dir: tools
git-subtree-split: 8c6170d292
2016-07-12 14:21:55 +01:00
Jonathan Lange
f309c36898 Merge commit '7a35f21ea33d03d1d14c58b8b3dc780566908b3c' into tools-with-shellcheck
Tools for linting shell scripts
2016-07-12 14:21:55 +01:00
Jonathan Lange
8c6170d292 Fix lint in all the build-tools scripts 2016-07-12 14:21:22 +01:00
Tom Wilkie
cafaff8960 Wire up continuous delivery (#1654) 2016-07-12 13:05:21 +01:00
Paul Bellamy
d4c66bfe5b Merge pull request #1665 from weaveworks/use-histograms
Use histograms over summaries
2016-07-12 11:38:26 +01:00
Tom Wilkie
3173f6ad75 Use histograms over summaries 2016-07-12 11:15:57 +01:00
Ilya Dmitrichenko
d499d2b27a Merge pull request #1650 from weaveworks/fix-1649
Fix ensure plugins dir exists (close #1649)
2016-07-11 18:23:01 +01:00
Alfonso Acosta
f0edc265a5 Merge pull request #1660 from weaveworks/acc-is-slice
Use a slice instead of a persistent list for temporary accumulation of lists
2016-07-11 17:55:12 +01:00
Ilya Dmitrichenko
0ad6392a78 Ensure plugins dir exists (close #1649) 2016-07-11 17:52:36 +01:00
Paul Bellamy
ce2fd1e477 Merge pull request #1659 from weaveworks/demo
Adding a static report file mode.
2016-07-11 14:43:04 +01:00
Paul Bellamy
2a8938ec1a Merge pull request #1662 from weaveworks/count-memcache-errors
Count memcache requests even if they time out
2016-07-11 13:37:52 +01:00
Paul Bellamy
7a37577f71 Review Feedback 2016-07-11 13:36:22 +01:00
Jonathan Lange
49f2e4e40c Count memcache requests even if they time out 2016-07-11 13:01:02 +01:00
Paul Bellamy
691ad042c7 adding a demo json report to the scope dockerfile 2016-07-11 11:50:28 +01:00
Paul Bellamy
bcddfd82c3 Added file collector, to serve a static report from file 2016-07-11 11:50:27 +01:00
Bryan Boreham
7d579122aa Use a slice instead of a persistent list for temporary accumulation of lists
Avoids creating O(n) garbage by using a slice with enough capacity to
hold the temporary head-portion of the list accumulated while walking
the list to insert element(s).
2016-07-11 11:18:07 +01:00
Simon
2ea04aa159 Merge pull request #1648 from weaveworks/1402-fixes-terminal-line-wrapping
Fixes terminal wrapping by syncing docker/term.js terminal widths.
2016-07-11 10:49:56 +02:00
Anita Buehrle
8763c11d8b Merge pull request #1625 from weaveworks/fix-readme-1525
removed boot2docker reference
2016-07-08 13:57:19 -05:00
Jonathan Lange
239935c063 shell-lint tool 2016-07-08 15:25:43 +01:00
Jonathan Lange
d9ab133a85 Script for finding files with a given type 2016-07-08 14:10:50 +01:00
Anita Buehrle
70fa0fb79b fixed up some awkwardness 2016-07-07 18:03:06 -05:00
Alfonso Acosta
9a77380a59 Merge pull request #1653 from weaveworks/1598-no-host-short-lived-tracking
Do not infer short-lived connections for host-networking containers
2016-07-07 17:53:08 +01:00
Alfonso Acosta
26c6249516 Review comments 2016-07-07 16:18:18 +00:00
Tom Wilkie
1b64e461c2 Add Weave Cloud client 2016-07-07 16:46:31 +01:00
Alfonso Acosta
c843d24f6f Do not infer short-lived connections for host-networking containers 2016-07-07 15:44:13 +00:00
Jonathan Lange
17dc928b07 Merge pull request #1646 from weaveworks/experimental-results
Promote fixprobe and delete rest of experimental
2016-07-07 16:43:35 +01:00
Jonathan Lange
7cc829e463 What's tracer? 2016-07-07 15:02:26 +01:00
Jonathan Lange
1c440486f0 Delete experimental, replace with 'extras'
extras contains fixprobe and example, and ought to build properly
2016-07-07 14:30:08 +01:00
Alfonso Acosta
6d527821e7 Merge pull request #1627 from weaveworks/1605-read-only
Allow disabling controls in probes
2016-07-07 13:37:04 +01:00
Alfonso Acosta
5bb6185515 Clarify no-controls flag 2016-07-07 12:36:33 +00:00
Justin Garrison
d65a656e8f quote jsonpath so shell doesn't try to expand (#1651) 2016-07-06 20:56:19 +01:00
Simon Howe
4b41c8bb23 Fixes terminal wrapping by syncing docker/term.js terminal widths.
Impl. by locking the term.js width to 80 which is what the docker one
is. We need to implement resizing on both the BE and FE to avoid weird
wrapping issues.
2016-07-06 15:06:02 +02:00
Simon Howe
d506429d8f Support single/double quote key on us-intl keyboards in terminal
Doesn't support the accenting capabilities of this key but gives you
single/double quotes back which is a long way. If you need accented keys
for filenames etc you'll have to use other kb tricks.
2016-07-06 11:24:40 +02:00