Conversation
fbe2564 to
8457437
Compare
8457437 to
2a1effb
Compare
1df95e2 to
74ab526
Compare
74ab526 to
59fac59
Compare
|
Thanks for all the feedback. I've rewritten the first section (directory strategies) based on it, including the excellent table @konstin mentioned, extending it a bit. I think the page is now more concise, less repetitive. After some digging, I now think that |
The code can fail if there's a |
docs/reference/storage.md
Outdated
| | Purpose | Unix Default | Windows Default | | ||
| | -------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------- | | ||
| | Temporary files and caches | `$XDG_CACHE_HOME/uv` or `~/.cache/uv` as a fallback | `%LOCALAPPDATA%\uv\cache` | | ||
| | Persistent data | `$XDG_DATA_HOME/uv` or `~/.local/share/uv` as a fallback | `%APPDATA%\uv\data` if exists, otherwise `%APPDATA%\uv` | |
There was a problem hiding this comment.
On a fresh install, it uses %APPDATA%\uv to e.g. install Pythons, we should document that as default location, the %APPDATA%\uv\data exists only not to break legacy paths.
There was a problem hiding this comment.
Agreed. Do you think it's important to emphasize this nuance here? I think what the PR has currently is correct.
There was a problem hiding this comment.
I'd document where a user can expect their data to go, and which levers they have to change this. So I'd put %APPDATA%\uvcentrally: It's the location to find uv data, and changing APPDATA can change the location of uv data. %APPDATA%\uv\data should be more akin to a footnote, it something that may be used on a legacy setup, but never when setting something new up, or when changing the location manually. Currently, it reads to me as if %APPDATA%\uv\data is the main one, and %APPDATA%\uv is a fallback.
There was a problem hiding this comment.
I omitted the legacy location entirely, that's really old functionality.
|
Thanks! I addressed all of your feedback except for the one I replied to |
662f8af to
8e54cb2
Compare
8e54cb2 to
000243f
Compare
|
Should we pull in the changes from #16590 here? |
188587a to
132a0ba
Compare
docs/reference/storage.md
Outdated
| - `$TMPDIR` | ||
| - `/tmp` | ||
|
|
||
| === "Windows" | ||
|
|
||
| - `%TMP` | ||
| - `%TEMP` | ||
| - `%USERPROFILE` |
There was a problem hiding this comment.
IMO these should be numbered to make the order of preference clear.
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [astral-sh/uv](https://github.com/astral-sh/uv) | patch | `0.9.9` -> `0.9.10` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>astral-sh/uv (astral-sh/uv)</summary> ### [`v0.9.10`](https://github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0910) [Compare Source](astral-sh/uv@0.9.9...0.9.10) Released on 2025-11-17. ##### Enhancements - Add support for `SSL_CERT_DIR` ([#​16473](astral-sh/uv#16473)) - Enforce UTF‑8-encoded license files during `uv build` ([#​16699](astral-sh/uv#16699)) - Error when a `project.license-files` glob matches nothing ([#​16697](astral-sh/uv#16697)) - `pip install --target` (and `sync`) install Python if necessary ([#​16694](astral-sh/uv#16694)) - Account for `python_downloads_json_url` in pre-release Python version warnings ([#​16737](astral-sh/uv#16737)) - Support HTTP/HTTPS URLs in `uv python --python-downloads-json-url` ([#​16542](astral-sh/uv#16542)) ##### Preview features - Add support for `--upgrade` in `uv python install` ([#​16676](astral-sh/uv#16676)) - Fix handling of `python install --default` for pre-release Python versions ([#​16706](astral-sh/uv#16706)) - Add `uv workspace list` to list workspace members ([#​16691](astral-sh/uv#16691)) ##### Bug fixes - Don't check file URLs for ambiguously parsed credentials ([#​16759](astral-sh/uv#16759)) ##### Documentation - Add a "storage" reference document ([#​15954](astral-sh/uv#15954)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
This is based on, and supersedes @zanieb's #13976