Merge lp:~ken-vandine/content-hub/hardlink_and_fallback_to_copy into lp:content-hub
Proposed by
Ken VanDine
Status: | Merged |
---|---|
Approved by: | Ken VanDine |
Approved revision: | 140 |
Merged at revision: | 78 |
Proposed branch: | lp:~ken-vandine/content-hub/hardlink_and_fallback_to_copy |
Merge into: | lp:content-hub |
Prerequisite: | lp:~ken-vandine/content-hub/quiet_logging |
Diff against target: |
66 lines (+24/-13) 1 file modified
src/com/ubuntu/content/utils.cpp (+24/-13) |
To merge this branch: | bzr merge lp:~ken-vandine/content-hub/hardlink_and_fallback_to_copy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Sheldon (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+211557@code.launchpad.net |
Commit message
If the transfer isn't persistent, attempt to hardlink instead of copying. If
the link fails, fallback to a copy.
Description of the change
If the transfer isn't persistent, attempt to hardlink instead of copying. If
the link fails, fallback to a copy. This should requires an apparmor policy
for content_exchange to deny write access to HubIncoming.
deny @{HOME}
This policy was added in apparmor-
To post a comment you must log in.
PASSED: Continuous integration, rev:139 jenkins. qa.ubuntu. com/job/ content- hub-ci/ 123/ jenkins. qa.ubuntu. com/job/ content- hub-trusty- amd64-ci/ 26 jenkins. qa.ubuntu. com/job/ content- hub-trusty- armhf-ci/ 26 jenkins. qa.ubuntu. com/job/ content- hub-trusty- armhf-ci/ 26/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ content- hub-trusty- i386-ci/ 26
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/content- hub-ci/ 123/rebuild
http://