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

Fixing SODA_SYNC_IVOID so we work with all version 1 SODA services. #538

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

msdemlei
Copy link
Contributor

While protocol IVOIDs in the VO give the full version, matching must ignore the the minor version or we'll break when a new minor version is out. Discussion on version 1.1 of SODA is just starting. Let's better clean this up now.

Actually, it would even be better if we fixed get_adhocservice_by_ivoid to accept a regular expression, because we we really ought to be matching aginst is ivo://ivoa.net/std/SODA#sync-1.\d+; but I'd say that can wait until there is thought of SODA 10.x.

Again, I'd argue this is a minor, preventive bug fix that can do without a changelog entry. SODA 1.1 also is at least one year away, so there's probably no need for backports.

While protocol IVOIDs in the VO give the full version, matching must
ignore the the minor version or we'll break when a new minor version is
out.  Discussion on version 1.1 of SODA is just starting.  Let's better
clean this up now.

Actually, it would even be better if we fixed get_adhocservice_by_ivoid
to accept a regular expression, because we we really ought to be matching
aginst is ivo://ivoa.net/std/SODA#sync-1\.\d+; but I'd say that can
wait until there is thought of SODA 10.x.
@bsipocz bsipocz added this to the v1.6 milestone Apr 17, 2024
@bsipocz bsipocz modified the milestones: v1.6, v1.5.2 Apr 17, 2024
@bsipocz
Copy link
Member

bsipocz commented Apr 17, 2024

Backports for PRs like this are really easy, and I expect to do a v1.5.2 out before IVOA, but don't see the exact timeline for 1.6.
So I'll just include this in the bugfix release

Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Thanks!

@bsipocz
Copy link
Member

bsipocz commented Apr 17, 2024

CI failures are unrelated and are addressed in separate PRs, so I'll go ahead with this and merge now. Thanks!

@bsipocz bsipocz merged commit 1f3622a into astropy:main Apr 17, 2024
8 of 11 checks passed
bsipocz added a commit that referenced this pull request May 22, 2024
Fixing SODA_SYNC_IVOID so we work with all version 1 SODA services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants