From 8c2a380759af13f6a7e3dfe924b0724b47d6ab1d Mon Sep 17 00:00:00 2001 From: tali auster <120901234+atalii@users.noreply.github.com> Date: Fri, 20 Oct 2023 01:26:16 -0600 Subject: [PATCH] remove duplicate section of user-changes.md (#1477) "Enable shared dependencies by default" was in there twice. --- doc/user-changes.md | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/doc/user-changes.md b/doc/user-changes.md index be73ffcc..5553e599 100644 --- a/doc/user-changes.md +++ b/doc/user-changes.md @@ -49,37 +49,6 @@ automatic updates. When enabled, updates may happen before executing commands that rely on indexes: `get`, `search`, `with`, etc. -### Enable shared dependencies by default - -PR [#1449](https://github.com/alire-project/alire/pull/1449) - -Pre-2.0, Alire worked always in "sandboxed" mode; that is, all source -dependencies were found under `/alire/cache`. This behavior can be -now enabled with `alr config --set dependencies.shared false`, locally or -globally. - -By default, post-2.0, Alire works in "shared" mode, where sources are -downloaded once (to `~/.cache/alire/releases`) and unique builds are created -(under `~/.cache/alire/builds`) for unique configurations. This should minimize -rebuilds across crate configurations and workspaces, and eliminate risks of -inconsistencies. - -Disk use is decreased by unique source downloads, but might be increased by -unique build configurations. Cache management and cleanup will be provided down -the road. The build cache can always be deleted to retrieve disk space, at the -cost of triggering rebuilds. - -Unique builds are identified by a build hash which takes into account the -following inputs for a given release: - -- Build profile -- Environment variables modified in the manifest -- GPR external variables declared or set -- Configuration variables declared or set -- Compiler version -- Vaue of `LIBRARY_TYPE` and `_LIBRARY_TYPE` variables. -- Hash of dependencies - ### Deprecation of `dependencies.dir` in favor of `dependencies.shared` PR [#1419](https://github.com/alire-project/alire/pull/1419) -- 2.39.5