diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2024-03-02 14:54:34 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2024-03-02 14:54:34 +0100 |
commit | 8e5f1f5154d93e60422407a5387d8b9967fc5952 (patch) | |
tree | bbe30a1ab628d5aca1cf30de1106d1f3907c243f /README.md | |
parent | 6146428ef31e21f13201874ddc135bbf49ae77aa (diff) |
jgvariant-tool: Add 'ostree summary add-static-delta' command.
Change-Id: I3b318269c4c85b581d6639fe5ec6a14bf2604ad4
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -47,7 +47,9 @@ be used to manipulate [GVariant][]-formatted files from the command line. Its primary purpose is to enable the scripting of [OSTree][] repository management tasks. -Usage example (dumping the contents of an [OSTree][] summary file): +### Usage examples + +#### Dumping the contents of an [OSTree][] summary file $ jgvariant ostree summary read ./jgvariant-ostree/src/test/resources/ostree/summary @@ -83,6 +85,17 @@ Output: } } +#### Adding a static delta to an [OSTree][] summary file + +Static delta <code>3...</code> (in hex), between commits <code>1...</code> and <code>2...</code>: + + $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 3333333333333333333333333333333333333333333333333333333333333333 2222222222222222222222222222222222222222222222222222222222222222 1111111111111111111111111111111111111111111111111111111111111111 + +Static delta <code>3...</code> (in hex), between the empty commit and <code>2...</code>: + + $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary 4444444444444444444444444444444444444444444444444444444444444444 2222222222222222222222222222222222222222222222222222222222222222 + +### Building the tool You can build the tool either as a shaded JAR or as a native executable. |