Skip to content

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
flowzone-app[bot] authored May 3, 2024
1 parent 513742f commit 68880e3
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .versionbot/CHANGELOG.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
- commits:
- subject: Check for log device before starting the migration
hash: 34febb5d80b45df6134b9d868194016a30126d49
body: |
Previously, we'd check for the log device (passed with `--log-to`) only
after the user confirmed to proceed with the migration. And then, if the
device was not valid, takeover would keep running without storing the
stage 2 logs anywhere.
In other words, a mistake in the command-line arguments could cause
important logs to be lost.
With this commit, we check the the log device at a much earlier point
(before asking the user for confirmation to proceed), and if the device
provided is no good, we log an error message and exit. This allows the
user to fix the command-line arguments and run again.
footer:
Signed-off-by: Leandro Motta Barros <[email protected]>
signed-off-by: Leandro Motta Barros <[email protected]>
Change-type: minor
change-type: minor
author: Leandro Motta Barros
- subject: Refactor early checks to a separate module
hash: 87cc52465ebefb791f2bf35a30d8587841fabeb3
body: |
This is in preparation for a bigger change that will come next.
footer:
Signed-off-by: Leandro Motta Barros <[email protected]>
signed-off-by: Leandro Motta Barros <[email protected]>
Change-type: patch
change-type: patch
author: Leandro Motta Barros
version: 0.7.0
title: ""
date: 2024-05-03T04:47:12.120Z
- commits:
- subject: Add option to change device type
hash: 2bfb52c339ad9a48bfed9c64c734516d5db435af
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

## v0.7.0 - 2024-05-03

* Check for log device before starting the migration [Leandro Motta Barros]
* Refactor early checks to a separate module [Leandro Motta Barros]

## v0.6.0 - 2024-05-02

* Add option to change device type [Rahul Thakoor]
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "takeover"
description = "Brownfield device migration tool to balenaOS and balenaCloud"
version = "0.6.0"
version = "0.7.0"
authors = ["balena.io"]
edition = "2018"
publish = false
Expand Down

0 comments on commit 68880e3

Please sign in to comment.