-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vendor libp2p with gx #2256
vendor libp2p with gx #2256
Conversation
(this should take <=~O(1day) the longest) |
|
i still need to fix the tests so they know what the hell is going on |
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: Jeromy <[email protected]>
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: Jeromy <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
e774205
to
b5a93ea
Compare
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: Jeromy <[email protected]>
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: Jeromy <[email protected]>
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: Jeromy <[email protected]>
now i'm running into docker issues... id like to copy $GOPATH/src/gx into the build context, but i dont see any easy way to do that. Its looking like i'll have to install gx on the docker image and run an install... which is annoying because i've already done it once during the CI test runs... cc @lgierth |
@whyrusleeping it's good now |
oh my god look those tests are green o.o |
@RichardLitt can you take a look at the usability here? Maybe help me out making the readme clear on how this works (all anyone should have to do is run |
i'll merge this in the morning, we can always improve the readme in a followup PR |
In the sharness tests some work has been done to remove any dependency on wget and to use curl instead. It would be nice here to use curl as much as possible instead of wget. |
@chriscool wget is being used inside the container. I tried curl first but it doesn't have the retrying options I was looking for (retrying unconditionally). |
(in other situation, |
@whyrusleeping I opened github.com//pull/2302 to merge into this branch. Is that what you wanted? |
I did the following: - Capitalized IPFS wherever it did not explicitely refer to the CLI command - Moved Dev Dependencies into the Install section - Added a Table of Contents - Capitalised and added periods to various sentences - Capitalised Go - Removed double empty lines - Reindented a few sections to make the flow more clear. - Added a note to the Install section about how to canonically install. License: MIT Signed-off-by: Richard Littauer <[email protected]>
Cleaned up README
@@ -9,10 +9,12 @@ import ( | |||
|
|||
// TestEmbeddedDocs makes sure we don't forget to regenerate after documentation change | |||
func TestEmbeddedDocs(t *testing.T) { | |||
t.Skip("skipping for now, paths are hard") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not really familiar with assets/
: what is this test supposed to do and why are we now skipping it? Could we get a tracking issue and link to it here so it doesn't fall entirely off the radar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test is testing that the string constants in this file match the files stored in git. Except now those files are stored in gx (and we arent storing the gx deps in git). I can probably add a bit of logic to search for the installed package either locally or globally. Good catch
Nice work @whyrusleeping. It's been cool watching Some usability feedback:
Kudos @RichardLitt for the nice clean-up to the README; it's an entry point for so many people who look at IPFS. 👍 |
@noffle good catch on the having install depend on build depend on deps is a good idea. changing that now. |
License: MIT Signed-off-by: Jeromy <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
Agreed. Ideally we'd have versions of |
🐴 LGTM |
Somehow missed the |
@rht: yeah +1. I'd like to see a means of retrieving a pinned version of |
It is simplest to just bootstrap |
The biggest part of this PR will be making sure everything is still easy to dev with