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

Issue 44350043: cmd/plugins: juju restore plugin

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by rog
Modified:
10 years, 4 months ago
Reviewers:
mp+199711, thumper
Visibility:
Public.

Description

cmd/plugins: juju restore plugin We also tweak the juju backup plugin so that it preserves user name and other file metadata. Verified live. https://code.launchpad.net/~rogpeppe/juju-core/470-juju-restore/+merge/199711 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/plugins: juju restore plugin #

Total comments: 7

Patch Set 3 : cmd/plugins: juju restore plugin #

Patch Set 4 : cmd/plugins: juju restore plugin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -101 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/plugins/juju-backup/juju-backup View 5 chunks +12 lines, -13 lines 0 comments Download
M cmd/plugins/juju-restore/restore.go View 1 2 3 4 chunks +332 lines, -87 lines 0 comments Download
M environs/bootstrap/state.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
10 years, 4 months ago (2013-12-19 20:06:26 UTC) #1
thumper
https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go File cmd/plugins/juju-restore/restore.go (right): https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go#newcode82 cmd/plugins/juju-restore/restore.go:82: return nil Many commands use 'return cmd.CheckEmpty(args[1:])' in this ...
10 years, 4 months ago (2013-12-19 21:59:02 UTC) #2
rog
Does this look good to you otherwise? https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go File cmd/plugins/juju-restore/restore.go (right): https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go#newcode82 cmd/plugins/juju-restore/restore.go:82: return nil ...
10 years, 4 months ago (2013-12-20 00:11:37 UTC) #3
thumper
LGTM - although I still think you should be explicit in the handling of unused ...
10 years, 4 months ago (2013-12-20 01:17:28 UTC) #4
rog
Please take a look. https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go File cmd/plugins/juju-restore/restore.go (right): https://codereview.appspot.com/44350043/diff/20001/cmd/plugins/juju-restore/restore.go#newcode82 cmd/plugins/juju-restore/restore.go:82: return nil On 2013/12/20 01:17:28, ...
10 years, 4 months ago (2013-12-20 08:48:19 UTC) #5
rog
10 years, 4 months ago (2013-12-20 15:35:15 UTC) #6
Please take a look.
Sign in to reply to this message.

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