• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rgs1 / zk_shell
79%
master: 82%

Build:
Build:
LAST BUILD BRANCH: CreateDockerVersion
DEFAULT BRANCH: master
Repo Added 10 Dec 2014 06:35AM UTC
Files 27
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH improve-child-watch
branch: improve-child-watch
CHANGE BRANCH
x
Reset
  • improve-child-watch
  • accept-dashes-in-keys
  • add-echo-command
  • add-edit-command
  • add-first-param-to-json-dupes-for-keys
  • add-match-parameter-for-4-letter-commands
  • add-pipe-cmd
  • add-reconfig-cmd
  • add-scripting-support
  • bump-kazoo-dependency
  • bump-xcmd-version-and-remove-conf-mgmt-code
  • chkzk
  • chkzk-add-state
  • copying-to-from-file
  • dont-install-libcppunit-dev
  • drop-strtobool-from-util
  • fix
  • fix-bug
  • fix-find
  • fix-util
  • fixes-for-py3k
  • import-complete-from-xcmd
  • improve-docs-for-watch
  • issue-11
  • json-append-remove
  • json-dupes-for-keys
  • json-set
  • labeled-booleans
  • ls-should-be-sorted
  • master
  • more-python-versions
  • move-historyfile-to-private-dir
  • persist-chkzk-settings
  • persist-config
  • pin-versions
  • port-to-xcmd
  • pretty-date-for-exists
  • print-last-zxid-as-hex
  • print-zxids-as-hex
  • release
  • remove-old-integration-leftovers
  • remove-to-bool
  • remove-util-join
  • session-info-match
  • set-json-many
  • some-flycheck-fixes
  • support-async-create
  • test-acl-reader
  • update-reqs
  • update-requirements
  • update-xcmd
  • use-3-5-0-for-testing
  • use-optional-int-float
  • use-quorum-for-tests
  • v1.0.0

pending completion
337

Pull #96

travis-ci

web-flow
feature(child_watch): print added/removed entries

It's a common use case to want to see how a path (e.g.:
a serverset) is churning (e.g.: what's being added/removed).

This diff changes the meaning of the `verbose` parameter in
the `child_watch` command so that it prints what children
znodes were added/removed with each change under the given
path.

Example:

```
$ ZKSHELL_SRC=1 bin/zk-shell  0
Welcome to zk-shell (1.2.1)
(DISCONNECTED) />
(CONNECTED [0]) /> ls
discovery
zookeeper
(CONNECTED [0]) /> child_watch /discovery true

/discovery:

(CONNECTED [0]) />
/discovery:
+ foo

/discovery:
+ bar
  foo

/discovery:
- bar
  foo
(CONNECTED [0]) />
```

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>
Pull Request #96: feature(child_watch): print added/removed entries

41 of 41 new or added lines in 5 files covered. (100.0%)

2619 of 3316 relevant lines covered (78.98%)

3.93 hits per line

Relevant lines Covered
Build:
Build:
3316 RELEVANT LINES 2619 COVERED LINES
3.93 HITS PER LINE
Source Files on improve-child-watch
  • List 0
  • Changed 17
  • Source Changed 8
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
337 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... Pull #96 29 Sep 2018 08:40PM UTC web-flow travis-ci pending completion  
336 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... push 29 Sep 2018 08:39PM UTC rgs1 travis-ci pending completion  
334 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... push 29 Sep 2018 08:36PM UTC rgs1 travis-ci pending completion  
335 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... Pull #96 29 Sep 2018 08:36PM UTC web-flow travis-ci pending completion  
333 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... Pull #96 29 Sep 2018 08:22PM UTC web-flow travis-ci pending completion  
332 improve-child-watch feature(child_watch): print added/removed entries It's a common use case to want to see how a path (e.g.: a serverset) is churning (e.g.: what's being added/removed). This diff changes the meaning of the `verbose` parameter in the `child_watch` ... push 29 Sep 2018 08:20PM UTC rgs1 travis-ci pending completion  
See All Builds (335)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc