- Aug 01, 2022
-
-
Davide Gardenal authored
Now when performing a backup you can specify extra folders or files to backup (in addition to the defaults). Now all the folders starting with "meta-" will be backed up. The restore tool has been updated to support the above mentioned improvements. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Jul 29, 2022
-
-
Davide Gardenal authored
upgrade_oniro now will upgrade and merge the bblayers without performing any checks, also the output of the script is just for debug as of now. Bugs may be present. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Jul 28, 2022
-
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Add error handling for restore in case the backup is not found. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Now restore is able to find the latest backup without user intervention. Backup will not crash anymore if used without build_directory set to a correct directory, default is now None. Rename backup_archive_path to backup_archive_arg to better represent its meaning. Add TODOs. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Add upgrade, backup and restore subcommands. With these the user is able to perform different functions of the script easily. The functions are not jet implemented. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Now in the backup it's saved a metadata file containing all the folders that have been backed up. This is used when restoring it, in fact we need to delete those otherwise added files in the upgrade are not deleted and we may end up with an inconsistent build. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Jul 27, 2022
-
-
Davide Gardenal authored
With the --store-backup option the backup is stored even if the upgrade was successful. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
The --dry-run option is not yet implemented but with this commit it has been added to the list of parsed options. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Convert required options to positional arguments. Required options are not a good idea because it can be confusing for the user have an option (that should be optional) required for running the script. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Jul 26, 2022
-
-
Davide Gardenal authored
Implment backup_oniro, now the script can backup the project so that in case something goes wrong in the upgrade we can restore the initial state (this function is not yer implement). Add TODOs. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Move upgrade_oniro.py in upgrade_oniro directory. Create utils python lib, this will collect utils functions used in the main scirpt. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Add global script options. Change function name arg_parsing -> init_script_options to reflect better the behevior of the function. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-