From 5bce709d3c4b719c4a50ebe77be53b862b449274 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 22 Jul 2022 22:28:46 +0800 Subject: [PATCH] some cosmetic improvements and release notes acknowledgements --- RELEASE-v0.9.md | 5 ++++- .../updater/precursorupdater.egg-info/PKG-INFO | 2 +- .../precursorupdater.egg-info/entry_points.txt | 6 ++---- .../precursorupdater/precursorupdater.py | 2 +- .../__pycache__/__init__.cpython-39.pyc | Bin 184 -> 232 bytes tools/updater/setup.py | 2 +- 6 files changed, 9 insertions(+), 8 deletions(-) diff --git a/RELEASE-v0.9.md b/RELEASE-v0.9.md index 6fc038458..f9be7aa93 100644 --- a/RELEASE-v0.9.md +++ b/RELEASE-v0.9.md @@ -216,7 +216,10 @@ perform the Xous firmware upgrade. This requires running manual update commands, - The new terms are less pedantic but hopefully more intuitive ## New in 0.9.10 -Just getting started! +- Host-side updates are now simplified. + - There is just one script to run on all platforms: `precursorupdater` + - The old factory_reset.[sh,ps1] and update_ci scripts are now deprecated, and will be permanently removed next release. + - `precursorupdater` is [published to PyPi](https://pypi.org/project/precursorupdater/) with the help of neutralinsomniac to sort out the packaging issues via #204. Thank you! ## Roadmap to 1.0 diff --git a/tools/updater/precursorupdater.egg-info/PKG-INFO b/tools/updater/precursorupdater.egg-info/PKG-INFO index 2110c7c63..1041d015c 100644 --- a/tools/updater/precursorupdater.egg-info/PKG-INFO +++ b/tools/updater/precursorupdater.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: precursorupdater -Version: 0.0.4 +Version: 0.0.6 Summary: Precursor USB Updater Home-page: https://github.com/betrusted-io/betrusted-wiki/wiki/Updating-Your-Device Author: bunnie diff --git a/tools/updater/precursorupdater.egg-info/entry_points.txt b/tools/updater/precursorupdater.egg-info/entry_points.txt index 8d9b0ffb0..8eaa3a73e 100644 --- a/tools/updater/precursorupdater.egg-info/entry_points.txt +++ b/tools/updater/precursorupdater.egg-info/entry_points.txt @@ -1,4 +1,2 @@ - - [console_scripts] - precursorupdater=precursorupdater:main - \ No newline at end of file +[console_scripts] +precursorupdater = precursorupdater:main diff --git a/tools/updater/precursorupdater/precursorupdater.py b/tools/updater/precursorupdater/precursorupdater.py index 30e86df2b..ecc442aa6 100755 --- a/tools/updater/precursorupdater/precursorupdater.py +++ b/tools/updater/precursorupdater/precursorupdater.py @@ -120,7 +120,7 @@ def get_usb_interface(config=False, peek=None, override_csr=None, force=False): return (locs, pc_usb) def main(): - parser = argparse.ArgumentParser(description="Precursor USB Updater v2") + parser = argparse.ArgumentParser(description="Precursor USB Updater v2", prog="python3 -m precursorupdater") parser.add_argument( "-b", "--bleeding-edge", required=False, help="Update to bleeding-edge CI build", action='store_true' ) diff --git a/tools/updater/precursorupdater/precursorusb/__pycache__/__init__.cpython-39.pyc b/tools/updater/precursorupdater/precursorusb/__pycache__/__init__.cpython-39.pyc index f4eca20634523cda4b76928a8d23bdbda88de695..c9017081f937e20860b0f6748b3fea2c525477d4 100644 GIT binary patch delta 138 zcmdnN_=2%Mk(ZZ?0SH!Xyp^O5q#uJg$bbpRaRB0C0U(jWkiwY5kjogw$jFew6wIK> z{E`tUtjTzbC!i=bxwNP_zbLdg$xoB%7Eb|8ptLxt2xQ7ih9VXq1txyQxLL*IBo~yH3k4XPYx>p diff --git a/tools/updater/setup.py b/tools/updater/setup.py index 2e8ea7125..e10ef57cc 100644 --- a/tools/updater/setup.py +++ b/tools/updater/setup.py @@ -7,7 +7,7 @@ with open('README.md') as f: setup( name="precursorupdater", - version="0.0.4", + version="0.0.6", author="bunnie", description="Precursor USB Updater", long_description=long_description,