Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(14869)

Issue 13044043: debug-hooks: include unit/hook in PS1 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by axw
Modified:
10 years, 7 months ago
Reviewers:
mp+180470, axw1, jameinel, fwereade, thumper
Visibility:
Public.

Description

debug-hooks: include unit/hook in PS1 Set a useful bash prompt, including the unit and hook names. The tmux window name gets truncated, so that's not super useful. Fixes bug #1212903 https://code.launchpad.net/~axwalk/juju-core/lp1212903-debug-hooks-prompt-take2/+merge/180470 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -47 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M worker/uniter/debug/server.go View 1 chunk +5 lines, -3 lines 0 comments Download
M worker/uniter/debug/server_test.go View 7 chunks +59 lines, -44 lines 1 comment Download

Messages

Total messages: 6
axw
Please take a look.
10 years, 8 months ago (2013-08-16 04:54:14 UTC) #1
thumper
LGTM - the code looks fine, did you test it interactively?
10 years, 8 months ago (2013-08-16 05:03:44 UTC) #2
axw1
On 2013/08/16 05:03:44, thumper wrote: > LGTM - the code looks fine, did you test ...
10 years, 8 months ago (2013-08-16 05:20:09 UTC) #3
jameinel
It looks a bit odd that we expand the ENV vars early. It might not ...
10 years, 8 months ago (2013-08-18 12:44:29 UTC) #4
axw1
On 2013/08/18 12:44:29, jameinel wrote: > It looks a bit odd that we expand the ...
10 years, 8 months ago (2013-08-19 01:01:03 UTC) #5
fwereade
10 years, 8 months ago (2013-08-19 10:57:43 UTC) #6
LGTM, thanks
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b