Implement 'juju scp' subcommand
Bug #720307 reported by
Jim Baker
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Jim Baker |
Bug Description
Users need a simple way to transfer files back and forth from machines so as to facilitate a test-edit cycle. Like juju ssh, this would be with respect to unit names. The command usage would look like this:
juju scp mysql/0:$PATH $LOCAL_PATH
where $PATH, if relative, would be against /var/lib/
Related branches
lp://staging/~jimbaker/pyjuju/scp-command
- Kapil Thangavelu (community): Approve
- William Reade (community): Approve
-
Diff: 534 lines (+369/-35)8 files modifiedjuju/control/__init__.py (+2/-0)
juju/control/debug_hooks.py (+1/-1)
juju/control/scp.py (+89/-0)
juju/control/ssh.py (+7/-31)
juju/control/tests/test_scp.py (+159/-0)
juju/control/tests/test_utils.py (+69/-1)
juju/control/utils.py (+40/-0)
misc/bash_completion.d/juju (+2/-2)
Changed in ensemble: | |
milestone: | none → dublin |
importance: | Undecided → Medium |
Changed in ensemble: | |
milestone: | dublin → none |
Changed in juju: | |
status: | New → Confirmed |
Changed in juju: | |
assignee: | nobody → Jim Baker (jimbaker) |
Changed in juju: | |
milestone: | none → florence |
Changed in juju: | |
status: | Confirmed → In Progress |
tags: | added: api |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
+1 - this would be really helpful for pulling results from units for charm testing.