restic/internal/selfupdate
Paulo Saraiva c1a89d5150
Allow for a personal token to be specified for self-updates (#5568)
* Allow for a personal token to be specified for self-updates

This change will allow for setting the $GITHUB_ACCESS_TOKEN environment variable with a Github personal access token, allowing e.g. for higher rate limits

* Refactor github request and add test

---------

Co-authored-by: Paulo Saraiva <pauloman@cern.ch>
2025-11-17 21:39:39 +01:00
..
download.go Don't shadow builtins 2023-05-18 21:15:45 +02:00
download_test.go self-update: add basic test for extractToFile 2023-01-22 15:39:42 +01:00
download_unix.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
download_windows.go self-update: Fix handling of --output on windows 2023-01-22 15:39:42 +01:00
github.go Allow for a personal token to be specified for self-updates (#5568) 2025-11-17 21:39:39 +01:00
github_test.go Allow for a personal token to be specified for self-updates (#5568) 2025-11-17 21:39:39 +01:00
verify.go get rid of fmt.Print* usages 2025-10-03 18:55:46 +02:00