Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

remove unimplemented ipns functionalities from Ipfs #384

Merged
merged 6 commits into from
Sep 22, 2020

Conversation

ljedrz
Copy link
Member

@ljedrz ljedrz commented Sep 22, 2020

Remove ipns insertion and cancellation features from ipfs::Ipfs (they are not implemented).

Cc #356

Copy link
Collaborator

@koivunej koivunej left a comment

Choose a reason for hiding this comment

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

So this would leave us:

  • I see the ipfs::Ipns::resolve is different from Ipfs::resolve_ipns
  • insert and cancel are removed, src/ipns/mod.rs becomes unnecessary except for dns
  • ipfs::ipns::dns should probably be dnslink?
  • build.rs compiles src/ipns/ipns_pb.proto for no reason, could be removed, but maybe the file be retained?
  • example is now worthless, could be removed

Perhaps the src/ipns/mod.rs should be cleaned up to contain only comment on why it was removed? Or then just retain the current structure with struct Ipns and move the resolving method from Ipfs::resolve_ipns to it.

Copy link
Collaborator

@koivunej koivunej left a comment

Choose a reason for hiding this comment

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

Looking good, not merging yet, probably no deps but you know better.

@ljedrz
Copy link
Member Author

ljedrz commented Sep 22, 2020

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 22, 2020

Build succeeded:

@bors bors bot merged commit 251a744 into rs-ipfs:master Sep 22, 2020
@koivunej koivunej mentioned this pull request Sep 22, 2020
24 tasks
@ljedrz ljedrz deleted the remove_unimplemented_ipns branch September 22, 2020 12:06
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.

2 participants