Skip to content

Commit fca7376

Browse files
committed
feat: refactoring to version 14
1 parent b14f081 commit fca7376

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ LABEL maintainer "Perfection <[email protected]>"
1414
RUN git clone https://github.com/ipfs/go-ipfs && \
1515
cd go-ipfs && \
1616
#git checkout release-v0.15.0 && \
17-
go get github.com/opensaucerer/go-ds-s3/[email protected]
17+
go get github.com/lighthouse-web3/go-ds-s3/[email protected]
1818

1919

2020
# Add the plugin to the preload list.
2121
RUN cd go-ipfs && \
22-
echo "\ns3ds github.com/opensaucerer/go-ds-s3/plugin 0" >> plugin/loader/preload_list &&\
22+
echo "\ns3ds github.com/lighthouse-web3/go-ds-s3/plugin 0" >> plugin/loader/preload_list &&\
2323
cat plugin/loader/preload_list && \
2424
cat plugin/loader/preload.go && \
2525
make build && \

Dockerfile.old

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ RUN export TZ="Asia/Jakarta" && \
1313
# RUN git clone https://github.com/ipfs/go-ipfs && \
1414
# cd go-ipfs && \
1515
# git checkout release-v0.15.0 && \
16-
# go get github.com/opensaucerer/go-ds-s3/[email protected] && \
16+
# go get github.com/lighthouse-web3/go-ds-s3/[email protected] && \
1717
# # Add the plugin to the preload list.
18-
# echo -en "\ns3ds github.com/opensaucerer/go-ds-s3/plugin 0" >> plugin/loader/preload_list && \
18+
# echo -en "\ns3ds github.com/lighthouse-web3/go-ds-s3/plugin 0" >> plugin/loader/preload_list && \
1919
# # make build && \
2020
# # go mod tidy && \
2121
# # make build && \

Dockerfile.proxy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ LABEL maintainer "Perfection <[email protected]>"
1313
# clone ipfs
1414
RUN git clone https://github.com/ipfs/go-ipfs && \
1515
cd go-ipfs && \
16-
go env -w GOPRIVATE="github.com/opensaucerer" && \
16+
go env -w GOPRIVATE="github.com/lighthouse-web3" && \
1717
#git checkout release-v0.15.0 && \
18-
go get github.com/opensaucerer/go-ds-s3/[email protected]
18+
go get github.com/lighthouse-web3/go-ds-s3/[email protected]
1919

2020

2121
# Add the plugin to the preload list.
2222
RUN cd go-ipfs && \
23-
echo "\ns3ds github.com/opensaucerer/go-ds-s3/plugin 0" >> plugin/loader/preload_list &&\
23+
echo "\ns3ds github.com/lighthouse-web3/go-ds-s3/plugin 0" >> plugin/loader/preload_list &&\
2424
cat plugin/loader/preload_list && \
2525
cat plugin/loader/preload.go && \
2626
make build && \
@@ -83,7 +83,7 @@ RUN apt update -y && \
8383
apt install -y nodejs && \
8484
echo "NODE VERSION $(node --version)"
8585

86-
RUN git clone https://opensaucerer:${GITHUB_TOKEN}@github.com/opensaucerer/node-authentication-middleware.git proxy && \
86+
RUN git clone https://lighthouse-web3:${GITHUB_TOKEN}@github.com/lighthouse-web3/node-authentication-middleware.git proxy && \
8787
cd proxy && \
8888
apt install -y npm && \
8989
npm install && \

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ As go plugins can be finicky to correctly compile and install, you may want to c
2828
> cd go-ipfs
2929

3030
# Pull in the datastore plugin (you can specify a version other than latest if you'd like).
31-
> go get github.com/opensaucerer/go-ds-s3/plugin@latest
31+
> go get github.com/lighthouse-web3/go-ds-s3/plugin@latest
3232

3333
# Add the plugin to the preload list.
34-
> echo -en "\ns3ds github.com/opensaucerer/go-ds-s3/plugin 0" >> plugin/loader/preload_list
34+
> echo -en "\ns3ds github.com/lighthouse-web3/go-ds-s3/plugin 0" >> plugin/loader/preload_list
3535

3636
# ( this first pass will fail ) Try to build go-ipfs with the plugin
3737
> make build
@@ -117,7 +117,7 @@ Otherwise, you need to do a datastore migration.
117117

118118
## Contribute
119119

120-
Feel free to join in. All welcome. Open an [issue](https://github.com/opensaucerer/go-ds-s3/issues)!
120+
Feel free to join in. All welcome. Open an [issue](https://github.com/lighthouse-web3/go-ds-s3/issues)!
121121

122122
### Want to hack on IPFS?
123123

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/opensaucerer/go-ds-s3
1+
module github.com/lighthouse-web3/go-ds-s3
22

33
go 1.18
44

plugin/main/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
plugin "github.com/opensaucerer/go-ds-s3/plugin"
4+
plugin "github.com/lighthouse-web3/go-ds-s3/plugin"
55
)
66

77
var Plugins = plugin.Plugins //nolint

plugin/s3ds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/ipfs/kubo/plugin"
77
"github.com/ipfs/kubo/repo"
88
"github.com/ipfs/kubo/repo/fsrepo"
9-
s3ds "github.com/opensaucerer/go-ds-s3"
9+
s3ds "github.com/lighthouse-web3/go-ds-s3"
1010
)
1111

1212
var Plugins = []plugin.Plugin{

plugin/s3ds_test.go

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

7-
s3ds "github.com/opensaucerer/go-ds-s3"
7+
s3ds "github.com/lighthouse-web3/go-ds-s3"
88
)
99

1010
func TestS3PluginDatastoreConfigParser(t *testing.T) {

0 commit comments

Comments
 (0)