Updater verification (#8787)
* getting started * refactor main * unwrap_or -> unwrap_or_else * force parity to lower version number to trigger update * Fix typos * formating * some minor refactoring * enable lints and fix some warnings * make it compile * minor tweaks to make it work * address review comments * Rename exe to exe_path and minor import changes * updater: unreleased -> unknown * Add `debug` configuration to force parity-updater * Introduce a new feature `test-updater` in order conditionally hardcode the version number in parity in order to force an update * This should only be used for debug/dev purposes * nits * Pulled latest submodule of `wasm-tests`
Showing
- Cargo.toml 4 additions, 0 deletionsCargo.toml
- ethcore/src/client/client.rs 1 addition, 1 deletionethcore/src/client/client.rs
- parity/configuration.rs 1 addition, 1 deletionparity/configuration.rs
- parity/main.rs 135 additions, 53 deletionsparity/main.rs
- parity/run.rs 2 additions, 2 deletionsparity/run.rs
- updater/Cargo.toml 6 additions, 0 deletionsupdater/Cargo.toml
- updater/src/lib.rs 2 additions, 0 deletionsupdater/src/lib.rs
- updater/src/service.rs 1 addition, 0 deletionsupdater/src/service.rs
- updater/src/types/version_info.rs 4 additions, 4 deletionsupdater/src/types/version_info.rs
- updater/src/updater.rs 41 additions, 25 deletionsupdater/src/updater.rs
Please register or sign in to comment