Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sqlite #124

Draft
wants to merge 31 commits into
base: canon
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6046cac
fix(shell.nix): explicitly use rust tools from rustup
Profpatsch Apr 5, 2024
adfc561
refact(ops/stream_events): directly construct json value
Profpatsch Apr 14, 2024
ba27237
refact(builder): run -> instantiate_and_build
Profpatsch Apr 14, 2024
6630b36
feat(thread): Add `race()` function for racing two threads
Profpatsch Apr 14, 2024
d6f7d49
refact(ops/shell): Rephrase Arc code in terms of `thread::race()`
Profpatsch Apr 14, 2024
cfe2f6c
fix(ops/shell): shorten hint time to 3s
Profpatsch Apr 14, 2024
e6aad7a
refact(ops/shell): inline cached_root
Profpatsch Apr 14, 2024
47b1f91
refact(ops/gc): generate json via macro
Profpatsch Apr 14, 2024
2208ddc
refact(*): Remove ContentAddressable from Project & pass manually
Profpatsch Apr 14, 2024
3258e3e
refact(ops/op_gc): don’t quit on first error for non-json
Profpatsch Apr 14, 2024
e001762
feat(ops/op_gc): add --dry-run for `gc rm`
Profpatsch Apr 14, 2024
9249133
refact(ops): remove remaining json Serialize instances
Profpatsch Apr 19, 2024
dd33b50
feat: set up a simple rusqlite example
Profpatsch Apr 14, 2024
c3a4945
feat(sqlite): start importing the gcroots data
Profpatsch Apr 14, 2024
846e3fa
fix: allow dead code for structs we only use for lifetimes
Profpatsch Apr 5, 2024
0fda515
refact(project): new -> new_and_gc_nix_files
Profpatsch Apr 19, 2024
43b3c7d
refact(project): separate project creation from gc stuff
Profpatsch Apr 19, 2024
93902ba
refact(builder): hide shell_gc_path, add better interface
Profpatsch Apr 19, 2024
486f474
fix(thread): slightly increase message timeout
Profpatsch Apr 19, 2024
2c1cb9b
feat(ops/shell): print a nice warning for unsupported shells
Profpatsch Apr 19, 2024
483683d
refact(tests/gc): repair the gc integration test
Profpatsch Apr 19, 2024
ecb1ee9
refact(ops,project): move list_roots to project
Profpatsch Apr 19, 2024
3179439
refact(project): pass paths from outside
Profpatsch Apr 19, 2024
7ca377d
fix(project): don’t error shortcut quite as much
Profpatsch Apr 19, 2024
edecd77
refact(project): move list_roots into Project
Profpatsch Apr 19, 2024
98696a6
fix(project): create project for each gc root
Profpatsch Apr 19, 2024
525eb58
refact(op/gc,project): move gc_deletion into project
Profpatsch Apr 19, 2024
d8e2514
refact(sqlite): add in_transaction, a struct, some to_sql helper
Profpatsch Apr 19, 2024
eaf9cb9
feat(ops/gc): print the “time ago” down to the second
Profpatsch Apr 20, 2024
d44b6fc
feat(project): start saving nix_file in database
Profpatsch Apr 20, 2024
3db14ab
refact(project): add connection to struct
Profpatsch Apr 20, 2024
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
137 changes: 136 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading