Ecosyste.ms: OpenCollective

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

github.com/arborchat/forest-go

Golang utility library for working with the Arbor Forest, mirrored from sourcehut
https://github.com/arborchat/forest-go

deps: update to latest protonmail crypto

0e51e2b5d99c6097adcff494a0faf883601b0d18 authored almost 4 years ago by Chris Waldon <[email protected]>
feat(grove): support removing subtrees

e3b60d5a8e86c73b86ab4e1818b5de3a74c9ad98 authored about 4 years ago by Chris Waldon <[email protected]>
wip(grove): implement child cache entry removal

d32d4332375ad289489d46dfaf1c964246c7e0e3 authored about 4 years ago by Chris Waldon <[email protected]>
wip(store): initial work on subtree removal

b5818c3bc3210c63ec78bb26988af444d9a8d3c7 authored about 4 years ago by Chris Waldon <[email protected]>

960be2d2c5ccc9750cb4c2350d55d36317dc7747 authored about 4 years ago by Andrew Thorp <[email protected]>
feat(twig): reject values with null bytes in Set

b9e48a8b078db9fbc37238edd6b174d54e0ba8f2 authored about 4 years ago by Chris Waldon <[email protected]>
tests(fields): regression test to catch qualifieds with bad lengths

684e79d53baf9e69be2eeb6e7b1dafede91c7ef2 authored about 4 years ago by Chris Waldon <[email protected]>
fix(fields): guard against incorrect qualified type lengths

ee23841ca2653c84b4c1d3d984232f76605457f4 authored about 4 years ago by Chris Waldon <[email protected]>
tests: update errNode to new Node interface

2dc7b274c0403a11dfd1249875151c99e8fdd5f1 authored about 4 years ago by Chris Waldon <[email protected]>
Add author and metadata getters to Node interface Validate metadata in shallow node validation

7d6e31fb4fa5cee1a70e33ba24a2964b266d5e45 authored about 4 years ago by Andrew Thorp <[email protected]>
chore: remove unnecessary error handler

6acac05fe174b6003520bbebe1a55f5b8bb0f543 authored over 4 years ago by Chris Waldon <[email protected]>
Use twig key parser

58735515fd29915434f5b28bf70b57f1c43c1035 authored over 4 years ago by Andrew Thorp <[email protected]>
Add metadata handling

Add twig read/write functionality to node creation

Address feedback

Fix struct accessibility

...

8b3fa96d779cba2369a41d38039937bc1498da24 authored over 4 years ago by Andrew Thorp <[email protected]>
feat: suppress extra archive notifications

Previously, archive.Add-ing a node would *always* send a
notification to all subscribers, but th...

d3d4a318419f05b403681d2ccbafb2b5c2cc7e06 authored over 4 years ago by Chris Waldon <[email protected]>
deps: officially switch to golang.org/x/crypto fork

529ac9248d93317eaf88e65b1fb4f911929fed45 authored over 4 years ago by Chris Waldon <[email protected]>
Merge branch 'protonpgp'

c7a4d89bc08753da0fc038d329bceed1d3285905 authored over 4 years ago by Chris Waldon <[email protected]>
feat: simplify Archive implementation

4c1deda29dc2235bc870896dd1496e821d964ddd authored over 4 years ago by Chris Waldon <[email protected]>
feat: reorganize Store implementations into new package

4089ee7e5d938ee4ec4805d98d4e61f014c58fb7 authored over 4 years ago by Chris Waldon <[email protected]>
deps: switch to protonmail crypto lib fork

e3a47dd95cda27c9d7aed317a3c2b2d166a4a203 authored over 4 years ago by Chris Waldon <[email protected]>
feat(fields): make SchemaVersion a uint16

0859340e8253a7b840a7711beea5b4437f3fd9e5 authored over 4 years ago by Chris Waldon <[email protected]>
bugfix(twig): empty twig data is valid

6ac8c6fd0fd76138df27fe2b6de12c626a95a90d authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: update builder.go to use new sig type

138e355c429cad48dff936ba115bb073597abb63 authored over 4 years ago by Chris Waldon <[email protected]>
feat(fields): make SignatureType specify pubkey algorithm

0cf944d748f44c8f4ca173f1deb95848e676b3cd authored over 4 years ago by Chris Waldon <[email protected]>
test/feat: validate new content/key types and test

d51f8e47925cd91a1077e7d59cc127c8305afced authored over 4 years ago by Chris Waldon <[email protected]>
test: fix tests to use new node creation signatures

