ext4-cli 0.0.2__tar.gz → 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/.github/workflows/release.yml +10 -2
  2. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/CHANGELOG.md +7 -0
  3. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/Cargo.lock +1 -1
  4. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/Cargo.toml +1 -1
  5. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/Makefile +12 -1
  6. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/PKG-INFO +1 -1
  7. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/schema.rs +1 -2
  8. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/.github/workflows/ci.yml +0 -0
  9. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/.gitignore +0 -0
  10. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/README.md +0 -0
  11. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/ext4_cli/__init__.py +0 -0
  12. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/ext4_cli/__main__.py +0 -0
  13. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/pyproject.toml +0 -0
  14. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/cat.rs +0 -0
  15. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/cp.rs +0 -0
  16. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/info.rs +0 -0
  17. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/ls.rs +0 -0
  18. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/mod.rs +0 -0
  19. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/commands/stat.rs +0 -0
  20. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/main.rs +0 -0
  21. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/output.rs +0 -0
  22. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/src/source.rs +0 -0
  23. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/cat.rs +0 -0
  24. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/cp.rs +0 -0
  25. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/create_fixtures.sh +0 -0
  26. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/fixtures/clispec-v0.2.json +0 -0
  27. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/fixtures/minimal.img +0 -0
  28. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/fixtures/rich.img +0 -0
  29. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/info.rs +0 -0
  30. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/ls.rs +0 -0
  31. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/output_format.rs +0 -0
  32. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/pagination.rs +0 -0
  33. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/schema.rs +0 -0
  34. {ext4_cli-0.0.2 → ext4_cli-0.0.3}/tests/stat.rs +0 -0
@@ -242,7 +242,7 @@ jobs:
242
242
 
243
243
  - name: Update Homebrew formula
244
244
  env:
245
- GH_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
245
+ HOMEBREW_TAP_DEPLOY_KEY: ${{ secrets.HOMEBREW_TAP_DEPLOY_KEY }}
246
246
  run: |
247
247
  VERSION="${{ github.ref_name }}"
248
248
  VERSION_NUM="${VERSION#v}"
@@ -291,7 +291,15 @@ jobs:
291
291
  sed -i "s/SHA_AARCH64_UNKNOWN_LINUX_GNU/${{ steps.hashes.outputs.aarch64_unknown_linux_gnu }}/g" /tmp/ext4.rb
292
292
  sed -i "s/SHA_X86_64_UNKNOWN_LINUX_GNU/${{ steps.hashes.outputs.x86_64_unknown_linux_gnu }}/g" /tmp/ext4.rb
293
293
 
294
- git clone https://x-access-token:${GH_TOKEN}@github.com/rvben/homebrew-tap.git /tmp/tap
294
+ # Authenticate to the tap with a write deploy key scoped to
295
+ # rvben/homebrew-tap. The key does not expire, so cross-repo pushes
296
+ # keep working without periodic token rotation.
297
+ mkdir -p ~/.ssh
298
+ echo "$HOMEBREW_TAP_DEPLOY_KEY" > ~/.ssh/id_ed25519
299
+ chmod 600 ~/.ssh/id_ed25519
300
+ ssh-keyscan -t ed25519 github.com >> ~/.ssh/known_hosts 2>/dev/null
301
+
302
+ git clone git@github.com:rvben/homebrew-tap.git /tmp/tap
295
303
  mkdir -p /tmp/tap/Formula
296
304
  cp /tmp/ext4.rb /tmp/tap/Formula/ext4.rb
297
305
  cd /tmp/tap
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/).
6
6
 
7
7
 
8
+
9
+ ## [0.0.3](https://github.com/rvben/ext4-cli/compare/v0.0.2...v0.0.3) - 2026-06-20
10
+
11
+ ### Fixed
12
+
13
+ - **schema**: remove conflict error kind not emitted by the binary ([1105e6e](https://github.com/rvben/ext4-cli/commit/1105e6e2f3ca11580956847feec6e3a341f01d2b))
14
+
8
15
  ## [0.0.2](https://github.com/rvben/ext4-cli/compare/v0.0.1...v0.0.2) - 2026-06-11
9
16
 
10
17
  ### Added
@@ -281,7 +281,7 @@ dependencies = [
281
281
 
282
282
  [[package]]
283
283
  name = "ext4-cli"
284
- version = "0.0.2"
284
+ version = "0.0.3"
285
285
  dependencies = [
286
286
  "anyhow",
287
287
  "assert_cmd",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "ext4-cli"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  edition = "2024"
5
5
  rust-version = "1.90"
6
6
  description = "Read ext4 filesystems from image files and block devices"
@@ -1,4 +1,4 @@
1
- .PHONY: build test lint fixtures clean install
1
+ .PHONY: build test lint fixtures check clean install release-patch release-minor release-major
2
2
 
3
3
  build:
4
4
  cargo build
@@ -13,9 +13,20 @@ lint:
13
13
  fixtures:
14
14
  bash tests/create_fixtures.sh
15
15
 
16
+ check: lint fixtures test
17
+
16
18
  clean:
17
19
  cargo clean
18
20
  rm -f tests/fixtures/*.img
19
21
 
20
22
  install:
21
23
  cargo install --path .
24
+
25
+ release-patch:
26
+ vership bump patch
27
+
28
+ release-minor:
29
+ vership bump minor
30
+
31
+ release-major:
32
+ vership bump major
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ext4-cli
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: System Administrators
@@ -108,8 +108,7 @@ pub fn run_schema() -> Result<()> {
108
108
  {"kind": "permission_denied", "exit_code": 2, "retryable": false, "description": "Insufficient permissions to open the source"},
109
109
  {"kind": "not_found", "exit_code": 3, "retryable": false, "description": "Path not found inside the filesystem"},
110
110
  {"kind": "invalid_input", "exit_code": 4, "retryable": false, "description": "Invalid argument or flag value"},
111
- {"kind": "invalid_filesystem", "exit_code": 5, "retryable": false, "description": "Source is not a valid ext4 filesystem"},
112
- {"kind": "conflict", "exit_code": 6, "retryable": false, "description": "Destination already exists with different content"}
111
+ {"kind": "invalid_filesystem", "exit_code": 5, "retryable": false, "description": "Source is not a valid ext4 filesystem"}
113
112
  ]
114
113
  });
115
114
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes