Bloxx12
09e769d786
diff: improve docs
...
Co-Authored-By: RGBCube <git@rgbcu.be>
2025-05-10 00:32:51 +03:00
Bloxx12
7c0dcd142d
workflows: add building workflow
2025-05-09 23:25:10 +02:00
Bloxx12
6384189a18
flake: switch to nightly rustfmt
2025-05-09 22:57:38 +02:00
Bloxx12
5a532c2b82
feat: working nix flake
2025-05-09 21:03:21 +02:00
50a9a673bd
feat: make diff order match nvd
2025-05-09 19:03:06 +00:00
714fbbce6f
doc: make it clear in the readme that dix works for every closure
2025-05-09 18:58:55 +00:00
6271e97882
fix: fix typos
2025-05-09 18:37:06 +00:00
e6b8f7b3a7
feat: better lib, expose more behaviour for external use, deduplication
2025-05-09 18:12:07 +00:00
4372250ba2
doc: enhance readme, make license markdown, fix flake description
2025-05-09 16:54:17 +00:00
Dragyx
7aa726c056
performance: perform setup using pragmas on connection creation, set memory-mapped I/O limit high to avoid page faults
2025-05-09 18:15:47 +02:00
646efcf351
fix: fix arrow glyph
2025-05-09 15:53:19 +00:00
f4357e1c50
fix: use Self and don't depend on nightly features
2025-05-09 15:53:19 +00:00
60d7a4d9ae
chore: reduce macro usage
2025-05-09 15:53:19 +00:00
021c972a0f
chore: remove rustc-hash dependency, not much overhead
2025-05-09 15:53:19 +00:00
d85e9ec3b0
fix: don't write double newlines when package diff doesn't exist
2025-05-09 15:53:19 +00:00
553e594968
fix: set up logger properly and change log levels
2025-05-09 15:53:19 +00:00
70d4042a56
chore: delete benches
2025-05-09 15:53:19 +00:00
00f8783ce2
fix: fix lints
2025-05-09 15:53:19 +00:00
416dc0c455
fix: don't use nightly features
2025-05-09 15:53:19 +00:00
baaf63fdf2
feat: write rest of main
2025-05-09 15:53:19 +00:00
a1ccf88d0c
feat: fix formatting, yield ignored chars in version component iter
2025-05-09 15:53:19 +00:00
4f0ee04e19
chore: inline Version::diff
2025-05-09 15:53:19 +00:00
07dd524d30
feat: diff printing
2025-05-09 15:53:19 +00:00
47bd2d9657
feat: write diff status header
2025-05-09 15:53:19 +00:00
faa6634142
wip: compiles
2025-05-09 15:53:19 +00:00
fc73fa9722
feat: delete &StorePath, make StorePathBuf owned and remove Buf suffix
2025-05-09 15:53:19 +00:00
078bc91cf8
feat: move parse_name_and_version to StorePath impl, rename util to version.rs
2025-05-09 15:53:19 +00:00
066652cee3
feat: remove unnecessary allocations in VersionComponent
2025-05-09 15:53:19 +00:00
c73c1ab330
feat: refactor get_name_and_path to parse_name_and_path
2025-05-09 15:53:19 +00:00
af7f63d3f6
feat: refactor version comparisions
2025-05-09 15:53:19 +00:00
574142c4a0
feat: Connection newtype
2025-05-09 15:53:19 +00:00
db09147da6
feat: refactor store.rs
2025-05-09 15:53:19 +00:00
Bloxx12
531fa0278f
Revert "flake: add rust-overlay for nightly rust"
...
This reverts commit 8d36bf6dec
.
2025-05-09 15:25:54 +02:00
Bloxx12
8d36bf6dec
flake: add rust-overlay for nightly rust
2025-05-09 15:20:23 +02:00
Bloxx12
d89e57a60c
Revert "envrc: add GIT_DIR envvar"
...
This reverts commit a00d6e6c4e
.
2025-05-09 15:10:40 +02:00
Bloxx12
a00d6e6c4e
envrc: add GIT_DIR envvar
2025-05-09 15:03:02 +02:00
Bloxx12
7e60d1c0a9
update README.md
2025-05-08 19:53:33 +02:00
Dragyx
5e317983c2
Benches - criterion benchmarks ( #5 )
...
* split crate into library and binary
criterion can not benchmark binary crates
* Add store benchmarks
* Add more, not reproducible benchmarks
The benchmarks are currently hardcoded to use a specific system
on my computer. To run the tests yourself, change QUERY_DERIV__OLD in
benches/common.rs
In the future, I would like to pull a specific copy of the
nixos sqlite db from e.g. a github repo to make the benchmarks
reproducible
* Do not hardcode system derivations to use in benchmars
By default, the oldest system is compared to the current system
A specific system can be specified using environment variables (see
benches/common.rs)
2025-05-08 18:23:18 +02:00
Bloxx12
86564fbdda
print: fix diffing
2025-05-08 17:31:10 +02:00
Bloxx12
9d0b52a535
main, util: move get_version to util.rs
2025-05-08 15:27:48 +02:00
Bloxx12
fb59cccda7
print: fix coloring of versions; display only changed versions
2025-05-08 13:44:11 +02:00
Bloxx12
eb7a29fe52
main: move prinln! statements to before printing the changes
2025-05-08 13:43:45 +02:00
Dragyx
fdc5118ee2
store: cache prepared sql statements
2025-05-08 11:31:25 +02:00
Bloxx12
ffc7e56a44
print: clean up printing
...
only show the actually changed versions, not all of them.
make the changed bold
2025-05-08 09:44:44 +02:00
Dragyx
697a72bcef
util: switch to raw strings for VersionComponentIterator
2025-05-08 08:33:15 +02:00
Dragyx
da723c704f
util: Replace regex with custom iterator
2025-05-08 08:33:15 +02:00
Bloxx12
006a9b3a60
util: implement ordering of versions
2025-05-08 08:33:15 +02:00
Bloxx12
54d47402fe
chore: rename to dix
2025-05-07 11:34:50 +02:00
Bloxx12
0e27617587
print: clean up printing
2025-05-06 23:17:07 +02:00
Bloxx12
78b3e4e3a9
main: fix regex version handling
...
The previous regex didn't match names without any versions,
this one does.
2025-05-06 23:17:07 +02:00