Skip to content

Add JSON API download strategy for download queue #20289

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

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

MikeMcQuaid
Copy link
Member

This fixes the weird/broken existing behaviour which was incorrectly creating symlinks at download time. It also defers much more logic to the original code.

For clarity, rename the existing API::Download class to API::SourceDownload.

While we're here:

  • add a/improve the download_type method on all Downloadable subclasses to improve download queue output format
  • move some logic to RetryDownload

@MikeMcQuaid MikeMcQuaid enabled auto-merge July 21, 2025 15:11
Copy link
Member

@Rylan12 Rylan12 left a comment

Choose a reason for hiding this comment

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

Looks good to me! Haven't looked at the CI failures though

This fixes the weird/broken existing behaviour which was incorrectly
creating symlinks at download time. It also defers much more logic to
the original code.

For clarity, rename the existing `API::Download` class to
`API::SourceDownload`.

While we're here:
- add a/improve the `download_type` method on all `Downloadable`
  subclasses to improve download queue output format
- move some logic to `RetryDownload`
@MikeMcQuaid MikeMcQuaid force-pushed the fix_download_queue_json branch from 8ca07ff to ed5805e Compare July 22, 2025 16:48
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jul 22, 2025
Merged via the queue into main with commit bf3404e Jul 22, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the fix_download_queue_json branch July 22, 2025 17:15
@heliodoro8243

This comment was marked as spam.

@heliodoro8243

This comment was marked as spam.

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.

3 participants