Add watch option to juju status

Bug #1815279 reported by Sandor Zeestraten
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Low
Unassigned

Bug Description

It is about time that that we get an integrated watch command for juju status. It is silly that everyone needs to add their own aliases. Even during Canonical workshops demoing Juju, they have to explain to new users their custom aliases for `watch --color juju status --color".

If it should be default or not, I don't know, but at least add the option.

description: updated
Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: status
Changed in juju:
milestone: none → 2.6-beta1
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Revision history for this message
Tim McNamara (tim-clicks) wrote :

Will this break portability? Juju's CLI can be run outside of Linux environments where watch(1) may not be available. Perhaps procps has been reimplemented in Go..?

Changed in juju:
milestone: 2.6-beta2 → 2.6-rc1
Changed in juju:
milestone: 2.6-rc1 → 2.6-rc2
Changed in juju:
milestone: 2.6-rc2 → 2.6.1
Changed in juju:
milestone: 2.6.1 → 2.6.2
Changed in juju:
milestone: 2.6.2 → 2.6.3
Changed in juju:
milestone: 2.6.3 → 2.6.4
Changed in juju:
milestone: 2.6.4 → 2.6.5
Changed in juju:
milestone: 2.6.5 → 2.6.6
Changed in juju:
milestone: 2.6.6 → 2.6.7
Changed in juju:
milestone: 2.6.7 → none
Revision history for this message
Andrea Ieri (aieri) wrote :

Adding a link back to #1856527. Although that's a duplicate of this bug, it contains some good discussion about what the requested functionality could look like.

Revision history for this message
Vern Hart (vern) wrote :

This came up again this week during a Canonical run juju demo. I imagine this could be a super-customizable feature as what is mentioned in LP#1856527 but for mvp, it could be very simplistic. And for the portability question, for terminals that don't support curses, it could fall back to just repeating the output in a stream.

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
Revision history for this message
Haw Loeung (hloeung) wrote :

This is now available:

$ juju help status | grep watch -A2
--watch (= 0s)
    Watch the status every period of time

--
    juju status --watch 5s mysql

    # Show only applications/units in active status

Changed in juju:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.