Adeeb Shihadeh
5265d13fe0
Replace markdown-it-py with small function in common/ ( #32664 )
...
* Replace markdown-it-py with small function in common/
* simple test
* unused
* lock
* linting fixes
11 months ago
Adeeb Shihadeh
73b02f2cda
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
11 months ago
Justin Newberry
cce17dc0c5
no cross references between updaters ( #32168 )
...
* no references
* but keep this
1 year ago
Justin Newberry
effee900c4
use build_metadata everywhere we used to use get_version, get_commit, etc ( #31941 )
...
* use build_metadata
* fix normailzed
* also normalized
* and here
* fix diff
* and that one
* cleanup
1 year ago
Justin Newberry
d09dd75884
Revert "updated: prep for new updater ( #31695 )" ( #31860 )
...
* Revert "updated: prep for new updater (#31695 )"
This reverts commit b93f6ce4f6
.
* fix the test
1 year ago
Justin Newberry
b93f6ce4f6
updated: prep for new updater ( #31695 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* proc
* release
* fix
* this should move here
* e2e update test
* that too
* fix
* fix
* fix running in docker
* don't think GHA will work
* also test switching branches
* it's a test
* lets not delete that yet
* fix
* fix2
* fix
* fix
* tests too
* fix
* cleanup / init
* test agnos update
* test agnos
* move this back up
* no diff
1 year ago
Justin Newberry
be2b48183f
updated -> move to selfdrive/updated/updated ( #31696 )
...
* move updated
* for release
1 year ago
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
1 year ago
Cameron Clough
995250ae49
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 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
1 year ago
Justin Newberry
fd07fc3ba4
updated: close lock file on exit ( #31285 )
...
* with open
* those too
* just 1 file
* move this to another pr
1 year ago
Adeeb Shihadeh
7cd9568423
remove dashcam branch ( #31081 )
...
* remove dashcam branch
* fix
* more cleanup
* remove param
* one more
1 year ago
Adeeb Shihadeh
4c2bb9f380
updated: only fetch on metered connection when necessary ( #31041 )
...
* updated: only fetch on metered connection when necessary
* button always fetches
1 year ago
Adeeb Shihadeh
b92e71a2b6
updated: persist more state between runs for UI ( #30963 )
...
* persist branches and more
* fix target
* typo
---------
Co-authored-by: Comma Device <device@comma.ai>
1 year ago
Adeeb Shihadeh
35f819c823
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
1 year ago
Adeeb Shihadeh
99fbd4b150
updated: wait 1m before first cycle ( #30492 )
1 year ago
Adeeb Shihadeh
a9626f95b6
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 db5e13b991
.
* fix pm test
2 years ago
Justin Newberry
7fdd9fc37c
CI: Pylint to ruff ( #29294 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
* set line length
* pylint exclusions to ruff
* same excludes as old linter
* fix tools QA
* remove unrequired check
* revert linting third_party
* ignore e402
2 years ago
Justin Newberry
a91764954b
Revert "CI: pylint to ruff ( #29276 )" ( #29284 )
...
This reverts commit cb31a53d8a
.
2 years ago
Justin Newberry
cb31a53d8a
CI: pylint to ruff ( #29276 )
...
* pylint to riff
* pylint to riff
* pylint to riff
* revert more
* undo exclude removal
* exclude tinygrad
2 years ago
Justin Newberry
ce2708fa67
Updated: fix setting update time ( #29004 )
...
* sleep in launch
* set time loop
* log
* try longer delay + logging
* try longer delay + logging
* fix order of update
* fix order of update
* fix order of update
* revert panda
* also don't show connectivity error without failed checks
* slightly cleanup updated
* fix type error
* init overlay first
* minimal diff
* comment
* minimal diff
* minimal diff
* explicit parameter to make it clear
* explicit parameter to make it clear
* use finally
* dont use finally
* PR cleanup
* reduce frequency
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Adeeb Shihadeh
24f4ada36d
updated: fix brief notification of update for same version ( #27182 )
2 years ago
Cameron Clough
15828c4fea
updated: reset working tree in each submodule ( #26316 )
...
* updated: reset working tree in each submodule
* run after fetch too
3 years ago
Adeeb Shihadeh
4639862bae
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
3 years ago
Cameron Clough
e6cab24e08
updated: sync submodules ( #26121 )
3 years ago
Cameron Clough
c9c46c1b36
Revert "updated: configure branch upstream ( #25916 )"
...
This reverts commit 17ed8dd0e9
.
3 years ago
Adeeb Shihadeh
cd40652e64
updated: don't show failed alert with no internet ( #25948 )
3 years ago
Adeeb Shihadeh
4e32387ce5
updated: clean untracked nested git repos ( #25917 )
...
* updated: clean untracked nested git repos
* ff all the cleans
3 years ago
Adeeb Shihadeh
17ed8dd0e9
updated: configure branch upstream ( #25916 )
3 years ago
Adeeb Shihadeh
d2869f4779
updated: check overlay mounted
3 years ago
Adeeb Shihadeh
b2376909f4
updated: allow reusing overlay ( #25883 )
3 years ago
Cameron Clough
e29988ab7b
updater: enable branch switching with installer gitconfig ( #25854 )
3 years ago
Adeeb Shihadeh
805a54ad0f
updated: commits are always strings
3 years ago
Adeeb Shihadeh
c4e63d14ab
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
3 years ago
Adeeb Shihadeh
96ef9b1f0c
updated: remove niceness ( #25791 )
3 years ago
Adeeb Shihadeh
e8c8bd902d
updated: prevent blocking on git ( #25788 )
...
* updated: prevent blocking on git
* remove that
3 years ago
Adeeb Shihadeh
f2d9ecb08a
updated: run lfs prune ( #25729 )
3 years ago
Adeeb Shihadeh
90a4565eb2
params: make python and c++ API match ( #25573 )
...
* params: make python and c++ API match
* few more
3 years ago
Shane Smiskol
758069464c
Fix release tests
3 years ago
Adeeb Shihadeh
cc3857eb62
updated: add branch switching ( #25200 )
...
* switch param
* add to ui
* fix that
* fetch for new branch
Co-authored-by: Comma Device <device@comma.ai>
3 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Willem Melching
f49a9c9fd2
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
3 years ago
Adeeb Shihadeh
222c7cd60d
remove custom markdown rendering ( #24538 )
...
* remove custom markdown rendering
* remove from release
3 years ago
Dylan Herman
d2eef1955c
add mypy check for return-any ( #24379 )
...
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
e8a9b9ed8c
updated: reduce frequency of unnecessary updates ( #24301 )
...
* updated: reduce frequency of unnecessary updates
* little cleanup
3 years ago
Willem Melching
3063c70ff1
updated: only run offroad & disable automatic git garbage collection ( #24269 )
...
* updated: disable automatic git garbage collection
* set gc.autoDetach false
* add gc cloudlogs
* trigger updated
* handle exception
* trigger updated
* only while offroad
* no trigger needed
* trigger updated
* check if git gc was interrupted
* trigger updated
* dont set params when shutting down
* let manager clear params
* no offroad check anymore
* event is nicer to parse
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Willem Melching
0b2b1f3e56
updated: reduce data usage ( #24204 )
...
* reduce updated data usage
* Update selfdrive/updated.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
George Hotz
dc96d4bee7
Add More Types for mypy ( #23268 )
...
* mypy passes
* a few more
* a few in manager
* more types, will lint
* more
* simple types
* events type
* Update selfdrive/thermald/thermald.py
* Apply suggestions from code review
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 years ago
Ewout ter Hoeven
332f568a82
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
3 years ago