Andrei Radulescu
24c18d2c4b
agnos updater: set decompress max_length ( #33320 )
...
* agnos: decompress max_length
* flash last chunk after eof
* don't decompress more than length
* cleanup
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: ba098f509b7d2d21114208f700f2de8b9e45a39a
2024-08-17 16:31:22 -07:00
Justin Newberry
b982781570
tool to create casync manifest ( #32131 )
...
* manifest tool
* newline
* add to jenkins
old-commit-hash: b331e4a15b4d720bba59adbda51e8f78ab127382
2024-04-08 16:54:14 -07:00
Justin Newberry
b33aef01b8
move casync release creation to use a tarball of files ( #32089 )
...
* tar archive instead
* fix
* move this here
* migrate these
* fix this
* update readme
* fix that
* try to build nightly
* Revert "try to build nightly"
This reverts commit 4ea680cb6a1f985c0490168724c99bcb45af9899.
* caexclude is no longer required
* finish up
* sorted
* need this
* and that
* context mnager
* path based
old-commit-hash: 69982d43cd61e9b085fbd19f1e3ac6c747a51793
2024-04-05 11:00:45 -07:00
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae4967943ee33a3699a1d89a7a770d95e9
2024-02-24 16:41:23 -08:00
Adeeb Shihadeh
c925fd2d89
[bot] Update Python packages and pre-commit hooks ( #31508 )
...
* Update Python packages and pre-commit hooks
* remove that
---------
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com >
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: be4bbca9a32f3bd3f65eaf26f4f5b65d2fc14608
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b9911cc74438bee123bc3430da6c31b24b.
* fix pm test
old-commit-hash: a9626f95b69af19306143fc4def02fb5769405d2
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh
497bc99c27
agnos updater: set timeout on download ( #25927 )
...
old-commit-hash: 74f741d0be89c9a03573d47b00d59be964884d5f
2022-09-29 13:18:01 -07:00
Adeeb Shihadeh
0325a33752
add pyside2 package ( #25602 )
...
old-commit-hash: c6b749fb96b3b6332fd850e733140357f84d53a4
2022-08-30 15:10:52 -07:00
Adeeb Shihadeh
35ff65121e
pre-commit: add codespell ( #25571 )
...
old-commit-hash: 6590fb2b93baedb2e1c5267b4f191f8e20fcd1d2
2022-08-30 11:20:55 -07:00
Willem Melching
54bbb9332e
casync: only when run from updater ( #25130 )
...
* casync: only when run from updater
* also here
old-commit-hash: 906a8a912cbd39863f43582677f2435f11ecb904
2022-07-12 19:28:48 -07:00
Willem Melching
e737b50c2d
casync: handle hash failure ( #25081 )
...
* casync: handle hashing failure due to IO errors
* fix comment
* all exceptions
* fix typo
* Update system/hardware/tici/agnos.py
old-commit-hash: b6df0cd2422d63eb58cc6abaa9968954feff2ccb
2022-07-08 15:44:16 +02:00
Willem Melching
5dc7f22545
casync: compute seed caibx url on the fly ( #25046 )
...
* compute seed hash on the fly
* more logging
* partition name in url
* fix comment
old-commit-hash: 4080f729bea6092813331fb6d92c80e2f4c4f928
2022-07-06 13:04:25 +02:00
Willem Melching
3230474724
add casync support to agnos updater ( #23654 )
...
* add casync option to agnos updater
* open if necessary
* add python implementation
* last chunk can be small
* check flags
* cleaner check
* add remote and file stores
* remote caibx file
* print stats
* use python implementation
* clean up imports
* add progress
* fix logging
* fix duplicate chunks
* add comments
* json stats
* cleanup tmp
* normal image is still sparse
* Update system/hardware/tici/agnos.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Update system/hardware/tici/agnos.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* add some types
* remove comment
* create Chunk type
* make readers a class
* try agnos 5.2
* add download retries
* catch all exceptions
* sleep between retry
* revert agnos.json changes
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 39007810927faa309d06e6ad9586302341547f64
2022-07-05 16:55:32 +02:00
Adeeb Shihadeh
9a45a3b99b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00