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 option to upgrade collections #73336
Merged
jborean93
merged 8 commits into
ansible:devel
from
s-hertel:ansible-galaxy_collection_upgrade
Feb 3, 2021
Merged
add option to upgrade collections #73336
jborean93
merged 8 commits into
ansible:devel
from
s-hertel:ansible-galaxy_collection_upgrade
Feb 3, 2021
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
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
affects_2.11
feature
This issue/PR relates to a feature request.
needs_triage
Needs a first human triage before being processed.
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.
labels
Jan 23, 2021
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
2 times, most recently
from
January 23, 2021 03:32
d130756
to
079955f
Compare
s-hertel
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jan 26, 2021
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
from
January 27, 2021 22:13
079955f
to
684fcaf
Compare
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
from
January 27, 2021 22:21
684fcaf
to
4d12911
Compare
webknjaz
reviewed
Jan 27, 2021
webknjaz
reviewed
Jan 28, 2021
s-hertel
changed the title
[WIP] add option to upgrade collections
add option to upgrade collections
Jan 29, 2021
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
labels
Jan 29, 2021
s-hertel
commented
Jan 29, 2021
test/integration/targets/ansible-galaxy-collection/tasks/main.yml
Outdated
Show resolved
Hide resolved
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
from
January 30, 2021 21:53
a98f169
to
c4b7dd3
Compare
Filter out preinstalled collections that don't match the new version requirements Add an example to the documentation changelog Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
from
January 30, 2021 23:06
c4b7dd3
to
08847b4
Compare
s-hertel
commented
Feb 1, 2021
changelogs/fragments/73336-ansible-galaxy_collection_install_upgrade.yaml
Outdated
Show resolved
Hide resolved
ansibot
added
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
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
Feb 1, 2021
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Feb 1, 2021
webknjaz
reviewed
Feb 2, 2021
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.
@s-hertel is -U
compatible with -r
? do we want to test this?
changelogs/fragments/73336-ansible-galaxy_collection_install_upgrade.yaml
Outdated
Show resolved
Hide resolved
jborean93
approved these changes
Feb 2, 2021
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.
Looks great, very in depth tests as well which is fantastic.
test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml
Outdated
Show resolved
Hide resolved
test/integration/targets/ansible-galaxy-collection/tasks/upgrade.yml
Outdated
Show resolved
Hide resolved
s-hertel
force-pushed
the
ansible-galaxy_collection_upgrade
branch
from
February 2, 2021 21:59
4568e74
to
ded81d9
Compare
ansibot
added
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
Feb 2, 2021
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
Feb 2, 2021
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
core_review
In order to be merged, this PR must follow the core review workflow.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Feb 3, 2021
webknjaz
approved these changes
Feb 3, 2021
jborean93
approved these changes
Feb 3, 2021
This was referenced Feb 3, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.11
core_review
In order to be merged, this PR must follow the core review workflow.
docs
This issue/PR relates to or includes documentation.
feature
This issue/PR relates to a feature request.
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.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Add an
--upgrade
/-U
flag toansible-galaxy collection install
.Support installing a collection with new version requirements instead of necessitating
--force
/--force-with-deps
ISSUE TYPE
COMPONENT NAME
ansible-galaxy collection install