mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-15 07:00:52 +00:00
Rediff patches
Add 0004-Don-t-run-swagger-related-or-modules-tasks-before-te.patch: <REASON> Add 0003-Revert-fix-empty-mirror-check.patch: <REASON> Drop 0003-Don-t-run-swagger-related-or-modules-tasks-before-te.patch: <REASON>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
From: =?utf-8?q?Andr=C3=A9_Roth?= <neolynx@gmail.com>
|
||||
Date: Sat, 11 Jan 2025 19:17:28 +0100
|
||||
Subject: Revert "fix empty mirror check"
|
||||
|
||||
This reverts commit 09a44ba409e82da2ff69a6927a95824ca8f86c2f.
|
||||
---
|
||||
deb/snapshot.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/deb/snapshot.go b/deb/snapshot.go
|
||||
index f2a0d38..0457f25 100644
|
||||
--- a/deb/snapshot.go
|
||||
+++ b/deb/snapshot.go
|
||||
@@ -45,7 +45,7 @@ type Snapshot struct {
|
||||
|
||||
// NewSnapshotFromRepository creates snapshot from current state of repository
|
||||
func NewSnapshotFromRepository(name string, repo *RemoteRepo) (*Snapshot, error) {
|
||||
- if repo.packageRefs == nil || repo.packageRefs.Len() == 0 {
|
||||
+ if repo.packageRefs == nil {
|
||||
return nil, errors.New("mirror not updated")
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -1,3 +1,4 @@
|
||||
0001-disable-swagger.patch
|
||||
0002-disable-new-azure-sdk.patch
|
||||
0003-Don-t-run-swagger-related-or-modules-tasks-before-te.patch
|
||||
0003-Revert-fix-empty-mirror-check.patch
|
||||
0004-Don-t-run-swagger-related-or-modules-tasks-before-te.patch
|
||||
|
||||
Reference in New Issue
Block a user