Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-graphsync
Commits
90303a52
Commit
90303a52
authored
Jan 19, 2021
by
hannahhoward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(CHANGELOG): update for 0.6.0 release
parent
39076f4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
13 deletions
+34
-13
CHANGELOG.md
CHANGELOG.md
+22
-0
responsemanager/responseassembler/peerlinktracker.go
responsemanager/responseassembler/peerlinktracker.go
+2
-1
testplans/graphsync/main.go
testplans/graphsync/main.go
+10
-12
No files found.
CHANGELOG.md
View file @
90303a52
# go-graphsync changelog
# go-graphsync changelog
# go-graphsync 0.6.0
Major code refactor for simplicity, ease of understanding
### Changelog
-
github.com/ipfs/go-graphsync:
-
move block allocation into message queue (#140) (
[
ipfs/go-graphsync#140
](
https://github.com/ipfs/go-graphsync/pull/140
)
)
-
Response Assembler Refactor (#138) (
[
ipfs/go-graphsync#138
](
https://github.com/ipfs/go-graphsync/pull/138
)
)
-
Add error listener on receiver (#136) (
[
ipfs/go-graphsync#136
](
https://github.com/ipfs/go-graphsync/pull/136
)
)
-
Run testplan on in CI (#137) (
[
ipfs/go-graphsync#137
](
https://github.com/ipfs/go-graphsync/pull/137
)
)
-
fix(responsemanager): fix network error propogation (#133) (
[
ipfs/go-graphsync#133
](
https://github.com/ipfs/go-graphsync/pull/133
)
)
-
testground test for graphsync (#132) (
[
ipfs/go-graphsync#132
](
https://github.com/ipfs/go-graphsync/pull/132
)
)
-
docs(CHANGELOG): update for v0.5.2 (
[
ipfs/go-graphsync#130
](
https://github.com/ipfs/go-graphsync/pull/130
)
)
### Contributors
| Contributor | Commits | Lines ± | Files Changed |
|-------------|---------|---------|---------------|
| Alex Cruikshank | 4 | +3269/-1919 | 47 |
| Hannah Howard | 2 | +112/-20 | 13 |
# go-graphsync 0.5.2
# go-graphsync 0.5.2
Minor release resolves bugs in notification system
Minor release resolves bugs in notification system
...
...
responsemanager/responseassembler/peerlinktracker.go
View file @
90303a52
...
@@ -3,9 +3,10 @@ package responseassembler
...
@@ -3,9 +3,10 @@ package responseassembler
import
(
import
(
"sync"
"sync"
"github.com/ipld/go-ipld-prime"
"github.com/ipfs/go-graphsync"
"github.com/ipfs/go-graphsync"
"github.com/ipfs/go-graphsync/linktracker"
"github.com/ipfs/go-graphsync/linktracker"
"github.com/ipld/go-ipld-prime"
)
)
type
peerLinkTracker
struct
{
type
peerLinkTracker
struct
{
...
...
testplans/graphsync/main.go
View file @
90303a52
...
@@ -11,14 +11,13 @@ import (
...
@@ -11,14 +11,13 @@ import (
"strings"
"strings"
"time"
"time"
badgerds
"github.com/ipfs/go-ds-badger"
"github.com/dustin/go-humanize"
"github.com/dustin/go-humanize"
allselector
"github.com/hannahhoward/all-selector"
allselector
"github.com/hannahhoward/all-selector"
"github.com/ipfs/go-blockservice"
"github.com/ipfs/go-blockservice"
"github.com/ipfs/go-cid"
"github.com/ipfs/go-cid"
ds
"github.com/ipfs/go-datastore"
ds
"github.com/ipfs/go-datastore"
dss
"github.com/ipfs/go-datastore/sync"
dss
"github.com/ipfs/go-datastore/sync"
"github.com/ipfs/go-
graphsync/storeutil
"
badgerds
"github.com/ipfs/go-
ds-badger
"
blockstore
"github.com/ipfs/go-ipfs-blockstore"
blockstore
"github.com/ipfs/go-ipfs-blockstore"
chunk
"github.com/ipfs/go-ipfs-chunker"
chunk
"github.com/ipfs/go-ipfs-chunker"
offline
"github.com/ipfs/go-ipfs-exchange-offline"
offline
"github.com/ipfs/go-ipfs-exchange-offline"
...
@@ -28,24 +27,23 @@ import (
...
@@ -28,24 +27,23 @@ import (
"github.com/ipfs/go-unixfs/importer/balanced"
"github.com/ipfs/go-unixfs/importer/balanced"
ihelper
"github.com/ipfs/go-unixfs/importer/helpers"
ihelper
"github.com/ipfs/go-unixfs/importer/helpers"
cidlink
"github.com/ipld/go-ipld-prime/linking/cid"
cidlink
"github.com/ipld/go-ipld-prime/linking/cid"
"github.com/libp2p/go-libp2p-core/metrics"
"github.com/testground/sdk-go/network"
"golang.org/x/sync/errgroup"
gs
"github.com/ipfs/go-graphsync"
gsi
"github.com/ipfs/go-graphsync/impl"
gsnet
"github.com/ipfs/go-graphsync/network"
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p"
"github.com/libp2p/go-libp2p-core/host"
"github.com/libp2p/go-libp2p-core/host"
"github.com/libp2p/go-libp2p-core/metrics"
"github.com/libp2p/go-libp2p-core/peer"
"github.com/libp2p/go-libp2p-core/peer"
noise
"github.com/libp2p/go-libp2p-noise"
noise
"github.com/libp2p/go-libp2p-noise"
secio
"github.com/libp2p/go-libp2p-secio"
secio
"github.com/libp2p/go-libp2p-secio"
tls
"github.com/libp2p/go-libp2p-tls"
tls
"github.com/libp2p/go-libp2p-tls"
"github.com/testground/sdk-go/network"
"github.com/testground/sdk-go/run"
"github.com/testground/sdk-go/run"
"github.com/testground/sdk-go/runtime"
"github.com/testground/sdk-go/runtime"
"github.com/testground/sdk-go/sync"
"github.com/testground/sdk-go/sync"
"golang.org/x/sync/errgroup"
gs
"github.com/ipfs/go-graphsync"
gsi
"github.com/ipfs/go-graphsync/impl"
gsnet
"github.com/ipfs/go-graphsync/network"
"github.com/ipfs/go-graphsync/storeutil"
)
)
var
testcases
=
map
[
string
]
interface
{}{
var
testcases
=
map
[
string
]
interface
{}{
...
@@ -409,7 +407,7 @@ func createDatastore(diskStore bool) ds.Datastore {
...
@@ -409,7 +407,7 @@ func createDatastore(diskStore bool) ds.Datastore {
defopts
:=
badgerds
.
DefaultOptions
defopts
:=
badgerds
.
DefaultOptions
defopts
.
SyncWrites
=
false
defopts
.
SyncWrites
=
false
defopts
.
Truncate
=
true
defopts
.
Truncate
=
true
datastore
,
err
:=
badgerds
.
NewDatastore
(
path
,
&
defopts
)
datastore
,
err
:=
badgerds
.
NewDatastore
(
path
,
&
defopts
)
if
err
!=
nil
{
if
err
!=
nil
{
panic
(
err
)
panic
(
err
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment