Skip to content

git: add explicit submodule_init parameter, add submodule_depth parameter, and cleanup parameter support verification. (#48678)#49000

Open
ju2wheels wants to merge 4 commits intoansible:develfrom
ju2wheels:feature/48678
Open

git: add explicit submodule_init parameter, add submodule_depth parameter, and cleanup parameter support verification. (#48678)#49000
ju2wheels wants to merge 4 commits intoansible:develfrom
ju2wheels:feature/48678

Conversation

@ju2wheels
Copy link
Copy Markdown

SUMMARY

git: add explicit submodule_init parameter, add submodule_depth parameter, and cleanup parameter support verification. (#48678)

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

git

ADDITIONAL INFORMATION

@ansibot
Copy link
Copy Markdown
Contributor

ansibot commented Nov 21, 2018

Hi @ju2wheels, thank you for submitting this pull-request!

click here for bot help

@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 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. needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. support:core This issue/PR relates to code supported by the Ansible Engineering Team. 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 21, 2018
@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Nov 21, 2018
@abadger abadger removed the needs_triage Needs a first human triage before being processed. label Nov 27, 2018
@abadger abadger requested a review from webknjaz November 27, 2018 21:26
@abadger abadger added the P3 Priority 3 - Approved, No Time Limitation label Nov 27, 2018
Comment thread test/integration/targets/git/vars/main.yml Outdated
@webknjaz
Copy link
Copy Markdown
Member

@HD650 please look at this as well if you have time.

Comment thread lib/ansible/modules/source_control/git.py Outdated
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Dec 5, 2018
@ju2wheels ju2wheels closed this Jan 12, 2019
@ju2wheels ju2wheels reopened this Jan 12, 2019
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jan 12, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Jan 22, 2019
@ansibot ansibot added support:community This issue/PR relates to code supported by the Ansible community. and removed stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jan 24, 2019
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Feb 6, 2019
@ansibot 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 Jun 11, 2019
@ju2wheels ju2wheels force-pushed the feature/48678 branch 2 times, most recently from 8463967 to 7afaea2 Compare June 11, 2019 02:58
@ansibot ansibot removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Jun 11, 2019
@ju2wheels ju2wheels force-pushed the feature/48678 branch 2 times, most recently from 312f890 to c4a40dd Compare June 11, 2019 14:09
@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jun 11, 2019
Comment thread test/integration/targets/git/vars/main.yml Outdated
@ansibot 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. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. and removed core_review In order to be merged, this PR must follow the core review workflow. labels Jun 25, 2019
…eter, and cleanup parameter support verification. (ansible#48678)

- First PR to partially resolve ansible-pull always doing a recusrive clone. ansible#48678

git: Update integration tests to account for recursive submodule init changes (ansible#48678)

- Update tests to account for that fact that a one level submodule is not considered "recursive" anymore.

Add changelog fragment. (ansible#48678)

Update the release version on the added module parameters. (48678)

Switch git submodule integration tests to use find module instead of command and ls to check clone contents. (ansible#48678)

Note: `ls -1a` includes the elipses for parent and current directory in the listing, but using the find module will not include those, so all file counts are reduced by 2.
Copy link
Copy Markdown
Author

@ju2wheels ju2wheels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved this by removing remote repos and using dynamically created local ones.

Comment thread test/integration/targets/git/tasks/submodules.yml Outdated
Comment thread test/integration/targets/git/vars/main.yml Outdated
Comment thread test/integration/targets/git/vars/main.yml Outdated
@ansibot
Copy link
Copy Markdown
Contributor

ansibot commented Aug 22, 2019

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

test/integration/targets/git/tasks/submodules.yml:268:128: error syntax error: expected <block end>, but found '<scalar>'

click here for bot help

@ansibot
Copy link
Copy Markdown
Contributor

ansibot commented Aug 22, 2019

The test ansible-test sanity --test yamllint [explain] failed with 1 error:

test/integration/targets/git/tasks/submodules.yml:268:186: error syntax error: expected <block end>, but found '<scalar>'

click here for bot help

@ju2wheels
Copy link
Copy Markdown
Author

@webknjaz unit tests have been updated to dynamically create local repos for testing instead of using remote repos. Hopefully this makes the unit test cases clearer and easier to follow.

Let me know if there are any other concerns.

Would I need to put this PR through core review again?

@ksalman
Copy link
Copy Markdown

ksalman commented Oct 5, 2023

Any ETA when this will be merged?

@ju2wheels
Copy link
Copy Markdown
Author

Unless some one else picks it up and runs with it, probably never. I rebased this at least two times and went to their meetings on IRC following their release process to get follow up and feedback once and got nothing. I tried...

I found another way to do what I was trying to do with the related PRs linked to this one, so I wont be putting further effort into trying to get this merged.

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 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. 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. P3 Priority 3 - Approved, No Time Limitation pre_azp This PR was last tested before migration to Azure Pipelines. source_control Source-control category stale_pr This PR has not been pushed to for more than one year. stale_review Updates were made after the last review and the last review is more than 7 days old. support:core This issue/PR relates to code supported by the Ansible Engineering Team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants