feat: release channels and export/import#36
Merged
airscripts merged 3 commits intomainfrom Apr 23, 2026
Merged
Conversation
- Add --channel flag to install and search (stable/beta/nightly) - Channel pattern matching with configurable overrides - Add gitclaw export (stdout or -o file) and gitclaw import - Export uses sorted [[package]] TOML format - Import skips installed packages unless --force - New modules: src/core/channel.rs, src/core/export.rs - 37 new tests (235 total), clippy clean, fmt clean - Version bumped to 0.6.0, CHANGELOG and README updated
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.
Advanced Features
Release Channels
gitclaw install user/repo --channel nightly— install nightly/dev buildsgitclaw install user/repo --channel beta— install beta/rc builds--channel stable— explicit stable (default behavior)gitclaw search user/repo --channel betafilters releases by channel.gitclaw.tomlunder[channels]!*-*, beta=*-beta *-rc*, nightly=*-nightly *-devExport / Import
gitclaw export— output installed packages as TOML to stdoutgitclaw export -o deps.toml— write to filegitclaw import deps.toml— install all packages from file--force[[package]]TOML format withowner,repo,versionfieldsTests
tests/channel.rs: 10 tests for channel matching, filtering, parsingtests/export_import.rs: 9 tests for serialization, roundtrip, file I/Osrc/core/channel.rs: 11 tests for glob matching and channel logicChecklist
cargo clippy -- -D warningscleancargo fmtclean