Skip to content

Commit 1826a07

Browse files
authored
Merge pull request ipfs/kubo#8958 from ipfs/chore/rename-to-kubo
refactor: rename to kubo see: ipfs/kubo#8959 This commit was moved from ipfs/kubo@d82dec3
2 parents 2871589 + 727a167 commit 1826a07

21 files changed

+50
-50
lines changed

gateway/core/corehttp/commands.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ import (
99
"strconv"
1010
"strings"
1111

12-
version "github.com/ipfs/go-ipfs"
13-
oldcmds "github.com/ipfs/go-ipfs/commands"
14-
"github.com/ipfs/go-ipfs/core"
15-
corecommands "github.com/ipfs/go-ipfs/core/commands"
12+
version "github.com/ipfs/kubo"
13+
oldcmds "github.com/ipfs/kubo/commands"
14+
"github.com/ipfs/kubo/core"
15+
corecommands "github.com/ipfs/kubo/core/commands"
1616

1717
cmds "github.com/ipfs/go-ipfs-cmds"
1818
cmdsHttp "github.com/ipfs/go-ipfs-cmds/http"
19-
config "github.com/ipfs/go-ipfs/config"
2019
path "github.com/ipfs/go-path"
20+
config "github.com/ipfs/kubo/config"
2121
)
2222

