-
Notifications
You must be signed in to change notification settings - Fork 61
bucache: save and restore xattrs, ACLs #1668
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice work! Several notes in-line.
lib/charliecloud.py
Outdated
@@ -599,9 +599,10 @@ def exit(code): | |||
|
|||
def init(cli): | |||
# logging | |||
global log_festoon, log_fp, trace_fatal, verbose | |||
global log_festoon, log_fp, trace_fatal, verbose, xattrs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I bet you haven't worked on any other projects with a variable named festoon
lol.
Co-authored-by: Reid Priedhorsky <[email protected]>
Co-authored-by: Reid Priedhorsky <[email protected]>
Co-authored-by: Reid Priedhorsky <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff! Various nit-picks in-line.
test/run/ch-convert.bats
Outdated
cd "$BATS_TMPDIR" | ||
|
||
borked_img="borked_image" | ||
borked_file="$borked_img/home/foo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style:
borked_file="$borked_img/home/foo" | |
borked_file="${borked_img}/home/foo" |
Also I recommend a directory other than /home
because that gets special treatment sometimes.
closes #1287