Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upswarm: push tags integration - request flow #1347
Conversation
justelad
added
the
area:push-sync
label
Apr 23, 2019
justelad
requested a review
from
zelig
Apr 23, 2019
justelad
self-assigned this
Apr 23, 2019
janos
reviewed
Apr 23, 2019
janos left a comment
|
There are compilations errors in swarm/api/http/test_server.go and swarm/fuse/swarmfs_test.go. |
swarm/fuse/swarmfs_test.go Outdated
justelad
added
the
in progress
label
Apr 23, 2019
This comment has been minimized.
This comment has been minimized.
|
I am aware of the linting and compilation errors. This is still WIP (but preliminary implementation is there).
opinions? |
justelad
changed the title
push tags integration
[wip]push tags integration
Apr 24, 2019
justelad
reviewed
Apr 26, 2019
| @@ -297,31 +300,6 @@ func (a *API) ResolveURI(ctx context.Context, uri *URI, credentials string) (sto | |||
| return addr, nil | |||
| } | |||
|
|
|||
| // Put provides singleton manifest creation on top of FileStore store | |||
| func (a *API) Put(ctx context.Context, content string, contentType string, toEncrypt bool) (k storage.Address, wait func(context.Context) error, err error) { | |||
This comment has been minimized.
This comment has been minimized.
justelad
Apr 26, 2019
Author
this method was only used by tests. i think we should not export test helpers on public APIs. hence the functionality was removed from the API struct and duplicated wherever necessary
zelig
reviewed
Apr 27, 2019
swarm/chunk/tags.go Outdated
swarm/storage/filestore.go Outdated
swarm/storage/hasherstore.go Outdated
swarm/storage/hasherstore.go Outdated
swarm/chunk/tags.go Outdated
swarm/storage/hasherstore.go Outdated
This comment has been minimized.
This comment has been minimized.
zelig
commented
Apr 27, 2019
|
can we please work with incremental PRs? Again we cram eveything into this.
My 2c:
|
This comment has been minimized.
This comment has been minimized.
localstore integration was one PR, shed was one PR, new localstore was one PR (not integrated)
ready for review means i would have tagged it ready for review and removed the
There were two days between my last commit on that branch and the last review. Not sure what I was supposed to do in between. |
This comment has been minimized.
This comment has been minimized.
while working on this i figured there's not much use to integrate this in the response, since we lose the ability to pipe the returned hash values from |
zelig
added this to Backlog
in Swarm
via automation
Apr 29, 2019
zelig
moved this from Backlog
to Warm
in Swarm
Apr 29, 2019
justelad
changed the base branch from
add-tags-struct
to
swarm-rather-stable
Apr 30, 2019
justelad
force-pushed the
tagz-count
branch
2 times, most recently
from
8dc9f72
to
4f92cac
Apr 30, 2019
justelad
force-pushed the
tagz-count
branch
from
4f92cac
to
cd10ff2
Apr 30, 2019
justelad
added some commits
Apr 30, 2019
This comment has been minimized.
This comment has been minimized.
|
@zelig this is ready for review. Still left TODO:
|
justelad
changed the title
[wip]push tags integration
swarm: push tags integration - request flow
May 1, 2019
justelad
reviewed
May 1, 2019
swarm/api/api_test.go Outdated
zelig
requested changes
May 1, 2019
zelig left a comment
|
nice one , getting there:
|
swarm/api/client/client.go Outdated
swarm/api/client/client.go Outdated
swarm/api/client/client_test.go Outdated
swarm/api/client/client_test.go Outdated
swarm/api/client/client_test.go Outdated
swarm/api/http/server.go Outdated
swarm/api/http/server_test.go Outdated
swarm/storage/hasherstore.go Outdated
swarm/testutil/tag.go Outdated
justelad
added some commits
May 1, 2019
justelad
added some commits
May 2, 2019
zelig
reviewed
May 2, 2019
swarm/chunk/tags.go Outdated
swarm/chunk/tags.go Outdated
justelad
added some commits
May 2, 2019
zelig
reviewed
May 4, 2019
zelig left a comment
|
lint. shows unnecessary conversion https://travis-ci.org/ethersphere/go-ethereum/jobs/527810385#L257 |
justelad commentedApr 23, 2019
•
edited
this pr integrates the push tags into the low level components that actually do the bead-counting.
supersedes #1318
https://hackmd.io/9eWxJ_MJS8i04onWg49UBA?both
coincidentally resolves #1364 and fixes #1350