Skip to content

Commit 9c97ad9

Browse files
authored
fix(deps): Update module github.com/adrg/xdg to v0.5.3 (#259)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/adrg/xdg](https://togithub.com/adrg/xdg) | require | minor | `v0.4.0` -> `v0.5.3` | --- ### Release Notes <details> <summary>adrg/xdg (github.com/adrg/xdg)</summary> ### [`v0.5.3`](https://togithub.com/adrg/xdg/releases/tag/v0.5.3) [Compare Source](https://togithub.com/adrg/xdg/compare/v0.5.2...v0.5.3) ##### Changelog - Updated `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 - Improved package testing. ### [`v0.5.2`](https://togithub.com/adrg/xdg/releases/tag/v0.5.2) [Compare Source](https://togithub.com/adrg/xdg/compare/v0.5.1...v0.5.2) ##### Changelog - Updated logic of `xdg.RuntimeFile`: due to the special nature of the `runtime 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's `temporary 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](https://specifications.freedesktop.org/basedir-spec/latest). Relevant excerpt: > The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. If the user logs in more than once they should get pointed to the same directory, and it is mandatory that the directory continues to exist from their first login to their last logout on the system, and not removed in between. Files in the directory MUST not survive reboot or a full logout/login cycle. 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](https://www.freedesktop.org/software/systemd/man/latest/pam_systemd.html) is usually responsible for creating the runtime directory (`/run/user/$UID`). ### [`v0.5.1`](https://togithub.com/adrg/xdg/releases/tag/v0.5.1) [Compare Source](https://togithub.com/adrg/xdg/compare/v0.5.0...v0.5.1) ##### Changelog - Added support for the non-standard `XDG_BIN_HOME` base directory. See [XDG base directories](https://togithub.com/adrg/xdg?tab=readme-ov-file#xdg-base-directory) README section for more details. - Added more config and data search locations on `macOS`. - Added `~/.config` at the end of the list of default locations for `XDG_CONFIG_DIRS`. - Added `~/.local/share` at the end of the list of default locations for `XDG_DATA_DIRS`. - Added more application search locations on `Windows`: - `%ProgramFiles%` - `%ProgramFiles%\Common Files` - `%LOCALAPPDATA%\Programs` - `%LOCALAPPDATA%\Programs\Common` ##### Internal - Updated `golang.org/x/sys` dependency to the latest version. - Improved package testing. ### [`v0.5.0`](https://togithub.com/adrg/xdg/releases/tag/v0.5.0) [Compare Source](https://togithub.com/adrg/xdg/compare/v0.4.0...v0.5.0) ##### Changelog - `user-dirs.dirs` config file is now parsed on Unix-like operating systems (except for macOS and Plan 9). See [XDG user directories](https://togithub.com/adrg/xdg?tab=readme-ov-file#xdg-user-directories) README section for more details. - Updated `golang.org/x/sys` dependency to the latest version. ##### Internal - Moved all path related functionality in internal `pathutil` package. - Added internal `userdirs` package: - Moved `xdg.UserDirectories` to `userdirs.Directories`. - Added parsing functions for `user-dirs.dirs` config file. - Improved package testing. </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
1 parent f0e0eb6 commit 9c97ad9

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ module github.com/cloudquery/cloudquery-api-go
33
go 1.21.0
44

55
require (
6-
github.com/adrg/xdg v0.4.0
6+
github.com/adrg/xdg v0.5.3
77
github.com/hashicorp/go-retryablehttp v0.7.7
88
github.com/oapi-codegen/runtime v1.1.1
9-
github.com/stretchr/testify v1.8.4
9+
github.com/stretchr/testify v1.9.0
1010
)
1111

1212
require (
@@ -16,7 +16,7 @@ require (
1616
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
1717
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
1818
github.com/pmezard/go-difflib v1.0.0 // indirect
19-
golang.org/x/sys v0.20.0 // indirect
19+
golang.org/x/sys v0.26.0 // indirect
2020
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b // indirect
2121
gopkg.in/yaml.v3 v3.0.1 // indirect
2222
)

go.sum

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk=
2-
github.com/adrg/xdg v0.4.0 h1:RzRqFcjH4nE5C6oTAxhBtoE2IRyjBSa62SCbyPidvls=
3-
github.com/adrg/xdg v0.4.0/go.mod h1:N6ag73EX4wyxeaoeHctc1mas01KZgsj5tYiAIwqJE/E=
2+
github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78=
3+
github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ=
44
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
55
github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk=
66
github.com/bmatcuk/doublestar v1.1.1/go.mod h1:UD6OnuiIn0yFxxA2le/rnRU1G4RaI4UvFv1sNto9p6w=
@@ -34,15 +34,12 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN
3434
github.com/spkg/bom v0.0.0-20160624110644-59b7046e48ad/go.mod h1:qLr4V1qq6nMqFKkMo8ZTx3f+BZEkzsRUY10Xsm2mwU0=
3535
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
3636
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
37-
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
38-
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
39-
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
40-
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
41-
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
42-
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
37+
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
38+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
39+
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
40+
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
4341
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
4442
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLFVxaq6wH4YuVdsUOr75U=
4543
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
46-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
4744
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
4845
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)