go-ssb tasks for the peachpub grant #9

Open
opened 2021-12-02 10:10:17 +00:00 by cblgh · 0 comments
Member

I'll be collecting tasks in this issue in the event that the work that was planned for making go-ssb/cmd/sbotcli work for peachpub is made obsolete by new revelations (e.g. using kuska-ssb's fully-fledged-already-rust muxrpc client!)

  • plumbing task (aligning go-sbot muxrpc to js interface)
    • convert source friends.hops -> source friends.hopStream (with changed input arg names)
    • create new muxrpc: async friends.hops (same behaviour as today's mistaken source friends.hops)
  • implement support for a config file in go-ssb (read config file & set flags go-ssb correspondingly), more info and more info
  • check what tests exists wrt sbotcli functionality
  • improve blobs functionality
    • figure out what's missing for the peachies
  • write tests for missing functionality / when fixing bugs in sbotcli-ish functionality
  • implementing partialReplication.getSubset in sbotcli
    • debug issues with flags --desc, --limit, --key
  • bonus: discover local fork bug in go-ssb & fixed it
  • deferred
    • —ffi-fy go-ssb/client, opening up use of go-ssb's muxrpc in other languages
      • check with soapy & staltz that the API in go-ssb/client will work for them
    • refactor go-ssb/cmd/sbotcli to use go-ssb/client
    • secret task :o :o :o

researchy questions

  • what kind of filtering & querying can be done from the muxrpc/client layer?
  • how is goasis leveraging the go client to perform queries?
I'll be collecting tasks in this issue in the event that the work that was planned for making `go-ssb/cmd/sbotcli` work for peachpub is made obsolete by new revelations (e.g. using [kuska-ssb](https://github.com/Kuska-ssb/solar)'s fully-fledged-already-rust muxrpc client!) * [ ] plumbing task (aligning go-sbot muxrpc to js interface) * [ ] convert `source friends.hops` -> source friends.hopStream (with changed input arg names) * [ ] create new muxrpc: `async friends.hops` (same behaviour as today's mistaken `source friends.hops`) * [x] implement support for a config file in go-ssb (read config file & set flags go-ssb correspondingly), [more info](https://git.coopcloud.tech/PeachCloud/peach-package-builder/issues/16) and [more info](https://github.com/cryptoscope/ssb/issues/88) * [x] and support [environment variables](https://github.com/cryptoscope/ssb/pull/138) * [x] check what tests exists wrt `sbotcli` functionality * [x] improve blobs functionality * [x] figure out what's missing for the peachies * [x] write tests for missing functionality / when fixing bugs in sbotcli-ish functionality * [x] implementing `partialReplication.getSubset` in `sbotcli` * [x] debug issues with flags `--desc`, `--limit`, `--key` * [x] bonus: discover local fork bug in go-ssb & [fixed it](https://github.com/cryptoscope/margaret/pull/23) * deferred * [ ] —ffi-fy `go-ssb/client`, opening up use of go-ssb's muxrpc in other languages * [ ] check with soapy & staltz that the API in `go-ssb/client` will work for them * [ ] refactor `go-ssb/cmd/sbotcli` to use `go-ssb/client` * [ ] secret task :o :o :o researchy questions * what kind of filtering & querying can be done from the muxrpc/client layer? * how is [goasis](https://git.sr.ht/~cryptix/ssb-oasis/log/go-ssb-6) leveraging the go client to perform queries?
Sign in to join this conversation.
No description provided.