Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/planetary-social/scuttlego

A Go implementation of the Secure Scuttlebutt protocol.
https://github.com/planetary-social/scuttlego

Release v0.0.4

9ae9c6665a60b285d15d742947c253945c903f3b authored almost 2 years ago
Update go-ssb to d6db27d

I contributed some performance improvements which should speed up
replication.

feecc3693f9377a89cb1cad7e6f3ee5c75318c81 authored almost 2 years ago
Use jsoniter for all marshaling and unmarshaling

We run on phones so every bit of performance matters to the users and
clearly this library is mu...

1cb6a70c37259ccf2244053289fde94460b30d82 authored almost 2 years ago
Release v0.0.3

de337423e4489319725999f67b52564bc2f0cc3f authored almost 2 years ago
Optimize unmarshaling and marshaling createHistoryStream args

Before:

BenchmarkCreateHistoryStreamArguments_MarshalJSON/all_fields-16 1000000 ...

7132da678129c1821ca3749c25b0330cb52510ee authored almost 2 years ago
Add benchmarks for createHistoryStream

b4abf8173a4ffa659c1bcda8d5baaff6beef1b04 authored almost 2 years ago
Add notes benchmarks

389d07b8c9e2117cb2d951c40ae61b29fb63c910 authored almost 2 years ago
Optimize unmarshaling and marshaling EBT notes

Before:

BenchmarkNewEbtReplicateNotesFromBytes/number_of_notes_1-16 421197 ...

9146228d2c64c76e95aeb0630e73e1fd7995f786 authored almost 2 years ago
Move di to service and move things out of di

1a08779a8b28da6a7156bf2b476fd8a17956c32d authored almost 2 years ago
Make mocks and tests internal

9be524c6f836900e23e51cf4d5870ce97a2db403 authored almost 2 years ago
Update changelog

0cb8d68dfb5585ddaff7c396a8902abd93cc2b2b authored almost 2 years ago
Create fewer goroutines when replicating own feed

16ac1526200c4c7ab0d9d78cabbe5f936f9d07e7 authored almost 2 years ago
Fix flaky test

I am unable to replicate this locally but I believe this should fix the
test as now we start tra...

e283fa47a7391a999bc408f17d3918adee8a3dea authored almost 2 years ago
Release v0.0.2

950b56f46a3f0cf65f017a88541efeee058496c3 authored almost 2 years ago
Fix a deadlock in duplex streams

Calling CloseWithError could deadlock for duplex messages if the
connection was trying to pass i...

da66116165ac74d72931fadca935601745456d58 authored almost 2 years ago
Add transport tests and benchmarks

bd638a2f897de6eb62c5809bcbe237e575387cff authored almost 2 years ago
Fix logging after test concludes

a6e728e111df725365def954d4d93e77412aa827 authored almost 2 years ago
Optimize NewMessageHeaderFromBytes

c17988a4908b656a969872f9322fdc5364575a2a authored almost 2 years ago
Add handle incoming request benchmark

62f3c7b067b927401b09bfe15bc18a97236d1377 authored almost 2 years ago
Simplify benchmark

29d831d2af38e812fbc84c7022aa66031e6cb6ba authored almost 2 years ago
Simplify and optimize the control flow in request streams

4dfc79f7e2619fd8404120450756a8b49ea8f473 authored almost 2 years ago
Use jsoniter for faster request unmarshalling

f1a085daa0f3ed315ea15e9522593b23324cbf82 authored almost 2 years ago
Change the way loggers work

f3e9c993ad9d364744408ba742074efec0ff13cd authored almost 2 years ago
Fix tests

They were relaying on the request stream closing itself but now the
entire connection is require...

33e7adca04cf1b951de43f45df8668cbd4645cb6 authored almost 2 years ago
Remove unused type

73bda8dfabf44ca83a1bdc7bca54eddbc279046d authored almost 2 years ago
Cache blobs that should be pushed

b454eb436c37af31a1afdc3d6034f0f407cbd736 authored almost 2 years ago
Release v0.0.1

We have to do this at some point right?

