From c1122079bf6ebf1ef0db2ee5048e134c9ee9a850 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 27 May 2026 06:14:54 +0000 Subject: Switch package URLs to lindenii.org/go/furgit --- network/receivepack/service/apply.go | 4 ++-- network/receivepack/service/command.go | 2 +- network/receivepack/service/command_result.go | 2 +- network/receivepack/service/execute.go | 4 ++-- network/receivepack/service/hook.go | 10 +++++----- network/receivepack/service/ingest_quarantine.go | 4 ++-- network/receivepack/service/options.go | 8 ++++---- network/receivepack/service/run_hook.go | 4 ++-- network/receivepack/service/service_test.go | 16 ++++++++-------- network/receivepack/service/update.go | 2 +- 10 files changed, 28 insertions(+), 28 deletions(-) (limited to 'network/receivepack/service') diff --git a/network/receivepack/service/apply.go b/network/receivepack/service/apply.go index fdf3eef6..199465d5 100644 --- a/network/receivepack/service/apply.go +++ b/network/receivepack/service/apply.go @@ -1,8 +1,8 @@ package service import ( - "codeberg.org/lindenii/furgit/internal/utils" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/internal/utils" + refstore "lindenii.org/go/furgit/ref/store" ) func (service *Service) applyAtomic(result *Result, commands []Command) error { diff --git a/network/receivepack/service/command.go b/network/receivepack/service/command.go index 9ad50c4f..4d0e3466 100644 --- a/network/receivepack/service/command.go +++ b/network/receivepack/service/command.go @@ -1,6 +1,6 @@ package service -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // Command is one protocol-independent requested ref update. type Command struct { diff --git a/network/receivepack/service/command_result.go b/network/receivepack/service/command_result.go index 37549f08..2afe7e68 100644 --- a/network/receivepack/service/command_result.go +++ b/network/receivepack/service/command_result.go @@ -1,6 +1,6 @@ package service -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // CommandResult is one per-command execution result. type CommandResult struct { diff --git a/network/receivepack/service/execute.go b/network/receivepack/service/execute.go index 92d34a63..e66821d6 100644 --- a/network/receivepack/service/execute.go +++ b/network/receivepack/service/execute.go @@ -3,8 +3,8 @@ package service import ( "context" - "codeberg.org/lindenii/furgit/internal/utils" - objectstore "codeberg.org/lindenii/furgit/object/store" + "lindenii.org/go/furgit/internal/utils" + objectstore "lindenii.org/go/furgit/object/store" ) // Execute validates one receive-pack request, optionally ingests its pack into diff --git a/network/receivepack/service/hook.go b/network/receivepack/service/hook.go index 3826e6fb..a93c5a80 100644 --- a/network/receivepack/service/hook.go +++ b/network/receivepack/service/hook.go @@ -3,11 +3,11 @@ package service import ( "context" - "codeberg.org/lindenii/furgit/common/iowrap" - commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" - objectid "codeberg.org/lindenii/furgit/object/id" - objectstore "codeberg.org/lindenii/furgit/object/store" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/common/iowrap" + commitgraphread "lindenii.org/go/furgit/format/commitgraph/read" + objectid "lindenii.org/go/furgit/object/id" + objectstore "lindenii.org/go/furgit/object/store" + refstore "lindenii.org/go/furgit/ref/store" ) type HookIO struct { diff --git a/network/receivepack/service/ingest_quarantine.go b/network/receivepack/service/ingest_quarantine.go index 75f3a790..dc0fef50 100644 --- a/network/receivepack/service/ingest_quarantine.go +++ b/network/receivepack/service/ingest_quarantine.go @@ -1,8 +1,8 @@ package service import ( - "codeberg.org/lindenii/furgit/internal/utils" - objectstore "codeberg.org/lindenii/furgit/object/store" + "lindenii.org/go/furgit/internal/utils" + objectstore "lindenii.org/go/furgit/object/store" ) func (service *Service) ingestQuarantine( diff --git a/network/receivepack/service/options.go b/network/receivepack/service/options.go index b6e71d64..7a6288b9 100644 --- a/network/receivepack/service/options.go +++ b/network/receivepack/service/options.go @@ -1,10 +1,10 @@ package service import ( - "codeberg.org/lindenii/furgit/common/iowrap" - commitgraphread "codeberg.org/lindenii/furgit/format/commitgraph/read" - objectstore "codeberg.org/lindenii/furgit/object/store" - refstore "codeberg.org/lindenii/furgit/ref/store" + "lindenii.org/go/furgit/common/iowrap" + commitgraphread "lindenii.org/go/furgit/format/commitgraph/read" + objectstore "lindenii.org/go/furgit/object/store" + refstore "lindenii.org/go/furgit/ref/store" ) // Options configures one protocol-independent receive-pack service. diff --git a/network/receivepack/service/run_hook.go b/network/receivepack/service/run_hook.go index c8b1b76c..c9c9b3a5 100644 --- a/network/receivepack/service/run_hook.go +++ b/network/receivepack/service/run_hook.go @@ -3,8 +3,8 @@ package service import ( "context" - "codeberg.org/lindenii/furgit/internal/utils" - objectstore "codeberg.org/lindenii/furgit/object/store" + "lindenii.org/go/furgit/internal/utils" + objectstore "lindenii.org/go/furgit/object/store" ) func (service *Service) runHook( diff --git a/network/receivepack/service/service_test.go b/network/receivepack/service/service_test.go index 94e105da..0f648892 100644 --- a/network/receivepack/service/service_test.go +++ b/network/receivepack/service/service_test.go @@ -6,14 +6,14 @@ import ( "strings" "testing" - "codeberg.org/lindenii/furgit/internal/testgit" - "codeberg.org/lindenii/furgit/network/receivepack/service" - objectid "codeberg.org/lindenii/furgit/object/id" - objectstore "codeberg.org/lindenii/furgit/object/store" - objectdual "codeberg.org/lindenii/furgit/object/store/dual" - objectloose "codeberg.org/lindenii/furgit/object/store/loose" - "codeberg.org/lindenii/furgit/object/store/memory" - objectpacked "codeberg.org/lindenii/furgit/object/store/packed" + "lindenii.org/go/furgit/internal/testgit" + "lindenii.org/go/furgit/network/receivepack/service" + objectid "lindenii.org/go/furgit/object/id" + objectstore "lindenii.org/go/furgit/object/store" + objectdual "lindenii.org/go/furgit/object/store/dual" + objectloose "lindenii.org/go/furgit/object/store/loose" + "lindenii.org/go/furgit/object/store/memory" + objectpacked "lindenii.org/go/furgit/object/store/packed" ) func TestExecutePackExpectedWithoutObjectIngress(t *testing.T) { diff --git a/network/receivepack/service/update.go b/network/receivepack/service/update.go index 753e3b02..86dfa10d 100644 --- a/network/receivepack/service/update.go +++ b/network/receivepack/service/update.go @@ -1,6 +1,6 @@ package service -import objectid "codeberg.org/lindenii/furgit/object/id" +import objectid "lindenii.org/go/furgit/object/id" // PlannedUpdate is one requested ref update planned for this execution. type PlannedUpdate struct { -- cgit v1.3.1-10-gc9f91