Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

Split go-ipfs/thirdparty/testutil into go-testutil #1

Merged
merged 22 commits into from
Aug 31, 2016

Conversation

geoah
Copy link
Member

@geoah geoah commented Aug 28, 2016

Splitting go-ipfs/thirdparty/testutil for libp2p/go-libp2p-kbucket#1.

@whyrusleeping I went with splitting off the go-ipfs testutil as it seemed a bit more up-to-date than the go-libp2p one.

Also there a missing dependency for go-ipfs/thirdparty/datastore2 in datastore2.go which basically just does this...

func ThreadSafeCloserMapDatastore() ds2.ThreadSafeDatastoreCloser {
    return ds2.CloserWrap(syncds.MutexWrap(datastore.NewMapDatastore()))
}

I would be very keen on removing datastore2.go completely and figuring out where it should go once libp2p/go-libp2p-kad-dht#6 is done and we start actually using these packages in go-ipfs and go-libp2p.

Thoughts? :)

whyrusleeping and others added 21 commits February 12, 2016 17:21
For the rest of the packages in util, move them to thirdparty
and update the references. util is gone!

License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Lars Gierth <[email protected]>
License: MIT
Signed-off-by: Richard Littauer <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
* Update golog in go-ipfs

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update go-libp2p for go-log

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update go-libp2p-secio for go-log

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update go-libp2p-crypto for go-log

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update go-libp2p-peer for go-log

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Import peersore, it wasn't imported

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update peerstore

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update peer

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update secio

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>

* Update go-libp2p

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
Fixes #2601

Also bump version to 0.4.3-dev

License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
License: MIT
Signed-off-by: Jeromy <[email protected]>
@geoah geoah changed the title Split go-ipfs/thirdparty/testutil into go-test Split go-ipfs/thirdparty/testutil into go-testutil Aug 28, 2016
import (
"os"

travis "github.com/ipfs/go-ipfs/thirdparty/testutil/ci/travis"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change this import

@whyrusleeping
Copy link
Contributor

Sweet, LGTM! thank you!

@whyrusleeping whyrusleeping merged commit 2072f69 into libp2p:master Aug 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants