Skip to content
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

Fix query logic in zopen-install #579

Conversation

DevonianTeuchter
Copy link
Collaborator

Change the zopen-query call to use the updatd parameter no-version rather than no-versions and add more robust error handling if the call was to fail again in future.
Additional test added in metaport PR zopencommunity/metaport#29

if [ ${zqrc} -ne 0 ]; then
printError "Query for installed packages unexpectedly failed; zopen-query returned message: '${chosenRepos}'"
fi
elif ${all}; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No - that was reinstated incorrectly

Copy link
Collaborator

@IgorTodorovskiIBM IgorTodorovskiIBM left a comment

Choose a reason for hiding this comment

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

LGTM

@DevonianTeuchter DevonianTeuchter merged commit eecc7a6 into main Nov 15, 2023
1 check passed
@DevonianTeuchter DevonianTeuchter deleted the 578-rename-of-query-option-no-versions-breaks-zopen-upgrade branch November 15, 2023 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename of query option no-versions breaks zopen upgrade
2 participants