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
better error for "ansible-galaxy collection verify" if there's no MANIFEST.json #67498
Merged
samdoran
merged 5 commits into
ansible:devel
from
s-hertel:better_error_for_missing_manifest
May 14, 2020
Merged
better error for "ansible-galaxy collection verify" if there's no MANIFEST.json #67498
samdoran
merged 5 commits into
ansible:devel
from
s-hertel:better_error_for_missing_manifest
May 14, 2020
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
…as been deleted from the installed collection or if the collection hasn't been installed via normal means
s-hertel
changed the title
Add a better error for "ansible-galaxy verify" if there's no MANIFEST.json
better error for "ansible-galaxy collection verify" if there's no MANIFEST.json
Feb 17, 2020
ansibot
added
affects_2.10
This issue/PR affects Ansible v2.10
bug
This issue/PR relates to a bug.
core_review
In order to be merged, this PR must follow the core review workflow.
has_issue
needs_triage
Needs a first human triage before being processed.
small_patch
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
labels
Feb 17, 2020
s-hertel
commented
Feb 17, 2020
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 17, 2020
If there's something wrong with the local collection's version it will fail before the remote collection is sought
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 17, 2020
samdoran
removed
the
needs_triage
Needs a first human triage before being processed.
label
Feb 25, 2020
samdoran
reviewed
Feb 27, 2020
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 27, 2020
Mock the new isfile call where needed
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
small_patch
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Feb 27, 2020
samdoran
approved these changes
Feb 28, 2020
mkrizek
reviewed
Feb 28, 2020
Co-Authored-By: Martin Krizek <martin.krizek@gmail.com>
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
Mar 8, 2020
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.
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
Apr 8, 2020
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
Apr 16, 2020
Related? #67490 |
@geerlingguy Yes. I commented on that issue with this PR. #68925 is the main fix though. |
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.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
May 13, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.10
This issue/PR affects Ansible v2.10
bug
This issue/PR relates to a bug.
core_review
In order to be merged, this PR must follow the core review workflow.
has_issue
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
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
The MANIFEST.json may have been deleted from the installed collection or the collection may not have been installed via normal means
The error message is misleading right now (e.g.
openstack.cloud has the version '*' but is being compared to '1.0.0'
) since an installed collection could never have an undefined version. Built collections do not have a galaxy.yml for finding the version and only built collections should be install-able for verification against a server.ISSUE TYPE