summaryrefslogtreecommitdiff
path: root/bin/core/imag-store
Commit message (Collapse)AuthorAgeFilesLines
* Update all dependenciesMatthias Beyer2019-06-301-7/+7
| | | | | | | | This patch updates all dependencies but not "nom". Done with `cargo upgrade --all` and manual editing. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Update toml-query to 0.9.0Matthias Beyer2019-05-291-1/+1
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Update dependency: toml: 0.4 -> 0.5Matthias Beyer2019-05-292-4/+4
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Remove buildscriptsMatthias Beyer2019-05-221-2/+0
| | | | | | | | | When installing (a subcrate) from crates.io, it fails because it cannot find the buildscript. This is the quickfix, simply remove the buildscript itself and the setup of the buildscript in all Cargo.toml files. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Run 'cargo fix' for rust-2018Matthias Beyer2019-05-185-11/+11
| | | | | | | | | | | | With this patch we move the codebase to Rust-2018. The diff was generated by executing cargo fix --all --all-features --edition on the codebase. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Adapt StoreId::new() callsMatthias Beyer2019-02-155-10/+5
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Remove magic constants in trace_unwrap_exit/map_err_trace_exit_unwrap callsMatthias Beyer2019-02-117-13/+17
| | | | | | | | | | | | This patch removes the magic constant we used when calling `trace_unwrap_exit()` or `map_err_trace_exit_unwrap()`. We used to call it with `1` as parameter, where the number was the exit code to use. Now the implementation of the function does it automatically (using 1 (one) as exit code). All calls of these functions were fixed. Thanks to vim this was easy. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Change id reporting API to return ExitCodeMatthias Beyer2019-02-115-5/+5
| | | | | | | | | | | | | | Because this API only errors when write!() errors occur, we can return the exit code as an error here. This way the user of the API can immediately exit if there was an IO error, but the API automatically takes care of the right return value, returning (exiting) with zero (0) if there was an "Broken pipe" error and with one (1) otherwise, which is the expected behaviour here. All calls to that API were changed accordingly. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Update copyright yearsMatthias Beyer2019-01-039-9/+9
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Forbid unsafe code in all cratesMatthias Beyer2018-11-111-0/+2
|
* Update version stringsMatthias Beyer2018-11-101-7/+7
| | | | | | ...for the next release, which will be imag 0.10.0! Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Update dependencies from git versions to proper versions.Matthias Beyer2018-11-091-1/+1
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Add ID reporting in imag-storeMatthias Beyer2018-11-065-12/+24
|
* imag-store: Move from error-chain to failureMatthias Beyer2018-10-304-55/+6
| | | | Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
* Update dependency: toml-query: 0.6 -> 0.7Matthias Beyer2018-09-271-1/+1
|
* Update dependency: error-chain: 0.11 -> 0.12Matthias Beyer2018-09-271-1/+1
|
* Simplify: Move header verification from Value extension to Entry typeMatthias Beyer2018-07-191-3/+2
|
* Update version string: 0.8.0 -> 0.9.0Matthias Beyer2018-05-091-7/+7
|
* Adapt "imag store verify" implementation for removed Store::walk()Matthias Beyer2018-05-021-33/+18
|
* Remove "dump" subcommandMatthias Beyer2018-04-243-51/+4
|
* Update version numbers: 0.7.0 -> 0.8.0Matthias Beyer2018-04-191-7/+7
|
* Merge pull request #1380 from matthiasbeyer/minorMatthias Beyer2018-04-181-1/+1
|\ | | | | Minor patches
| * Fix documentation in crate metadataMatthias Beyer2018-04-171-1/+1
| |
* | Fix: Use qualificationMatthias Beyer2018-04-141-1/+1
| |
* | Use clap with wrap_help featureMatthias Beyer2018-04-131-1/+1
| |
* | Use clap "^2.29" instead of ">=2.29"Matthias Beyer2018-04-131-1/+1
|/
* Handle unknown subcommands in binaries with Runtime::handle_unknown_subcommandMatthias Beyer2018-04-041-2/+6
|
* Fix: Entry::to_str() should return Result<_>Matthias Beyer2018-03-261-1/+1
| | | | | | Because serializing might fail. Also fixes all usages of the API.
* Replace hard coded version strings with compiletime envMatthias Beyer2018-03-062-3/+3
|
* Use output stream from Runtime::stdout()Matthias Beyer2018-03-041-5/+3
|
* Revert "Dump all StoreIds"Matthias Beyer2018-02-203-61/+0
| | | | This reverts commit 1f84643486cecc1c5a0a96e4a49d007ca2d9bb22.
* Fix broken pipe panicsMatthias Beyer2018-02-191-3/+14
|
* Refactor "imag store ids" command to not panic on broken pipeMatthias Beyer2018-02-191-3/+9
|
* Merge pull request #1224 from matthiasbeyer/git-version-in-versionMatthias Beyer2018-02-182-2/+5
|\ | | | | Git version in version
| * Use new make_imag_version!() macro for building version stringMatthias Beyer2018-02-132-2/+5
| |
* | Simplify implementation for new libimagerror interfaceMatthias Beyer2018-02-125-35/+18
|/
* Update version string: 0.6.0 -> 0.7.0Matthias Beyer2018-02-113-10/+10
|
* Update dependency: clap: 2.17 -> 2.29Matthias Beyer2018-02-101-1/+1
|
* Compile clap with suggestions and color supportMatthias Beyer2018-02-101-1/+5
|
* Update dates in license headerMatthias Beyer2018-02-0712-12/+12
| | | | And add missing header in one file
* Remove map_err_trace_exit() calls in favour of map_err_trace_exit_unwrap()Matthias Beyer2018-01-292-2/+2
|
* log: 0.4.0-rc.1 -> 0.4.0Matthias Beyer2018-01-151-1/+1
|
* Update dependency: log: 0.3.* -> 0.4.0-rc.1Matthias Beyer2018-01-151-1/+1
|
* Remove dependency "version"Matthias Beyer2018-01-122-3/+1
| | | | | Because the "version" crate is licensed as GPL, which would us require to release imag as GPL, we remove the crate now.
* Update version strings: 0.5.0 -> 0.6.0Matthias Beyer2017-12-253-10/+10
|
* Merge pull request #1156 from matthiasbeyer/store-verify-from-cli-appMatthias Beyer2017-10-311-1/+46
|\ | | | | Move verify implementation from Store to CLI interface
| * Move verify implementation from Store to CLI interfaceMatthias Beyer2017-10-311-1/+46
| |
* | Replace uses of try!() macro with "?" operatorMatthias Beyer2017-10-311-1/+1
| |
* | Add badges in Cargo.toml of all cratesMatthias Beyer2017-10-311-0/+6
|/
* Fix missed version updatesMatthias Beyer2017-10-141-1/+1
|