3d95e73c5a563b390aee7d1bb9b35c11b7669c55 authored over 4 years ago by Chris Waldon <[email protected]>
feat: enable all characters in twig key name

e24f74036e4b738795ac1717023d4b89725b45aa authored over 4 years ago by Chris Waldon <[email protected]>
doc: clarify about delimiter character

815861b8260579398ec6a6c863749bee2cb68178 authored over 4 years ago by Chris Waldon <[email protected]>
feat: add accessor for twig data on nodes

5b61f5a0eb5eb65f632dd958310b119d630e97d2 authored over 4 years ago by Chris Waldon <[email protected]>
doc: fix twig key example format

e09f9095b7d73603bc844dd7ab891c7ac3a9b56f authored over 4 years ago by Chris Waldon <[email protected]>
feat: switch to non-JSON metadata (tests broken)

f1f13534efb5d95f18030b8d2a4510ed9fe54bcf authored over 4 years ago by Chris Waldon <[email protected]>
doc: clarify that twig keys can't contain NULL

38554a25e40ddd710b4d7c46698dc88175c44e5b authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: ensure twig key serialization obeys tests

19a38b35f935e5f39300c8dfa973949c1be2951a authored over 4 years ago by Chris Waldon <[email protected]>
test: ensure twig.Data rejects bad keys on marshal

f7716e32aa607b0fc294dab87033370fd4aa1136 authored over 4 years ago by Chris Waldon <[email protected]>
test: ensure FromString() and String() on keys are inverse

4ecbf99b7f30f54e35284479d13e0b1959fc5a7d authored over 4 years ago by Chris Waldon <[email protected]>
doc: add twig format docs

67d16bc32dff9fb1ba04747b409f0c52a3139275 authored over 4 years ago by Chris Waldon <[email protected]>
test: ensure twig.Data can {un,}marshal binary

b610cd7634748d760ceedeaf68f269e649ae7c7a authored over 4 years ago by Chris Waldon <[email protected]>
feat: define simple metadata storage format

a11638814b5e6b8991fdf595bd1ddc4d7426cff5 authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: serialize: ensure broken BytesConsumed() can't crash serializer

a9ef43dd977ffeaae879db83d8b44b15602ab630 authored over 4 years ago by Chris Waldon <[email protected]>
test: serialize: add regression test for ticket #67

This adds a (currently failing) regression test to ensure that when
a BytesConsumed method retur...

fb18c51083f55b9a5f82f7a02d902db3611fc1d1 authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: grove: ensure lack of children is cached too

cfe3d417aa378edc3b1746a6549b07251a9960a4 authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: grove: different pointers to same nodeID now cache the same

23fc212466a7d81c6a22067ab501e827e30b897e authored over 4 years ago by Chris Waldon <[email protected]>
feat: grove: use cache in nodeFromInfo()

768007f25f2ec5aa5af8302bbcfb90b4582d0fc1 authored over 4 years ago by Chris Waldon <[email protected]>
bugfix: grove: stop leaking file descriptors

c2359fe6f4af78f55c8aa1d6363149563eea6983 authored over 4 years ago by Chris Waldon <[email protected]>
feat: grove: incorporate node cache as well

5732eebd13274865c44ecca766f7c4a1281e28e1 authored over 4 years ago by Chris Waldon <[email protected]>
feat: grove: leverage simple child cache to speed up Children()

b754dd877b38a40f1e17b2733b40d84425eb5bea authored over 4 years ago by Chris Waldon <[email protected]>
feat: grove: implement simple ChildCache type

1d7aff1544addfc80b5eeef4c1f0bd7ba90f1626 authored over 4 years ago by Chris Waldon <[email protected]>
feat: testutil: create utility pkg for easier testing

6534f8cf67307dda0bc2fb90ad4e591c946296be authored over 4 years ago by Chris Waldon <[email protected]>
feat: archive: add higher-level store wrapper type

