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
ansible-pull: Add --module-args to expose all SCM module args and deprecate old argument specific CLI options. (#48678) #50829
Open
ju2wheels
wants to merge
19
commits into
ansible:devel
Choose a base branch
from
ju2wheels:feature/48678-ansible-pull
base: devel
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+411
−66
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
9a9f765
to
437fb85
Compare
The test
|
2888684
to
63d5149
Compare
bcoca
approved these changes
Jan 14, 2019
… args and their equivalent SCM module arguments. (ansible#48678)
…ts will fail anyway) and separate out the test function for the original integration tests. (ansible#48678)
… that dont support the depth parameter and will fall back to full clone. (ansible#48768)
…k we are exceeding max shell string/buffer/command length on some platforms and thats why it was being dumped into a file previously. (ansible#48678)
…res because its not cleaning up git config. (ansible#50578)
…ately when needed. (ansible#48678)
…or depth support. (ansible#48678)
…date the git depth check. (ansible#48678)
… inventory instead of the repo's ansible.cfg and override localhost inventory to set python interpreter like the implicit localhost does. (ansible#48678)
…ctions for ansible-pull. (ansible#48678)
762d0d8
to
19c885e
Compare
19c885e
to
416d0dc
Compare
@ju2wheels can you rebase? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects_2.8
This issue/PR affects Ansible v2.8
collection
Related to Ansible Collections work
feature
This issue/PR relates to a feature request.
has_issue
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.
new_contributor
This PR is the first contribution by a new community member.
pre_azp
This PR was last tested before migration to Azure Pipelines.
source_control
Source-control category
support:community
This issue/PR relates to code supported by the Ansible community.
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.
SUMMARY
This change adds a generic --module-args parameter that allows ansible-pull to pass parameters to the underlying SCM module used to checkout the repo without requiring the addition of CLI flags specific to options of each SCM module.
All existing CLI options that correspond to a specific SCM module parameter are deprecated and a warning has been added when behavior is being overridden to preserve backwards compatibility.
ISSUE TYPE
COMPONENT NAME
ansible-pull
ADDITIONAL INFORMATION