Skip to content
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

checkout from IPNS #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

checkout from IPNS #7

wants to merge 1 commit into from

Conversation

cryptix
Copy link
Owner

@cryptix cryptix commented Nov 6, 2015

I want to enable cloning repositories from IPNS, setting upstream to the IPFS hash present at clone.

id, err := ipfsShell.ID()
checkFatal(t, err)
//err = ipfsShell.Publish(id.ID, bareHash)
err = ipfsShell.Publish("", bareHash)
Copy link
Owner Author

Choose a reason for hiding this comment

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

@whyrusleeping I can't get this to work.

L65 blocks indefinitely and L66 gives me failed to find any peer in table.

Any Idea how I could test this without relying on a remote node?

Copy link
Owner Author

Choose a reason for hiding this comment

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

20:01 <@whyrusleeping> yeah... we need an 'ipfs name publish --local' or something
20:01 <@whyrusleeping> or maybe just make the dht put not fail on no peers?
20:01 <@whyrusleeping> idk
20:04 <+cryptix> for the latter, the re-publisher ticker would still run, no?
20:05 <+cryptix> i imagine you'd also want this for a case where you are alone on a network and peers appear latter
20:07 <@whyrusleeping> yeah, the republisher ticker still runs no matter what

Copy link

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants