Skip to content

Commit

Permalink
Fix checkpoint update noargs (#33)
Browse files Browse the repository at this point in the history
* remove autohelp when checkpoint update is run without args

* various fixes

* add cargo.lock

* clippy ci issue

* rustflags ci issues
  • Loading branch information
pnordahl authored Nov 20, 2024
1 parent 0627508 commit 72bf299
Show file tree
Hide file tree
Showing 16 changed files with 1,227 additions and 153 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rustflags: ""
- run: |
sudo chown -R $USER:$USER ${{ github.workspace }}
mkdir -p "$MONORAIL_TEST_DIR"
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "[email protected]"
- run: cargo clippy -- -D warnings
- run: cargo build --verbose --all
- run: cargo test -- --nocapture
- run: cargo clippy --locked -- -D warnings
- run: cargo build --locked --verbose --all
- run: cargo test --locked -- --nocapture
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk


#Added by cargo
#
#already existing elements are commented out
Expand Down
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# Change Log

## [3.5.3] - 2024-11-17
## [3.5.4] - 2024-11-20

### Added
- `checkpointed` boolean on `run` and `analyze` output, indicating if the checkpoint was used

### Fixed
- `checkpoint update` run without args always forced a help message

### Changed
- `analyze` and `run` no longer query the change provider when a checkpoint does not exist
- `--changes` and `--change-targets` flags on `analyze` are disabled if no checkpoint is available to guide change detection
- (internal) `Cargo.lock` to git
- (internal) Removed `hex` dependency
- (internal) Removed `flume` dependency
- (internal) Changed resolver to "2"
- (internal) Update CI to use locked cargo commands


## [3.5.3] - 2024-11-19

### Added
- `config generate` API for generating a configuration file that is synchronized with its source file
Expand Down
Loading

0 comments on commit 72bf299

Please sign in to comment.