2323
var (

gateway/core/corehttp/corehttp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"net/http"
1212
"time"
1313

14-
core "github.com/ipfs/go-ipfs/core"
1514
logging "github.com/ipfs/go-log"
15+
core "github.com/ipfs/kubo/core"
1616
"github.com/jbenet/goprocess"
1717
periodicproc "github.com/jbenet/goprocess/periodic"
1818
ma "github.com/multiformats/go-multiaddr"

gateway/core/corehttp/gateway.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"net/http"
77
"sort"
88

9-
version "github.com/ipfs/go-ipfs"
10-
core "github.com/ipfs/go-ipfs/core"
11-
coreapi "github.com/ipfs/go-ipfs/core/coreapi"
9+
version "github.com/ipfs/kubo"
10+
core "github.com/ipfs/kubo/core"
11+
coreapi "github.com/ipfs/kubo/core/coreapi"
1212
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
1313

1414
options "github.com/ipfs/interface-go-ipfs-core/options"

gateway/core/corehttp/gateway_handler.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func newGatewaySummaryMetric(name string, help string) *prometheus.SummaryVec {
189189

190190
func newGatewayHistogramMetric(name string, help string) *prometheus.HistogramVec {
191191
// We can add buckets as a parameter in the future, but for now using static defaults
192-
// suggested in https://github.com/ipfs/go-ipfs/issues/8441
192+
// suggested in https://github.com/ipfs/kubo/issues/8441
193193
defaultBuckets := []float64{0.05, 0.1, 0.25, 0.5, 1, 2, 5, 10, 30, 60}
194194
histogramMetric := prometheus.NewHistogramVec(
195195
prometheus.HistogramOpts{
@@ -666,11 +666,11 @@ func addCacheControlHeaders(w http.ResponseWriter, r *http.Request, contentPath
666666
// mutable namespaces such as /ipns/ can't be cached forever
667667

668668
/* For now we set Last-Modified to Now() to leverage caching heuristics built into modern browsers:
669-
* https://github.com/ipfs/go-ipfs/pull/8074#pullrequestreview-645196768
669+
* https://github.com/ipfs/kubo/pull/8074#pullrequestreview-645196768
670670
* but we should not set it to fake values and use Cache-Control based on TTL instead */
671671
modtime = time.Now()
672672

673-
// TODO: set Cache-Control based on TTL of IPNS/DNSLink: https://github.com/ipfs/go-ipfs/issues/1818#issuecomment-1015849462
673+
// TODO: set Cache-Control based on TTL of IPNS/DNSLink: https://github.com/ipfs/kubo/issues/1818#issuecomment-1015849462
674674
// TODO: set Last-Modified based on /ipns/ publishing timestamp?
675675
} else {
676676
// immutable! CACHE ALL THE THINGS, FOREVER! wolololol
@@ -679,7 +679,7 @@ func addCacheControlHeaders(w http.ResponseWriter, r *http.Request, contentPath
679679
// Set modtime to 'zero time' to disable Last-Modified header (superseded by Cache-Control)
680680
modtime = noModtime
681681

682-
// TODO: set Last-Modified? - TBD - /ipfs/ modification metadata is present in unixfs 1.5 https://github.com/ipfs/go-ipfs/issues/6920?
682+
// TODO: set Last-Modified? - TBD - /ipfs/ modification metadata is present in unixfs 1.5 https://github.com/ipfs/kubo/issues/6920?
683683
}
684684

685685
return modtime
@@ -874,7 +874,7 @@ func getEtag(r *http.Request, cid cid.Cid) string {
874874
// Etag: "cid.foo" (gives us nice compression together with Content-Disposition in block (raw) and car responses)
875875
suffix = `.` + f + suffix
876876
}
877-
// TODO: include selector suffix when https://github.com/ipfs/go-ipfs/issues/8769 lands
877+
// TODO: include selector suffix when https://github.com/ipfs/kubo/issues/8769 lands
878878
return prefix + cid.String() + suffix
879879
}
880880

@@ -957,10 +957,10 @@ func debugStr(path string) string {
957957
}
958958

959959
func handleUnsupportedHeaders(r *http.Request) (err *requestError) {
960-
// X-Ipfs-Gateway-Prefix was removed (https://github.com/ipfs/go-ipfs/issues/7702)
960+
// X-Ipfs-Gateway-Prefix was removed (https://github.com/ipfs/kubo/issues/7702)
961961
// TODO: remove this after go-ipfs 0.13 ships
962962
if prfx := r.Header.Get("X-Ipfs-Gateway-Prefix"); prfx != "" {
963-
err := fmt.Errorf("X-Ipfs-Gateway-Prefix support was removed: https://github.com/ipfs/go-ipfs/issues/7702")
963+
err := fmt.Errorf("X-Ipfs-Gateway-Prefix support was removed: https://github.com/ipfs/kubo/issues/7702")
964964
return newRequestError("unsupported HTTP header", err, http.StatusBadRequest)
965965
}
966966
return nil
@@ -996,7 +996,7 @@ func handleProtocolHandlerRedirect(w http.ResponseWriter, r *http.Request, logge
996996
}
997997

998998
// Disallow Service Worker registration on namespace roots
999-
// https://github.com/ipfs/go-ipfs/issues/4025
999+
// https://github.com/ipfs/kubo/issues/4025
10001000
func handleServiceWorkerRegistration(r *http.Request) (err *requestError) {
10011001
if r.Header.Get("Service-Worker") == "script" {
10021002
matched, _ := regexp.MatchString(`^/ip[fn]s/[^/]+$`, r.URL.Path)

gateway/core/corehttp/gateway_handler_block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"net/http"
88
"time"
99

10-
"github.com/ipfs/go-ipfs/tracing"
1110
ipath "github.com/ipfs/interface-go-ipfs-core/path"
11+
"github.com/ipfs/kubo/tracing"
1212
"go.opentelemetry.io/otel/attribute"
1313
"go.opentelemetry.io/otel/trace"
1414
)

gateway/core/corehttp/gateway_handler_car.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
blocks "github.com/ipfs/go-block-format"
1010
cid "github.com/ipfs/go-cid"
11-
"github.com/ipfs/go-ipfs/tracing"
1211
coreiface "github.com/ipfs/interface-go-ipfs-core"
1312
ipath "github.com/ipfs/interface-go-ipfs-core/path"
13+
"github.com/ipfs/kubo/tracing"
1414
gocar "github.com/ipld/go-car"
1515
selectorparse "github.com/ipld/go-ipld-prime/traversal/selector/parse"
1616
"go.opentelemetry.io/otel/attribute"
@@ -71,7 +71,7 @@ func (i *gatewayHandler) serveCAR(ctx context.Context, w http.ResponseWriter, r
7171
// Same go-car settings as dag.export command
7272
store := dagStore{dag: i.api.Dag(), ctx: ctx}
7373

74-
// TODO: support selectors passed as request param: https://github.com/ipfs/go-ipfs/issues/8769
74+
// TODO: support selectors passed as request param: https://github.com/ipfs/kubo/issues/8769
7575
dag := gocar.Dag{Root: rootCid, Selector: selectorparse.CommonSelector_ExploreAllRecursively}
7676
car := gocar.NewSelectiveCar(ctx, store, []gocar.Dag{dag}, gocar.TraverseLinksOnlyOnce())
7777

gateway/core/corehttp/gateway_handler_unixfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"time"
99

1010
files "github.com/ipfs/go-ipfs-files"
11-
"github.com/ipfs/go-ipfs/tracing"
1211
ipath "github.com/ipfs/interface-go-ipfs-core/path"
12+
"github.com/ipfs/kubo/tracing"
1313
"go.opentelemetry.io/otel/attribute"
1414
"go.opentelemetry.io/otel/trace"
1515
"go.uber.org/zap"

gateway/core/corehttp/gateway_handler_unixfs_dir.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
"github.com/dustin/go-humanize"
1212
cid "github.com/ipfs/go-cid"
1313
files "github.com/ipfs/go-ipfs-files"
14-
"github.com/ipfs/go-ipfs/assets"
15-
"github.com/ipfs/go-ipfs/tracing"
1614
path "github.com/ipfs/go-path"
1715
"github.com/ipfs/go-path/resolver"
1816
options "github.com/ipfs/interface-go-ipfs-core/options"
1917
ipath "github.com/ipfs/interface-go-ipfs-core/path"
18+
"github.com/ipfs/kubo/assets"
19+
"github.com/ipfs/kubo/tracing"
2020
"go.opentelemetry.io/otel/attribute"
2121
"go.opentelemetry.io/otel/trace"
2222
"go.uber.org/zap"
@@ -81,7 +81,7 @@ func (i *gatewayHandler) serveDirectory(ctx context.Context, w http.ResponseWrit
8181
}
8282

8383
// See statusResponseWriter.WriteHeader
84-
// and https://github.com/ipfs/go-ipfs/issues/7164
84+
// and https://github.com/ipfs/kubo/issues/7164
8585
// Note: this needs to occur before listingTemplate.Execute otherwise we get
8686
// superfluous response.WriteHeader call from prometheus/client_golang
8787
if w.Header().Get("Location") != "" {
@@ -146,7 +146,7 @@ func (i *gatewayHandler) serveDirectory(ctx context.Context, w http.ResponseWrit
146146
}
147147

148148
// construct the correct back link
149-
// https://github.com/ipfs/go-ipfs/issues/1365
149+
// https://github.com/ipfs/kubo/issues/1365
150150
var backLink string = originalUrlPath
151151

152152
// don't go further up than /ipfs/$hash/

gateway/core/corehttp/gateway_handler_unixfs_file.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212

1313
"github.com/gabriel-vasile/mimetype"
1414
files "github.com/ipfs/go-ipfs-files"
15-
"github.com/ipfs/go-ipfs/tracing"
1615
ipath "github.com/ipfs/interface-go-ipfs-core/path"
16+
"github.com/ipfs/kubo/tracing"
1717
"go.opentelemetry.io/otel/attribute"
1818
"go.opentelemetry.io/otel/trace"
1919
)
@@ -54,7 +54,7 @@ func (i *gatewayHandler) serveFile(ctx context.Context, w http.ResponseWriter, r
5454
ctype = mime.TypeByExtension(gopath.Ext(name))
5555
if ctype == "" {
5656
// uses https://github.com/gabriel-vasile/mimetype library to determine the content type.
57-
// Fixes https://github.com/ipfs/go-ipfs/issues/7252
57+
// Fixes https://github.com/ipfs/kubo/issues/7252
5858
mimeType, err := mimetype.DetectReader(content)
5959
if err != nil {
6060
http.Error(w, fmt.Sprintf("cannot detect content-type: %s", err.Error()), http.StatusInternalServerError)
@@ -71,7 +71,7 @@ func (i *gatewayHandler) serveFile(ctx context.Context, w http.ResponseWriter, r
7171
// Strip the encoding from the HTML Content-Type header and let the
7272
// browser figure it out.
7373
//
74-
// Fixes https://github.com/ipfs/go-ipfs/issues/2203
74+
// Fixes https://github.com/ipfs/kubo/issues/2203
7575
if strings.HasPrefix(ctype, "text/html;") {
7676
ctype = "text/html"
7777
}

gateway/core/corehttp/gateway_indexPage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"path"
77
"strings"
88

9-
"github.com/ipfs/go-ipfs/assets"
109
ipfspath "github.com/ipfs/go-path"
10+
"github.com/ipfs/kubo/assets"
1111
)
1212

1313
// structs for directory listing

gateway/core/corehttp/gateway_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ import (
1111
"testing"
1212
"time"
1313

14-
version "github.com/ipfs/go-ipfs"
15-
core "github.com/ipfs/go-ipfs/core"
16-
"github.com/ipfs/go-ipfs/core/coreapi"
17-
repo "github.com/ipfs/go-ipfs/repo"
1814
namesys "github.com/ipfs/go-namesys"
15+
version "github.com/ipfs/kubo"
16+
core "github.com/ipfs/kubo/core"
17+
"github.com/ipfs/kubo/core/coreapi"
18+
repo "github.com/ipfs/kubo/repo"
1919

2020
datastore "github.com/ipfs/go-datastore"
2121
syncds "github.com/ipfs/go-datastore/sync"
2222
files "github.com/ipfs/go-ipfs-files"
23-
config "github.com/ipfs/go-ipfs/config"
2423
path "github.com/ipfs/go-path"
2524
iface "github.com/ipfs/interface-go-ipfs-core"
2625
nsopts "github.com/ipfs/interface-go-ipfs-core/options/namesys"
2726
ipath "github.com/ipfs/interface-go-ipfs-core/path"
27+
config "github.com/ipfs/kubo/config"
2828
ci "github.com/libp2p/go-libp2p-core/crypto"
2929
id "github.com/libp2p/go-libp2p/p2p/protocol/identify"
3030
)

gateway/core/corehttp/hostname.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ import (
1010
"strings"
1111

1212
cid "github.com/ipfs/go-cid"
13-
core "github.com/ipfs/go-ipfs/core"
14-
coreapi "github.com/ipfs/go-ipfs/core/coreapi"
1513
namesys "github.com/ipfs/go-namesys"
14+
core "github.com/ipfs/kubo/core"
15+
coreapi "github.com/ipfs/kubo/core/coreapi"
1616
"github.com/libp2p/go-libp2p-core/peer"
1717
dns "github.com/miekg/dns"
1818

1919
mbase "github.com/multiformats/go-multibase"
2020

21-
config "github.com/ipfs/go-ipfs/config"
2221
iface "github.com/ipfs/interface-go-ipfs-core"
2322
options "github.com/ipfs/interface-go-ipfs-core/options"
2423
nsopts "github.com/ipfs/interface-go-ipfs-core/options/namesys"
24+
config "github.com/ipfs/kubo/config"
2525
)
2626

2727
var defaultPaths = []string{"/ipfs/", "/ipns/", "/api/", "/p2p/"}
@@ -506,13 +506,13 @@ func toSubdomainURL(hostname, path string, r *http.Request, ipfs iface.CoreAPI)
506506
// Normalizations specific to /ipns/{libp2p-key}
507507
if isPeerIDNamespace(ns) {
508508
// Using Base36 for /ipns/ for consistency
509-
// Context: https://github.com/ipfs/go-ipfs/pull/7441#discussion_r452372828
509+
// Context: https://github.com/ipfs/kubo/pull/7441#discussion_r452372828
510510
base = mbase.Base36
511511

512512
// PeerIDs represented as CIDv1 are expected to have libp2p-key
513513
// multicodec (https://github.com/libp2p/specs/pull/209).
514514
// We ease the transition by fixing multicodec on the fly:
515-
// https://github.com/ipfs/go-ipfs/issues/5287#issuecomment-492163929
515+
// https://github.com/ipfs/kubo/issues/5287#issuecomment-492163929
516516
if multicodec != cid.Libp2pKey {
517517
multicodec = cid.Libp2pKey
518518
}
@@ -531,7 +531,7 @@ func toSubdomainURL(hostname, path string, r *http.Request, ipfs iface.CoreAPI)
531531
return "", err
532532
}
533533
// 2. Make sure CID fits in a DNS label, adjust encoding if needed
534-
// (https://github.com/ipfs/go-ipfs/issues/7318)
534+
// (https://github.com/ipfs/kubo/issues/7318)
535535
rootID, err = toDNSLabel(rootID, rootCID)
536536
if err != nil {
537537
return "", err

gateway/core/corehttp/hostname_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88

99
cid "github.com/ipfs/go-cid"
1010
files "github.com/ipfs/go-ipfs-files"
11-
config "github.com/ipfs/go-ipfs/config"
12-
coreapi "github.com/ipfs/go-ipfs/core/coreapi"
1311
path "github.com/ipfs/go-path"
12+
config "github.com/ipfs/kubo/config"
13+
coreapi "github.com/ipfs/kubo/core/coreapi"
1414
)
1515

1616
func TestToSubdomainURL(t *testing.T) {

gateway/core/corehttp/logs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"net"
66
"net/http"
77

8-
core "github.com/ipfs/go-ipfs/core"
98
lwriter "github.com/ipfs/go-log/writer"
9+
core "github.com/ipfs/kubo/core"
1010
)
1111

1212
type writeErrNotifier struct {

gateway/core/corehttp/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"time"
77

8-
core "github.com/ipfs/go-ipfs/core"
8+
core "github.com/ipfs/kubo/core"
99
"go.opencensus.io/stats/view"
1010
"go.opencensus.io/zpages"
1111

gateway/core/corehttp/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66
"time"
77

8-
"github.com/ipfs/go-ipfs/core"
8+
"github.com/ipfs/kubo/core"
99

1010
inet "github.com/libp2p/go-libp2p-core/network"
1111
bhost "github.com/libp2p/go-libp2p/p2p/host/basic"

gateway/core/corehttp/mutex_profile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"runtime"
77
"strconv"
88

9-
core "github.com/ipfs/go-ipfs/core"
9+
core "github.com/ipfs/kubo/core"
1010
)
1111

1212
// MutexFractionOption allows to set runtime.SetMutexProfileFraction via HTTP

gateway/core/corehttp/option_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"net/http/httptest"
88
"testing"
99

10-
version "github.com/ipfs/go-ipfs"
10+
version "github.com/ipfs/kubo"
1111
)
1212

1313
type testcasecheckversion struct {

gateway/core/corehttp/p2p_proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/url"
99
"strings"
1010

11-
core "github.com/ipfs/go-ipfs/core"
11+
core "github.com/ipfs/kubo/core"
1212
peer "github.com/libp2p/go-libp2p-core/peer"
1313

1414
protocol "github.com/libp2p/go-libp2p-core/protocol"

gateway/core/corehttp/p2p_proxy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"testing"
77

8-
"github.com/ipfs/go-ipfs/thirdparty/assert"
8+
"github.com/ipfs/kubo/thirdparty/assert"
99

1010
protocol "github.com/libp2p/go-libp2p-core/protocol"
1111
)

gateway/core/corehttp/redirect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net"
55
"net/http"
66

7-
core "github.com/ipfs/go-ipfs/core"
7+
core "github.com/ipfs/kubo/core"
88
)
99

1010
func RedirectOption(path string, redirect string) ServeOption {

0 commit comments

Comments
 (0)