chore(deps): update module github.com/adrg/xdg to v0.5.3 (main) #332
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.5.0
->v0.5.3
Release Notes
adrg/xdg (github.com/adrg/xdg)
v0.5.3
Compare Source
Changelog
xdg.SearchRuntimeFile
to also look in the operating system's temporary directory for runtime files.This covers unlikely cases in which runtime files cannot be written relative to the base runtime directory either because it does not exist or it is not accessible, so
xdg.RuntimeFile
suggests the operating system's temporary directory as a suitable fallback location.Internal
v0.5.2
Compare Source
Changelog
Updated logic of
xdg.RuntimeFile
: due to the special nature of theruntime directory
, the function no longer attempts to create it if it does not exist. If that's the case, the function uses the operating system'stemporary directory
as a fallback. The function still creates subdirectories relative to the base runtime directory or its fallback.Justification: the creation of the runtime directory is not in the scope of this package as it has special requirements defined by the XDG Base Directory Specification. Relevant excerpt:
Also, on
Linux
, the parent directories of the default user runtime directory are owned by the root user so they cannot be created by a regular user. pam_systemd is usually responsible for creating the runtime directory (/run/user/$UID
).v0.5.1
Compare Source
Changelog
XDG_BIN_HOME
base directory.See XDG base directories README section for more details.
macOS
.~/.config
at the end of the list of default locations forXDG_CONFIG_DIRS
.~/.local/share
at the end of the list of default locations forXDG_DATA_DIRS
.Windows
:%ProgramFiles%
%ProgramFiles%\Common Files
%LOCALAPPDATA%\Programs
%LOCALAPPDATA%\Programs\Common
Internal
golang.org/x/sys
dependency to the latest version.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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.