a5dc65cd772df5dd2d66ac0d99bdecfcd6557501 authored almost 2 years ago
If connection is closed then consider the stream already closed

c6e75ef25af8c199b69b113bc663de33aaa95733 authored almost 2 years ago
Fix blobs not being saved if directory disappeared

This can happen if migrations detect that the directory is in their view
"malformed" (doesn't co...

b9d818798bee16e1b2b35e2bfa2317b153396004 authored almost 2 years ago
Fewer allocs

e30649f61c6bf98271c27b29f1825528a55beba2 authored almost 2 years ago
Fewer allocs

e02c05ea0ef97505f5f6548647b233eb306fcb53 authored almost 2 years ago
Add a command to override the entire ban list

The ban list is small for now so this will simplify the Swift
implementation.

24a465413efdae1565486a1917592fde61e31de3 authored almost 2 years ago
Make fixtures internal

cf4c4024ee68c5f33b7d5a4f22acf239a8e2c169 authored almost 2 years ago
Code cleanup

5fbea41e7e7be28d08c37a2c0886db77d072d9f3 authored almost 2 years ago
Speed up foreach for our usecase

499fab6d86899bd7a5157fd069cf97465db7b1ad authored almost 2 years ago
Don't allocate every time we get bucket path

7891ee91d0c8a3c817b1012ca421853e914ec1a4 authored almost 2 years ago
Reduce number of calls to ref.String()

Encoding to base64 inside the loop puts a lot of pressure on the GC.

58076f3504bd89ab0a6f7c31a6c4399f8a30c27c authored almost 2 years ago
Optimize KeyInBucket

This is a bottleneck when loading contacts. Replaced an implementation
that used a buffer with a...

f92c8804e6d8310d59a59549e73ccaa80432a73b authored almost 2 years ago
Replace json with jsoniter in SocialGraphRepository

encoding/json:
BenchmarkSocialGraphRepository_GetContacts/followees=1-16 125984 ...

dcb05e66ec12d0d785fd365ab5ebb0aa064eb251 authored almost 2 years ago
Cache ban list

cbd51266a9e00b101fb8f3db808d0ac7f313ec66 authored almost 2 years ago
Optimize get messages

d033424d75efc58188a54250ab335c8bf3b8dad8 authored almost 2 years ago
Cleanup less often

9c687fa67f45c6fcf98f95a363f57fbc97c475fc authored almost 2 years ago
Progressively build social graph

f1a64f47fad2d93e492bd14c4ae907630722f97d authored almost 2 years ago
Only parse looking for blobs if there is a reason to

af41efae006d16965f14dc0b8368ed881d087d72 authored almost 2 years ago
Try to persist more often to avoid sorting

Badger performs a lot of sorting internally.

7fb5d5e3c6111d5da017183f89dc60d4ac15140b authored almost 2 years ago
Peek messages before verifying them

3cc924d98ba1f6a6cf4d9a6d424db46e1ba6ee3a authored almost 2 years ago
Pass contexts as arguments instead of storing them

250ab8b3f65828f94b302bce29ead1729ceaa095 authored almost 2 years ago
Don't needlessly query contacts storage

We were accidently getting contacts of children just to check that they
are too far away in the ...

98708b4bd979b411f3a33b9a845924a69d870930 authored almost 2 years ago
Remove commented out code

edbc2fe5e2b0833f2a250ac627734ad37e426367 authored almost 2 years ago
Fix social graph

We were using depth first search for some reason, brain fart most
likely.

944538c372e326b395e2ec85ce9d8612689285ff authored almost 2 years ago
Fix: typo

0e1ca48b67dddf57d1074b434ef9a1b60dc8fdac authored almost 2 years ago
Fix: typo

d236dcfbbf52ec988855743104828d477cc63d66 authored almost 2 years ago
Set correct response body type

Messages which are requests based on headers can have body type set to
binary due to the fact th...

b03b80c5fc14ad806ed3be6918e5ba81a57331de authored almost 2 years ago
Do not perform writes when listing want lists

4e9568c70477d58a1f0ca61aeef246434fa3aeeb authored almost 2 years ago
Avoid loading the entire feed just to get the sequence

46c35fd6e213cb38e6149e4d0860353d57ab4c50 authored almost 2 years ago
Don't replicate forked feeds with peers who have them

5a5d6404665c760bd8cc1cd3ec0357a0f746c520 authored almost 2 years ago
Update contributing documentation

ae4b30f6441535d78ec8c55c8be79e2c35fc1221 authored almost 2 years ago
Move the code creating wanted feeds to application

972ed33bf3145cf6112cca4f2b75740211035535 authored almost 2 years ago
Fix default hops value

The default hops value didn't match the comment.

7a5daf8ce5a0276dbed3b6dcac1a3ac60750169b authored almost 2 years ago
Improve message buffer logging

8fe4de7be4a709a87a23af556402cc693d5ce20b authored almost 2 years ago
Fix handling duplicate sequences in message buffer

Message buffer (which uses FeedMessages) often contains duplicate message
sequences because it m...

d6d5d269bda656b7b8e2c853b3b65a8bf6c3bf71 authored almost 2 years ago
Make log debugger handle invalid UTF-8

688b2ceb45dab10df6cccb2224a59fa87a3e025a authored almost 2 years ago
Make useful types in transport public

66a808ea0abf5f2668a1438dad3eda63493c3755 authored almost 2 years ago
Remove an unnecessary pointer

ab28d505e4cacbd2f8a8f2c5cd7eab50b5a709ad authored almost 2 years ago
Change package to a test package

386f10b9743bcc163b016eb38c9be3e7a0e08185 authored almost 2 years ago
Support blobs.get requests with "key" instead of "hash" (#213)

422b735c1d53062753e1d6207905046f02c46f7c authored almost 2 years ago
Push blobs to peers (#211)

61064f466774e586ae0950c36f4c74a45018c166 authored almost 2 years ago
Detect and handle forks during migration (#209)

Sometimes messages are quietly forked and we don't know which is the
correct one. If we detect ...

6c4cdb2f3eb4a9c9bb48a32cc7b68c28ba534143 authored almost 2 years ago
Reserve receive log sequences even if messages are not used (#208)

Fixes https://github.com/planetary-social/scuttlego/issues/196.

d8f17836247dfc03c3baadd4fab6cd9bb3e97082 authored almost 2 years ago
Better error message (#207)

7d65319dc0cc09dc9cdb7793cc1da4cc32bd0091 authored almost 2 years ago
Fix receive log data corruption on migration (#206)

Ignored messages were treated as successes and put in the receive log. The receive log would the...

dcfc9025ca7090d306bf18edc00f481e1538ae03 authored almost 2 years ago
Remove nesting slices of blobs in slices of blobs (#205)

This makes no sense and makes the code illogical.

761a5b3bbba3d12b3a19c07710b2191fa85e951d authored almost 2 years ago
Rename RawMessageContent to RawContent (#204)

fdd2d5a609ea30552bc69318de93ad4c2efdce95 authored almost 2 years ago
Decouple scanning for blobs from known contents (#198)

We need to scan our own messages for blobs in order to push them. The
previous approach to find...

2c0b7e9f60c9796bc26d5dd83d01ad77314416a5 authored almost 2 years ago
Move MessageHMAC to a separate file (#203)

97617cf0c229781f0fa426256c50a43b7b2e06cc authored almost 2 years ago
Fix error wrapping (#202)

e2c2b3f32e562c2ccaa6e61d48f735e8b990730a authored almost 2 years ago
Fix incorrect error handling during migration (#201)

5c8b824aa4a97ddc423f3d9926819a5e7ccc7700 authored almost 2 years ago
Delted messages are removed from receive log (#194)

The receive log used to break when messages were removed. Alternative
solution would be to skip...

23444ad5266d9d4554653799097270a89432e3cf authored almost 2 years ago
Add test which confirms that receive log breaks when messages are deleted (#192)

Add a way to write integration tests.

Add a query to get messages by id to make writing an in...

74bd8df6cb0052e9932637fe38366601ebe530cc authored almost 2 years ago
Add hops to config (#191)

b6a76d80469cd2dd3ee02f244aba9a1b684edb7e authored almost 2 years ago
Enable linter for wireinject build tags (#190)

Removed not needed ignore tags and one set that was found to be unused.

cf4e8c62c79654007600bed66ff60965165424e7 authored almost 2 years ago
Move item to separate file (#189)

be39af46811e040b9ed5d569286c483bad3fcb93 authored almost 2 years ago
Remove a log statement that could be executed after test exits (#188)

This caused random test failures. The context terminates correctly but
there is a race condition.

c25cd60e67e011dc4d22d4f9bbc5926ccee5155a authored almost 2 years ago
Change the published log implementation (#186)

The requirement for the message pointed to by the last receive log
sequence to exist and be fro...

7318fea165f0d6d0e44cdf55c5784c1d59d7bbd2 authored almost 2 years ago
Make it very obvious if the slice being used is safe (#187)

Badger's interfaces can be confusing due to different signatures.

85ce7c2749bd3d2c34dda1fbbd5789eca83c5fa3 authored almost 2 years ago
Make transactions visible in queries (#184)

Let's stop lying to ourselves.

Some changes to interfaces, errors moving, domain changes are ...

d3f083efe37d4ebdd2cab51c81001b018613226f authored almost 2 years ago
Use build matrix with two latest Go versions for builds (#185)

Also bump linter to support Go 1.20. Fixed the warnings.

8aaadf41ae54a797a38c3c896927543ab92b9715 authored almost 2 years ago
Bump go-ssb (#183)

See https://github.com/ssbc/go-ssb/issues/324. This removes the need for
replace directives.

13bdf284f82e76dac26772a79bbe205ec1248ac3 authored almost 2 years ago
Log import errors

This should make later debugging easier.

170769ce4b06e175b895836869a04f7a79cbb194 authored almost 2 years ago
Require logging system in badger logger (#181)

b3aac191585ec10ddee14333f7df1b045b96ff53 authored almost 2 years ago
Expose sync writes in Badger options

8428e38c95dde1cc81d7e0cd73f9a1ccc4d195f5 authored almost 2 years ago
Improve logging (#179)

The idea is to get some fields from context automatically.

6e1c01c14117ade533fd4a894ddbb54015f81c28 authored almost 2 years ago
Clarify how go-ssb is reused in the README (#177)

I believe there was some confusion about this. This change clarifies
that go-ssb's code wasn't ...

4bbda8b80e97b76dcc293a13669131ff32c5d655 authored almost 2 years ago
Change import paths to github.com/ssbc

The repos were moved and it is time to update the import paths. I also
made sure that we use the...

e0d2a0b2f8e00f9123adc4e35aad6c1595ee37f3 authored almost 2 years ago
Make sure that we are not illegaly reusing badger keys

Badger keys can't be reused without copying them. Matt's database
somehow got corrupted after ad...

ea2dacca65fd0ef783dc4ebe152400b251e5dd7b authored about 2 years ago
Add a network log debugger (#173)

Log debugger analyses log files and displays them in a more readable
format. Right now it only ...

d4215fba9548ca62307f05d06e8a0278fefa4ec8 authored about 2 years ago
Message buffer fixes (#171)

Messages which come from forked feeds are dropped from the buffer. Messages which come from feed...

66b396b0f2e0b1e307ddc60e826c8c55fd5b026d authored about 2 years ago
Add a migration that will remove directories which can't be read

0a6645828281c9c56a1620c9b854cc86417db273 authored about 2 years ago
Call progress callback when migrations are executed

- OnRunning is only called when a particular migration has to be
executed so if all migrations...

93f94ebd082c447ada4fa07ec31b133593c25fd5 authored about 2 years ago
Include Makefile in cache (#166)

I think since Makefile contains some tool versions it also needs to be included
in cache. I als...

9b69e06adcf8e7c9412b500eef419eac283685a8 authored about 2 years ago