File: 0002-disable-azure.patch

package info (click to toggle)
restic 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,804 kB
  • sloc: sh: 3,692; makefile: 50; python: 34
file content (49 lines) | stat: -rw-r--r-- 1,884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Description: disable azure
Author: Félix Sipma <felix+debian@gueux.org>
Last-Update: 2023-10-23
Forwarded: not-needed

---
 cmd/restic/global.go | 2 --
 go.mod               | 5 -----
 2 files changed, 7 deletions(-)

--- a/cmd/restic/global.go
+++ b/cmd/restic/global.go
@@ -14,7 +14,6 @@ import (
 	"time"
 
 	"github.com/restic/restic/internal/backend"
-	"github.com/restic/restic/internal/backend/azure"
 	"github.com/restic/restic/internal/backend/b2"
 	"github.com/restic/restic/internal/backend/cache"
 	"github.com/restic/restic/internal/backend/gs"
@@ -187,7 +186,6 @@ var globalOptions = GlobalOptions{
 
 func collectBackends() *location.Registry {
 	backends := location.NewRegistry()
-	backends.Register(azure.NewFactory())
 	backends.Register(b2.NewFactory())
 	backends.Register(gs.NewFactory())
 	backends.Register(local.NewFactory())
--- a/go.mod
+++ b/go.mod
@@ -8,9 +8,6 @@ godebug winsymlink=0
 
 require (
 	cloud.google.com/go/storage v1.56.1
-	github.com/Azure/azure-sdk-for-go/sdk/azcore v1.19.0
-	github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.11.0
-	github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.6.2
 	github.com/Backblaze/blazer v0.7.2
 	github.com/Microsoft/go-winio v0.6.2
 	github.com/anacrolix/fuse v0.3.1
@@ -51,8 +48,6 @@ require (
 	cloud.google.com/go/compute/metadata v0.8.0 // indirect
 	cloud.google.com/go/iam v1.5.2 // indirect
 	cloud.google.com/go/monitoring v1.24.2 // indirect
-	github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 // indirect
-	github.com/AzureAD/microsoft-authentication-library-for-go v1.4.2 // indirect
 	github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 // indirect
 	github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.53.0 // indirect
 	github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.53.0 // indirect