Repository navigation
Groundwork: move the Tiny 2 Lite builders and decoders to models/tiny2lite - #159
Merged
Merged
Conversation
A byte guard records every frame and short command the builders emit for a fixed list of calls, a CLI guard records the help text of every subcommand, and the release dry run lists the files of every package. The workspace move must leave all three unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Taken from the package-contents artifact of the release dry run of this pull request: the files of the deb, rpm, Arch and tarball packages for both architectures. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The library modules move to crates/obsbot-device, models.rs as registry.rs, and the 0.13 CLI and daemon to crates/obsbot4linux, which keeps the package name, the binary and the package metadata. Version, rust-version and licence come from [workspace.package]. No behaviour change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
frame.rs and streaming.rs move unchanged; lib.rs keeps their old paths as re-exports until the final path change of the groundwork stage. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The device, its ioctls and the extension-unit access move to transport/uvc.rs; finding the camera (by-id links, card name) moves to enumeration.rs with its test. Every block is copied unchanged. lib.rs keeps the old device path as a re-export until the final path change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
commands.rs, presets.rs and status.rs move unchanged, with their tests; lib.rs keeps their old paths as re-exports until the final path change of the groundwork stage. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
nofuturekid
force-pushed
the
fix/149-groundwork-tiny2lite-modules
branch
from
November 13, 2026 11:48
13a907e to
898579c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #149
Stacked on #157 (the diff on top of that branch is one commit; base stays
rebuild).What changed
commands.rs,presets.rsandstatus.rsmove fromcrates/obsbot-device/src/tocrates/obsbot-device/src/models/tiny2lite/as pure renames (100% similarity), with their tests.models/mod.rs(pub mod tiny2lite;) andmodels/tiny2lite/mod.rs(pub mod commands; pub mod presets; pub mod status;).lib.rs: only thecommands/presets/statusgroup changes, topub mod models;andpub use models::tiny2lite::{commands, presets, status};, so the old paths stay valid until the final path change of the stage.No byte sent to the camera, no ioctl, no timing and no CLI output changes. No CHANGELOG line (nothing a user can see).
How it was verified
cargo fmt --check,cargo clippy --workspace --all-targets --locked -- -D warnings, shellcheck and actionlint print nothing;cargo test --workspace --lockedgives 118, 1 (byte_guard), 25, 2 (cli_surface) and 0 passed tests.scripts/groundwork/test-names.shfor base and head,comm -3prints nothing (146 test names each).byte_guardandcli_surfacepass;byte-guard.txtandcli-surface.txtare not in the diff.scripts/groundwork/move-check.sh <base> HEADprints exactly the four expected lines (two SPDX headers and the two module doc comments of the new files).git diff -M --statshows the three files as renames, 14 insertions and 3 deletions in total.🤖 Generated with Claude Code