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

Externalize package query #4

Open
rsbeckerca opened this issue Sep 16, 2023 · 0 comments
Open

Externalize package query #4

rsbeckerca opened this issue Sep 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsbeckerca
Copy link
Member

We have a request from curl to provide a query to locate the supported version using a URL. A sample query to do this is:

select version_number from versions v
inner join packages p on p.package_key = v.package_key
inner join files f on f.version_key = v.version_key
where p.package_name =    'curl-ssl3.0'
  and f.file_type = 'TNS/X'
  and v.version_key = (select max(version_key) from versions v1
                     where v1.package_key = p.package_key);

The curl prefix and TNS/X or TNS/E can be supplied in the URL (or translated from ia64 and x86_64. Adding the -ssl3.0 should be added in code. We could also create a mapping table for file_type between the external and internal names.

@rsbeckerca rsbeckerca added the enhancement New feature or request label Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants