Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
d75acf3
chore: Create empty `atrium-repo` library crate
str4d May 7, 2024
006522a
repo: Logic for parsing and traversing MST nodes
str4d May 9, 2024
4587080
repo: Indexed reader for CAR files
str4d May 11, 2024
76125c6
repo: APIs to fetch keys, collections, and records from a repository
str4d May 11, 2024
d8af914
Significant refactor; implement basic MST update logic
DrChat Dec 21, 2024
49cb9a3
Full MST implementation
DrChat Dec 22, 2024
c8b6b80
More refactoring :)
DrChat Dec 23, 2024
c2aca69
Use `traverse` for `split_subtree`
DrChat Dec 25, 2024
fa111e9
Fix a few lingering bugs in node deletion
DrChat Dec 26, 2024
c3343d1
Update firehose example
DrChat Dec 26, 2024
eddd5c6
More validation in mst dual-layer deletion test
DrChat Dec 27, 2024
0efc27b
`Tree::get_path`
DrChat Dec 27, 2024
393859e
Only verify SHA2_256 CAR blocks
DrChat Dec 27, 2024
a5151b4
Documentation pass
DrChat Dec 27, 2024
323474d
MST: Handle edge case where we need to insert new tree entry at leftm…
DrChat Dec 27, 2024
b7ae445
Fix repo tests
DrChat Dec 27, 2024
2c3a418
More docs
DrChat Dec 28, 2024
e9aab5b
Simplify `Tree::keys`
DrChat Dec 30, 2024
2681f7d
Return keys from `Tree::keys` in lexicographic order
DrChat Dec 30, 2024
e78adad
Create a high-level `Commit` helper struct
DrChat Dec 30, 2024
8648ec8
Add new `Tree::entries` function to return key/value tuples
DrChat Dec 30, 2024
f35317d
Add documentation clarifying that tree iteration does not work agains…
DrChat Dec 30, 2024
3b1faa6
Whoops :)
DrChat Dec 30, 2024
b3eb8e3
Expose hashing algorithm to `AsyncBlockStoreWrite::write_block`
DrChat Dec 30, 2024
094c7b1
Forgot to commit this import :(
DrChat Dec 30, 2024
d91a893
Gracefully handle multi-writes to `CarStore`
DrChat Dec 30, 2024
df8b420
Rename `Repository::new` to `open`
DrChat Dec 31, 2024
469aec6
Outline `algos::compute_depth`
DrChat Jan 1, 2025
8f2826e
Correct the docs for `Node::find_ge`
DrChat Jan 1, 2025
bf8247f
Panic if we attempt to serialize a `Node` with two adjacent tree entries
DrChat Jan 1, 2025
6f78451
Misc. improvements
DrChat Jan 3, 2025
67d2f15
More `Tree` documentation
DrChat Jan 3, 2025
6f87801
Remove `AsyncBlockStoreWrite::delete_block`
DrChat Jan 5, 2025
59c6e15
Fix a bug when writing out a new CAR block
DrChat Jan 5, 2025
ba6935d
API updates; Implement `CarStore::create`
DrChat Jan 12, 2025
8c96596
Update firehose example to remove CID compat
DrChat Jan 12, 2025
5404eef
Move all algorithms to `algos` module
DrChat Jan 18, 2025
a0d9c48
Fix warnings
DrChat Jan 18, 2025
f79a9fc
clippy + fmt
DrChat Jan 19, 2025
90cd30f
Full CRUD functionality for `Repository`
DrChat Jan 28, 2025
fb6e9a0
Add a basic differencing blockstore layer
DrChat Jan 31, 2025
ad867f2
Remove `async-trait` dep
DrChat Feb 1, 2025
ad5bf55
Add my name to `atrium-repo` authors
DrChat Feb 1, 2025
8a67866
Add `Commit::rev`
DrChat Feb 9, 2025
77a03b2
Add github workflow
DrChat Feb 9, 2025
1d31464
Remove vscode from gitignore
DrChat Feb 9, 2025
719de39
Use `RecordKey` in `Repository::get` API
DrChat Feb 10, 2025
853fb8a
Add `extract_path` APIs
DrChat Feb 11, 2025
7e4dc08
Fix some lingering bugs in `CarStore`
DrChat Feb 11, 2025
2748c6d
Add `_raw` API variants to `Repository`
DrChat Feb 11, 2025
6813c30
Add another 2 block test for CarStore
DrChat Feb 12, 2025
d5b8edb
Add an `Error::Other` variant for block storage
DrChat Feb 12, 2025
c7aae19
Add a test for `set_root`
DrChat Feb 12, 2025
88dbab1
Fix one more bug encountered when writing blocks
DrChat Feb 12, 2025
049aa40
`extract_path` -> `extract`; add `_into` variants
DrChat Feb 12, 2025
7f41bf7
Downgrade cid reference to straight copy instead
DrChat Feb 15, 2025
36610a4
Deduplicate some code
DrChat Feb 15, 2025
5a24919
Add extraction test
DrChat Feb 15, 2025
c2768f1
Builder `sign` -> `finalize`
DrChat Feb 15, 2025
1ddd6ee
Slightly expand extraction test for exclusion proofs
DrChat Feb 15, 2025
58237cc
Remove the hacked-together `CarStore::set_root`
DrChat Feb 15, 2025
4c97e00
Add complex extraction test
DrChat Feb 15, 2025
275d9d9
Fix a bug causing extraction to fail to extract the MST root
DrChat Feb 15, 2025
07baedf
Add `MemoryBlockStore::contains`
DrChat Feb 15, 2025
3acc1e7
clippy fix
DrChat Feb 15, 2025
f5a8adb
Add `Repository::get_raw_cid` API
DrChat Feb 15, 2025
96dd670
Return both a `CommitBuilder` and `Cid` from add/update APIs
DrChat Feb 16, 2025
8af0ef5
`Repository::tree` API
DrChat Feb 16, 2025
67c4403
Perform deserialization in `get_raw` APIs
DrChat Feb 16, 2025
4f528f4
Add prefixed iteration APIs to `Tree`
DrChat Feb 16, 2025
3b250e1
Use `serde-bytes` to assist with deserializing byte arrays
DrChat Feb 16, 2025
f2d73c1
Fix warnings
DrChat Feb 16, 2025
260a118
Add `export` APIs
DrChat Feb 16, 2025
9e0877c
Fix test
DrChat Feb 17, 2025
0d30f47
Remove old `commit` tests
DrChat Feb 17, 2025
3004ffd
Remove `CommitBuilder` example doc comment
DrChat Feb 17, 2025
e56542d
Fix a potential panic; cleanup
DrChat Feb 17, 2025
c841560
Apply suggestions from code review
DrChat Feb 18, 2025
5bbf349
`cargo clippy`
DrChat Feb 18, 2025
b6210c7
Apply fixes suggested by clippy
DrChat Feb 18, 2025
59d6034
Fix signing
DrChat Feb 21, 2025
c4e9300
Re-export ipld's multihash type.
DrChat Feb 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Repo

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
cargo build -p atrium-repo --verbose
- name: Run tests
run: |
cargo test -p atrium-repo
Loading
Loading