Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
27 changes: 15 additions & 12 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ paraphrases were how the old checkbox contract created near-duplicates. Full con
scripts/local-renderer.sh check -p az-gui --features blitz-runtime
```

It used to be a block inside `.cargo/config.toml`, defended by
`git update-index --skip-worktree`. That failed four ways at once. The file is
tracked, because it carries the macOS link flags and the `usvg` patch every
It used to be a block inside a tracked `.cargo/config.toml`, defended by
`git update-index --skip-worktree`. That failed four ways at once. The file was
tracked, because it carried the macOS link flag and the `usvg` patch every
build needs, so `.gitignore` could not protect it and the paths went in four
times. `skip-worktree` hid the file from `git status` as well and blocked
branch switches. The redirect was always on, so no ordinary build ever fetched
Expand All @@ -115,15 +115,18 @@ paraphrases were how the old checkbox contract created near-duplicates. Full con
`Cargo.lock`, replacing git revisions with paths, which reached a commit twice.

The wrapper snapshots and restores the lockfile around the build, so none of
that is left to remember. `.cargo/config.toml` needs no flag now: its working
copy should equal its commit, and `git status` will say so if it does not.

It is also down to one setting, the macOS linker flag, which is the only thing
in it that cannot live in a manifest. The usvg patch moved to the root
`Cargo.toml`, where patches belong and where ps-blitz keeps the same one. That
it ever sat in `.cargo/config.toml` is the whole story: a shared patch shared a
`[patch.crates-io]` table with paths that existed on one machine, which is how
a file nobody could delete became a file nobody could safely commit.
that is left to remember.

**There is no `.cargo/config.toml` any more**, and nothing should recreate one:
`.cargo/` holds only the gitignored `local-renderer.toml`. Both of its former
settings found a better home. The usvg patch moved to the root `Cargo.toml`,
where patches belong and where ps-blitz keeps the same one. The macOS linker
flag moved into [`apps/gui/build.rs`](apps/gui/build.rs), which emits
`cargo::rustc-link-arg-bins` for the one binary that wants it rather than for
every crate in the workspace. That the two ever shared a file is the whole
story: a shared patch shared a `[patch.crates-io]` table with paths that
existed on one machine, which is how a file nobody could delete became a file
nobody could safely commit.

Pins still want checking before a release, because the opt-in path skips them
by definition. `scripts/check-one-rev-per-git-source.sh` refuses a lockfile
Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [
]

[workspace.package]
version = "0.8.2"
version = "0.8.4"
edition = "2024"
publish = false

Expand Down
6 changes: 3 additions & 3 deletions apps/gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ chrono = { version = "0.4", default-features = false, features = ["clock", "serd
tokio = { version = "1", features = ["process", "rt-multi-thread", "time"] }
# Default features are off; see `webview-runtime` for why.
tauri = { version = "2", default-features = false, features = ["compression"] }
tauri-runtime-blitz = { git = "https://github.com/pathscale/tauri-runtime-blitz.git", rev = "070ab3a2fd460d7c9b2f3f341e7d6c50af669682", optional = true }
blitz-dom = { package = "ps-blitz-dom", git = "https://github.com/pathscale/ps-blitz.git", rev = "a81bea599c2f67a9a1568e0f8911435c59af8874", features = ["system-fonts", "parallel-construct"], optional = true }
blitz-script = { package = "ps-blitz-script", git = "https://github.com/pathscale/ps-blitz.git", rev = "a81bea599c2f67a9a1568e0f8911435c59af8874", features = ["system-fonts"], optional = true }
tauri-runtime-blitz = { git = "https://github.com/pathscale/tauri-runtime-blitz.git", rev = "9edbec23ce4ca9bcb052a364577fd9a736fd81a3", optional = true }
blitz-dom = { package = "ps-blitz-dom", git = "https://github.com/pathscale/ps-blitz.git", rev = "b82e649d4b89757897a74a23274cedd2c096e557", features = ["system-fonts", "parallel-construct"], optional = true }
blitz-script = { package = "ps-blitz-script", git = "https://github.com/pathscale/ps-blitz.git", rev = "b82e649d4b89757897a74a23274cedd2c096e557", features = ["system-fonts"], optional = true }
brotli = { version = "8.0.4", default-features = false, features = ["std"], optional = true }
url = { version = "2.5.8", optional = true }
tauri-plugin-updater = "2"
Expand Down
4 changes: 2 additions & 2 deletions apps/gui/frontend/bun.lock

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

2 changes: 1 addition & 1 deletion apps/gui/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"dependencies": {
"@iconify/tailwind4": "^1.0.6",
"@pathscale/ui": "^2.2.2",
"@pathscale/ui": "^2.5.0",
"@tauri-apps/api": "^2.1.1",
"clsx": "^2.1.1",
"popmotion": "^11.0.5",
Expand Down
Loading
Loading