The Archive package adds a type that can wrap a store (which provides
fairly granular low-level ...

368b04ef634a3f788650fd8c13ca9308116940b0 authored over 4 years ago by Chris Waldon <[email protected]>
Ensure that node ids with "__" still unmarshal

Base64url data can contain multiple consecutive underscores. A
double underscore is used as a de...

559a3de408da5eadd967e26b618a94b03375c74f authored almost 5 years ago by Chris Waldon <[email protected]>
Switch to simpler ID string method

0692d0afe5edbb9e77056b29242da687a0ce410f authored almost 5 years ago by Chris Waldon <[email protected]>
Document Add() behavior in Store interface

204658a7a9c01eb1e511f5fb35ef123de0af1eb7 authored almost 5 years ago by Chris Waldon <[email protected]>
Ensure grove Add() doesn't rewrite existing files

60f0c3cebd30beef8728f80f4c1631c48ed2e700 authored almost 5 years ago by Chris Waldon <[email protected]>
Add test ensuring Add() doesn't modify existing nodes

b672384817a94a8884c0b6f13b73c344c2b9fb98 authored almost 5 years ago by Chris Waldon <[email protected]>
Remove wisteria (viewer) code

Wisteria now lives in https://git.sr.ht/~whereswaldon/wisteria

868ed7d54ed584dc3b841827a372a97f992c83c9 authored almost 5 years ago by Chris Waldon <[email protected]>
Merge remote-tracking branch 'origin/master' into grove-children

d7e000e471fc6d6f38037f783356ebbde878269d authored almost 5 years ago by Chris Waldon <[email protected]>
Merge branch 'master' into grove-add

feb09985c341dfed82f9f7fabe237076b8a3265f authored almost 5 years ago by Chris Waldon <[email protected]>
Use new string helper to get node file name

661dbcec2851747cf46c57d140d7ac642614aaa7 authored almost 5 years ago by Chris Waldon <[email protected]>
Merge remote-tracking branch 'origin/stub-copyinto'

1f118514b6a5b473c7360d1b91b7354182d4739e authored almost 5 years ago by Chris Waldon <[email protected]>
Merge remote-tracking branch 'origin/grove-impl3'

8ea5e52e866552526d23fba14b286460d2a02c12 authored almost 5 years ago by Chris Waldon <[email protected]>
Merge remote-tracking branch 'origin/grove-impl2'

4867f7054a4dba58bd3ecc3c8c1f6b9cd172e4fe authored almost 5 years ago by Chris Waldon <[email protected]>
Mirror github issues to srht with GH action

d5c030c5b8c70da33b2173211afb0174b8552244 authored almost 5 years ago by Chris Waldon <[email protected]>
grove: test Recent() error handling

daf5fafb359bdeedc7a1f4e76c0c752207bb9483 authored almost 5 years ago by Chris Waldon <[email protected]>
grove: test Recent() more thoroughly

bd17be0381971114886b7ee1488022b5eb1b1c2f authored almost 5 years ago by Chris Waldon <[email protected]>
grove: fix sort order of Recent() results

a71f4d2850ff2b209f202150f23846f197bfd515 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement Recent() on Grove with happy path test

7304deb29ff9a043398fa211eeac8eea60295523 authored almost 5 years ago by Chris Waldon <[email protected]>
implement test for Children() parse errors

2f6d6f989c714adbc7d537e7429a31ac6c782b15 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement test for Children() when opening root grove dir fails

2e76f4ef1003251ebaa2c6172ad2e4a25beee2e1 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement happy-path test for Children() on Grove

50c84a72357156238c7fe1b2d43090cc22cd4457 authored almost 5 years ago by Chris Waldon <[email protected]>
Extend fakeFS so that it can act as a directory

This allows us to just return the fakeFS as a grove.File that can
list files with Readdir(). Sin...

4c9c7e91bcef9b4ace1c9c3575c6ad489cef6f7e authored almost 5 years ago by Chris Waldon <[email protected]>
Implement test for Children() read errors

2bc79809fc7ce567799823caa3f21094c880569b authored almost 5 years ago by Chris Waldon <[email protected]>
Extend errFile to implement os.FileInfo

3ab1af94a72d750c4a67b1e2c6cf6db2243595c4 authored almost 5 years ago by Chris Waldon <[email protected]>
Extend fakeFile to implement os.FileInfo and be re-readable

9111678d7902aec9c64203cd4a5b541bf5dc8d14 authored almost 5 years ago by Chris Waldon <[email protected]>
Ensure errFile implements expanded grove.File interface

153aebbc2844b03052cab2bd263c870b412d0919 authored almost 5 years ago by Chris Waldon <[email protected]>
Add FS implementation with injectable errors

This is a partial cherry-pick of

a560c775b4c39ef4b05727684c2b3ae161f89cfe

to gain the errFS ty...

e6fc9ddf8c0375330e3dfadefd6764aaea5bdbc1 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement mockable file errors

This is a parial cherry-pick of

b12226dd0043d3fac1f0eb7dc2340ade2fce9cfc

to gain the `errFile`...

02a4bb2e42d3be165ac6fcdf4328fd7f8e54cf15 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement Children() method on groves

6d2c07519e05ed12603acbace777dceb00e87113 authored almost 5 years ago by Chris Waldon <[email protected]>
Make string names of constants public

0b771e6d34e21f2f946a23f7e531585b4c836dc6 authored almost 5 years ago by Chris Waldon <[email protected]>
Add stub implementation of CopyInto

Doing this method right would involve extending the grove.File
interface so that we could list t...

dbae070156778888b160590693340f19f05960bf authored almost 5 years ago by Chris Waldon <[email protected]>
Remove unused Size() method from Store interface

51f57df771ef1dc05a0b9b951953322ed0f2dff5 authored almost 5 years ago by Chris Waldon <[email protected]>
Document inefficiencies of current Add() implementation

57881ba51b8e2c3e4911db64b2031c57e29bf424 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement test for Add() serialization errors

Since the current implementation of MarshalBinary() for Nodes
can't fail unless someone breaks t...

53fd266c11783c7a3c480536f10e16a6c9385f63 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement test for Add() create errors

e91e40a4dbcdf334a155d40211d3398bfdcd23d0 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement test for Add() write errors

7755a0a32abe4d86d68c8022601e636cc6eb2cb9 authored almost 5 years ago by Chris Waldon <[email protected]>
Fix fakeFS Create() behavior

The Create() method needs to behave as closely as possible
to the os.Create() function from the ...

9e395c37d07356134218cd264f465f03576d3b40 authored almost 5 years ago by Chris Waldon <[email protected]>
Add FS implementation with injectable errors

This is a partial cherry-pick of

a560c775b4c39ef4b05727684c2b3ae161f89cfe

to gain the errFS ty...

927f60c8d4f7fc76d47148bc7a727ac26b52dc52 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement mockable file errors

This is a parial cherry-pick of

b12226dd0043d3fac1f0eb7dc2340ade2fce9cfc

to gain the `errFile`...

b83ed153bae434325d5be2f879f3d33a6029e884 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement and test happy path for Add()

67ebad59024b112b0bca2a79886627355b1ffaf4 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement specialized Get operations as wrappers

All of the more specialized Get() functions can be (inefficiently)
implemented as calls to the g...

bcad1fc24fbf1a56be713cb297e0df1ecb5414c4 authored almost 5 years ago by Chris Waldon <[email protected]>
Add test to handle errors when opening node files

a560c775b4c39ef4b05727684c2b3ae161f89cfe authored almost 5 years ago by Chris Waldon <[email protected]>
Add test to handle when nodes fail to parse

d4347d0546dadd951b32d775a7b2d512fdb7c861 authored almost 5 years ago by Chris Waldon <[email protected]>
Add a String() method to QualifiedHash()

I'm fairly sure that there's no way for base64url-encoding the
node's ID to actually fail. The o...

3896f03b1bc24d9002a6221c80c5e4d89d75fa51 authored almost 5 years ago by Chris Waldon <[email protected]>
Add a test for handling failures during file read

b12226dd0043d3fac1f0eb7dc2340ade2fce9cfc authored almost 5 years ago by Chris Waldon <[email protected]>
Simplify error cases

~athorp96 pointed out that errors.Is can handle being passed
nil, so there was no need to nest t...

96d8c65458cf00318f912bf3d6bd4bf5a536f9e1 authored almost 5 years ago by Chris Waldon <[email protected]>
Implement Get operation on Grove with test

d4e102bcc9cfa9e434bed591b2280a238eb1385e authored almost 5 years ago by Chris Waldon <[email protected]>
Add failing test for grove Get operation

45763c9c1740cf38a91af54b1a0f4d2a32bb69af authored almost 5 years ago by Chris Waldon <[email protected]>
Create tests and mock framework for grove type

42965e177a04cceda74477cc5f94aa666a7fda39 authored almost 5 years ago by Chris Waldon <[email protected]>
Merge remote-tracking branch 'github/community-newlines'

92bea33871eca28f5acc4cd58a5a3997cf95f6b3 authored almost 5 years ago by Chris Waldon <[email protected]>
Update fields/primitives_test.go with clearer test failure

cfd4c2d8f47618d2a52e7ae414a4f567f3ac4df3 authored almost 5 years ago by Christopher Waldon <[email protected]>
Add newline testing and test to builder

2c05bae7c9bc7111e4d480266667690e8e9918ca authored almost 5 years ago by Andrew Thorp <[email protected]>
Move the blob Contain() testing.

755862f6c37aef933d7079d985d6db893f4a679e authored about 5 years ago by Josh Whetton <[email protected]>