1
Fork 0
mirror of https://github.com/RGBCube/dix synced 2025-07-27 19:57:44 +00:00

Commit graph

  • 09e769d786 diff: improve docs main Bloxx12 2025-05-09 22:35:26 +02:00
  • 7c0dcd142d
    workflows: add building workflow Bloxx12 2025-05-09 23:25:06 +02:00
  • 6384189a18
    flake: switch to nightly rustfmt Bloxx12 2025-05-09 22:51:47 +02:00
  • 5a532c2b82
    feat: working nix flake Bloxx12 2025-05-09 20:53:03 +02:00
  • 50a9a673bd feat: make diff order match nvd RGBCube 2025-05-09 21:53:11 +03:00
  • 714fbbce6f doc: make it clear in the readme that dix works for every closure RGBCube 2025-05-09 21:18:30 +03:00
  • 6271e97882 fix: fix typos RGBCube 2025-05-09 21:29:51 +03:00
  • e6b8f7b3a7 feat: better lib, expose more behaviour for external use, deduplication RGBCube 2025-05-09 18:41:38 +03:00
  • 4372250ba2 doc: enhance readme, make license markdown, fix flake description RGBCube 2025-05-09 17:44:54 +03:00
  • 7aa726c056 performance: perform setup using pragmas on connection creation, set memory-mapped I/O limit high to avoid page faults Dragyx 2025-05-09 18:12:04 +02:00
  • 646efcf351 fix: fix arrow glyph RGBCube 2025-05-09 18:49:54 +03:00
  • f4357e1c50 fix: use Self and don't depend on nightly features RGBCube 2025-05-09 18:05:54 +03:00
  • 60d7a4d9ae chore: reduce macro usage RGBCube 2025-05-09 18:01:56 +03:00
  • 021c972a0f chore: remove rustc-hash dependency, not much overhead RGBCube 2025-05-09 17:56:50 +03:00
  • d85e9ec3b0 fix: don't write double newlines when package diff doesn't exist RGBCube 2025-05-09 17:44:54 +03:00
  • 553e594968 fix: set up logger properly and change log levels RGBCube 2025-05-09 17:27:03 +03:00
  • 70d4042a56 chore: delete benches RGBCube 2025-05-09 17:27:03 +03:00
  • 00f8783ce2 fix: fix lints RGBCube 2025-05-09 17:25:55 +03:00
  • 416dc0c455 fix: don't use nightly features RGBCube 2025-05-09 17:23:48 +03:00
  • baaf63fdf2 feat: write rest of main RGBCube 2025-05-09 17:22:07 +03:00
  • a1ccf88d0c feat: fix formatting, yield ignored chars in version component iter RGBCube 2025-05-09 15:52:19 +03:00
  • 4f0ee04e19 chore: inline Version::diff RGBCube 2025-05-09 15:37:08 +03:00
  • 07dd524d30 feat: diff printing RGBCube 2025-05-09 15:32:21 +03:00
  • 47bd2d9657 feat: write diff status header RGBCube 2025-05-09 01:30:27 +03:00
  • faa6634142 wip: compiles RGBCube 2025-05-08 22:40:25 +03:00
  • fc73fa9722 feat: delete &StorePath, make StorePathBuf owned and remove Buf suffix RGBCube 2025-05-08 22:40:25 +03:00
  • 078bc91cf8 feat: move parse_name_and_version to StorePath impl, rename util to version.rs RGBCube 2025-05-08 22:40:25 +03:00
  • 066652cee3 feat: remove unnecessary allocations in VersionComponent RGBCube 2025-05-08 22:40:25 +03:00
  • c73c1ab330 feat: refactor get_name_and_path to parse_name_and_path RGBCube 2025-05-08 22:40:25 +03:00
  • af7f63d3f6 feat: refactor version comparisions RGBCube 2025-05-08 22:40:25 +03:00
  • 574142c4a0 feat: Connection newtype RGBCube 2025-05-08 22:22:43 +03:00
  • db09147da6 feat: refactor store.rs RGBCube 2025-05-08 21:54:56 +03:00
  • 531fa0278f
    Revert "flake: add rust-overlay for nightly rust" Bloxx12 2025-05-09 15:25:37 +02:00
  • 8d36bf6dec
    flake: add rust-overlay for nightly rust Bloxx12 2025-05-09 11:56:26 +02:00
  • d89e57a60c
    Revert "envrc: add GIT_DIR envvar" Bloxx12 2025-05-09 15:10:36 +02:00
  • a00d6e6c4e
    envrc: add GIT_DIR envvar Bloxx12 2025-05-08 20:51:51 +02:00
  • 7e60d1c0a9
    update README.md Bloxx12 2025-05-07 00:27:13 +02:00
  • 5e317983c2
    Benches - criterion benchmarks (#5) Dragyx 2025-05-08 18:23:18 +02:00
  • 86564fbdda
    print: fix diffing Bloxx12 2025-05-08 15:48:42 +02:00
  • 9d0b52a535
    main, util: move get_version to util.rs Bloxx12 2025-05-08 15:27:34 +02:00
  • fb59cccda7
    print: fix coloring of versions; display only changed versions Bloxx12 2025-05-08 13:44:01 +02:00
  • eb7a29fe52
    main: move prinln! statements to before printing the changes Bloxx12 2025-05-08 10:16:32 +02:00
  • fdc5118ee2 store: cache prepared sql statements Dragyx 2025-05-08 11:31:25 +02:00
  • ffc7e56a44
    print: clean up printing only show the actually changed versions, not all of them. make the changed bold Bloxx12 2025-05-08 09:44:03 +02:00
  • 697a72bcef util: switch to raw strings for VersionComponentIterator Dragyx 2025-05-07 13:09:39 +02:00
  • da723c704f util: Replace regex with custom iterator Dragyx 2025-05-07 12:49:22 +02:00
  • 006a9b3a60
    util: implement ordering of versions Bloxx12 2025-05-06 23:14:58 +02:00
  • 54d47402fe
    chore: rename to dix Bloxx12 2025-05-07 11:34:40 +02:00
  • 0e27617587
    print: clean up printing Bloxx12 2025-05-06 22:20:51 +02:00
  • 78b3e4e3a9
    main: fix regex version handling The previous regex didn't match names without any versions, this one does. Bloxx12 2025-05-06 22:20:51 +02:00
  • d8f071c887
    print, main, error: cleanup, add docs Bloxx12 2025-05-06 22:17:38 +02:00
  • 0d47c30b54
    colored diffing Bloxx12 2025-05-06 12:35:20 +02:00
  • 353bf1a7b7 store: rename wrongly named variable Dragyx 2025-05-06 16:48:49 +02:00
  • 03f009d297 store: add comments to explain why Path::canonicalize is needed Dragyx 2025-05-06 16:42:24 +02:00
  • 63de1f090a store: make sure that nodes with no outgoing edges in the graph are in the adj list Dragyx 2025-05-06 16:33:14 +02:00
  • be39c05325 store: move database url into constant Dragyx 2025-05-06 16:29:16 +02:00
  • 9a2a5cb4ff store: Add derivation dependency graph query Dragyx 2025-05-06 14:46:50 +02:00
  • 719e6eca41 shell: remove old dependency sqlx-cli Dragyx 2025-05-06 14:46:35 +02:00
  • d0e538b1fb
    main: strip nix store paths the paths we match with regex are always prefixed with /nix/store/<...>-, which amounts to 44 chars. Since this is always the same, we can just strip these 44 chars before matching with regex. Bloxx12 2025-05-06 12:29:52 +02:00
  • c180c26bf5
    main: remove unnecessary code, cleanup Bloxx12 2025-05-06 12:19:09 +02:00
  • eee8c920a7 remove bloated dependency sqlx, switch to libsqlite3-sys Dragyx 2025-05-06 01:15:50 +02:00
  • 55c969cfdf print: change coloring Bloxx12 2025-05-05 18:22:31 +02:00
  • aff720bbaa use new sql queries Dragyx 2025-05-05 17:14:38 +02:00
  • 7d893ec477 Add config.toml with db uri Dragyx 2025-05-05 17:14:17 +02:00
  • 783f180716 proof of concept direct query with sqlx Dragyx 2025-05-05 16:55:48 +02:00
  • 63cf04b29f chore: cleanup main.rs Bloxx12 2025-05-05 15:33:59 +02:00
  • 1a385d0da3 main, print: move printing to new module Bloxx12 2025-05-05 15:22:55 +02:00
  • f50cf38e37 chore: rename to nix-diff Bloxx12 2025-05-05 14:19:41 +02:00
  • 2382373007
    main: clean up changed packages debug message Bloxx12 2025-05-05 11:57:19 +02:00
  • 684704ddd0
    main: sort and split versions with commas Bloxx12 2025-05-05 00:36:04 +02:00
  • 560b049504 main: align all packages to the same column width Dragyx 2025-05-05 11:33:57 +02:00
  • 7afce21ff8 main: add basic column alignment to printed output Dragyx 2025-05-05 11:15:09 +02:00
  • 955a710812
    error: improve error context in AppError NotAShelf 2025-05-05 02:52:38 +03:00
  • f52281d691
    main: separate logging channels via log crate NotAShelf 2025-05-05 02:30:46 +03:00
  • dde5723cee
    refactor: implement thiserror for better error handling NotAShelf 2025-05-05 02:11:18 +03:00
  • 2c6f84e8ac
    main: improve memory safety NotAShelf 2025-05-05 01:41:58 +03:00
  • 28871c9f52
    src/main.rs: disable blinking Bloxx12 2025-05-05 00:34:10 +02:00
  • c31d290cca
    remove -link Bloxx12 2025-05-05 00:26:09 +02:00
  • 7f41877da1
    src/main.rs: cleanup Bloxx12 2025-05-05 00:21:59 +02:00
  • eeae6b5889
    chore: add README.md Bloxx12 2025-05-04 23:47:14 +02:00
  • 65a8d85114
    switch to yansi Bloxx12 2025-05-04 23:45:12 +02:00
  • 470405b189
    src/main.rs: move printing to own functions Bloxx12 2025-05-04 23:30:14 +02:00
  • 7ac9c287ec
    src/main.rs: cleanup Bloxx12 2025-05-04 22:24:56 +02:00
  • 9cd4befc31
    src/main.rs: cleanup Bloxx12 2025-05-04 21:42:35 +02:00
  • 5b304cd7bb
    src/main.rs: clean up thread handles Bloxx12 2025-05-04 21:42:35 +02:00
  • 7ff637450d
    src/main.rs: cleanup, add get_dependencies Bloxx12 2025-05-04 21:02:41 +02:00
  • 93c8f55d30 src/main.rs: support multiple versions for the same package Dragyx 2025-05-04 20:13:05 +02:00
  • d5f2a5d7ba src/main.rs: small refactor for readability Dragyx 2025-05-04 19:28:31 +02:00
  • 6295610028
    src/main.rs: cleanup closure size function Bloxx12 2025-05-04 19:03:07 +02:00
  • 8f0c40f9a9 src/main.rs: compute the closure size in the background Dragyx 2025-05-04 18:51:56 +02:00
  • 1ea8ffaecb
    src/main.rs: add closure size flag Bloxx12 2025-05-04 18:02:33 +02:00
  • 2893509d42
    src/main.rs: add coloring Bloxx12 2025-05-04 18:02:33 +02:00
  • 2d92e91205
    add LICENSE bloxx12 2025-05-04 15:11:40 +00:00
  • 0c226426de
    main.rs: overabstract package HashMaps Bloxx12 2025-05-04 16:34:12 +02:00
  • ed528573ee
    src/main.rs: cleanup Bloxx12 2025-05-04 16:09:30 +02:00
  • 53179520b8
    main.rs: switch to hashmaps, implement version changes Bloxx12 2025-05-04 15:55:38 +02:00
  • eea426c463
    main.rs: stop copying Strings needlessly Bloxx12 2025-05-04 14:41:47 +02:00
  • 4feb513d7e
    main.rs: switch to hashsets Bloxx12 2025-05-04 14:41:47 +02:00
  • 289881373a
    first working version Bloxx12 2025-05-04 14:03:15 +02:00
  • 6ed66b4351
    initial commit Bloxx12 2025-05-04 10:14:31 +02:00