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

apiage fixes #774

Merged
merged 2 commits into from
Oct 17, 2022
Merged

apiage fixes #774

merged 2 commits into from
Oct 17, 2022

Conversation

phlogistonjohn
Copy link
Collaborator

The apiage script had a few bugs in the new ability to help promote and api from preview to stable. When I tried to use the script for real they raised their ugly heads. This fixes the issues that I saw today.

@phlogistonjohn phlogistonjohn added the no-API This PR does not include any changes to the public API of a go-ceph package label Oct 17, 2022
Copy link
Collaborator

@ansiwen ansiwen left a comment

Choose a reason for hiding this comment

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

LGTM

Probably caused by last minute changes to the pr that added the feature,
it just needed the same initialization as the other section.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
I hadn't tested apiage well enough to see that the existing code didn't
correctly handle the case when all or many apis were becoming stable all
together. Things worked fine for a single function call, but not with
many. This fix tries to only update the JSON when needed while correctly
handling the case of multiple changes in one pkg at once.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
@mergify mergify bot merged commit 4f5281d into ceph:master Oct 17, 2022
@phlogistonjohn phlogistonjohn deleted the jjm-apiage-fixes branch October 17, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-API This PR does not include any changes to the public API of a go-ceph package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants