Skip to content

Updates August 2025#14

Merged
GunnarFarneback merged 5 commits into
masterfrom
updates_25_08
Nov 27, 2025
Merged

Updates August 2025#14
GunnarFarneback merged 5 commits into
masterfrom
updates_25_08

Conversation

@GunnarFarneback

@GunnarFarneback GunnarFarneback commented Aug 26, 2025

Copy link
Copy Markdown
Owner

This PR tries to make LocalPackageServer a little more robust, primarily by adding a new configuration variable to control when to make a fresh clone of a repository instead of updating it. This is specifically designed to support updates of HTTPS credentials, which may be baked into registered package URLs or enter through git insteadOf configuration. Edit: the git insteadOf mechanism is inherently robust to such updates.

Important, if you for some reason want to keep the old behavior, you should set repository_clone_strategy to if_missing instead of the default on_failure.

Another important fix is the use of Downloads.download instead of HTTP.get to avoid the redirection bug #1165 in recent HTTP versions.

The Julia compat is bumped to 1.10, the current LTS version.

Add configuration variable repository_clone_strategy.
Use Threads.@Spawn instead of @async.
Handle failures somewhat more gracefully.
Use a bare clone also for registries.
@GunnarFarneback
GunnarFarneback merged commit 1ad6ec0 into master Nov 27, 2025
9 checks passed
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.

2 participants