-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add link dest to synchronize module #32746
Merged
samdoran
merged 3 commits into
ansible:devel
from
kellinm:add-link-dest-to-synchronize-module
Nov 13, 2017
Merged
Add link dest to synchronize module #32746
samdoran
merged 3 commits into
ansible:devel
from
kellinm:add-link-dest-to-synchronize-module
Nov 13, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
affects_2.5
This issue/PR affects Ansible v2.5
core_review
In order to be merged, this PR must follow the core review workflow.
feature_pull_request
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
labels
Nov 9, 2017
The test
The test
|
ansibot
added
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Nov 9, 2017
kellinm
force-pushed
the
add-link-dest-to-synchronize-module
branch
from
November 9, 2017 16:47
1d1e033
to
a361477
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Nov 9, 2017
cc @maxamillion |
samdoran
removed
the
needs_triage
Needs a first human triage before being processed.
label
Nov 9, 2017
rebuild_merge |
ansibot
added
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Nov 9, 2017
- add clean up after the last two tests in synchronize to make them match with the expectations in the previous tests Signed-off-by: Robert Marshall <rmarshall@redhat.com>
- add the link-dest option to the synchronize module code - add tests for the link-dest option - add documentation of the link_dest option to synchronize - modify changed flag so it can properly work around rsync upstream not flagging hardlinks as a change properly in formatted output Signed-off-by: Robert Marshall <rmarshall@redhat.com>
kellinm
force-pushed
the
add-link-dest-to-synchronize-module
branch
from
November 9, 2017 20:56
2ab2ae1
to
80d66a6
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Nov 9, 2017
ansibot
added
feature
This issue/PR relates to a feature request.
and removed
feature_pull_request
labels
Mar 5, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.5
This issue/PR affects Ansible v2.5
core_review
In order to be merged, this PR must follow the core review workflow.
feature
This issue/PR relates to a feature request.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Adds support for the --link-destination behavior from rsync in the synchronize module. This is a commonly used feature for keeping several incremental release subtrees around while minimizing the space used on disk. The feature deliberately does not allow nested subtree rsyncs because of how much memory it would take to try and load the entire map into memory to perform the task. The verbose flag is added when using the new feature because rsync does not recognize hardlinking a file as a change. I have filed a bug in the Fedora bugzilla against that issue.
ISSUE TYPE
COMPONENT NAME
synchronize
ANSIBLE VERSION
ADDITIONAL INFORMATION