-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Publish go-ipfs as a gx package #3052
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
Comments
Can I help with this? I have experience with go but not the gx package manager, but I'm happy to do some research to implement this. 😄 |
@g-corneu Hi! Do you have some progress on this? To fix DeCentral-Budapest/ipns-gen#1 we would need this to happen. Are you planning to finish fixing this issue? |
Publishing gx package is very simple even out of the tree, here is gx package of the master right now: QmYTzqEnC31PnxQoA9WhtDsJnVTeDkHaUnh33X3LmKsKLf I will make sure that during next release it is done too. |
Wow, what a prompt response. Thanks a lot. I thought that the original idea of this issue was to add a target to the Makefile that does the release to gx, so a |
gx packages usually have |
Yes we should publish it as a proper package. Need it for ipns-pub and other similar tools too. |
@Kubuxu I have just tried to publish my own version of the ipfs/go-ipfs source code onto an ipfs daemon running on localhost.
So the publishing took too long, I guess. Is it a known problem with gx + a complex enough source code? Do you see any workarounds? Should I report this problem on gx or gx-go, too? |
Can you try running |
I did increase the StorageMax to 1000GB, although I was quite far from the 90% of the 10GB that is the default trigger. Well, I thought that gx would ignore files that match rules in .gitignore. Actually, it did not exclude those that were defined in subfolders. I wondered why the sources of something would be 58MBs and then got rid of the ignored files before publishing.
After getting to this state, the sources went down to 2.6 MB as you can see on https://ipfs.io/ipfs/QmeQ9Ktc14W93VvghbktL5yjAFf4UErPgjb1mBK5pX5kEu but the error message while pinning the root was still shown.
So I went and checked if pinning was done:
No, it was not. So I have started
and waited 3 hours without any results. Is my system screwed up, or is this a regression with the 0.4.4 fixes of pinning? Funny is that traversing all the refs locally takes a fraction of a second:
|
This is complete, we publish new gx packages for every go-ipfs release |
In order for other applications to reliably depend on the go-ipfs source code, we should publish go-ipfs as a gx package, once per release (or maybe more frequently depending on the need).
The text was updated successfully, but these errors were encountered: