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

downloads: alternate archive layouts #730

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aronatkins
Copy link
Contributor

this is not the most efficient approach, but attempts multiple repository archive layouts before giving up.

reduces the number of download attempts before giving up. generally, a single retry is enough. also reduces the cost of additional layout attempts.

fixes #583

this is not the most efficient approach, but attempts multiple repository
archive layouts before giving up.

reduces the number of download attempts before giving up. generally, a single
retry is enough. also reduces the cost of additional layout attempts.

fixes #583
@aronatkins aronatkins force-pushed the aron-alternate-archive-layouts branch from 9b7cfd7 to 8370948 Compare January 31, 2025 18:08
Copy link
Contributor

@kevinushey kevinushey left a comment

Choose a reason for hiding this comment

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

LGTM, although I'd suggest providing some way to opt-out of this behavior (or opt-in to a specific formatter) just in case an escape hatch is needed.

@aronatkins
Copy link
Contributor Author

@kevinushey - Do you think it's worth adapting a memoizing technique like you use in renv? I can certainly add an opt-out that falls back to the CRAN-only approach.

@kevinushey
Copy link
Contributor

Do you think it's worth adapting a memoizing technique like you use in renv? I can certainly add an opt-out that falls back to the CRAN-only approach.

I'm sort of on the fence... how close are we to phasing out internal use of packrat? It might be fine to just take this PR as-is and leave it alone.

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.

Add support for Artifactory archive types
2 participants