Adeeb Shihadeh
0723c2bc5f
log git commit date ( #31490 )
...
* log git commit date
* unix ts
* fix
* bump cereal
* cleanup
1 year ago
Greg Hogan
7affba06d8
simplify git remote is comma check ( #31284 )
...
* simplify git remote is comma check
* cast to str
* eliminate default and always return string
* add type annotation for cache decorator
* fix up default handling
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
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
Justin Newberry
4e69937d0d
Precommit: ensure executable bit is set ( #29784 )
...
* precommit ensure executable
* exclude tinygrad
* bump submodules
* exclude tinygrad globally
2 years 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
af3ed37c5c
Ruff: flake8 pie (misc lints) ( #29318 )
...
flake8 pie
2 years ago
Adeeb Shihadeh
0374d4817d
setup pre-built master-ci ( #27205 )
...
* try this
* add as release branch
* set the name
* build on master-ci
2 years ago
Adeeb Shihadeh
94aa39bdd4
enable experimental longitudinal control on devel ( #26544 )
2 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
cb8885cffb
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
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
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
Jack Huang
a84ddaecf1
statsd: fix crash if there is no git repository ( #23775 )
...
* fix crash if there is no git repository
* return default
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
3f89834e4e
master and forks aren't dirty
3 years ago
Adeeb Shihadeh
b63bc89bc9
sentry fixups ( #23249 )
...
* set env
* do init in same place
* no sentry for forks
* start session
* start session
* remove that
* val
3 years ago
Robbe Derks
1b49ce6ec4
Statsd ( #23413 )
...
* device side of statsd
* need to start it
* enable in manager
* add sleep
* cleanup
* remove aggregates for now and standardize on industry terms
* manager needs main
* need to have a try/except
* atomic_write_on_fs_tmp does not work
* cleaner
* use dump
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* one file at a time
* limit amount of files
* move to influx line protocol and cleanup
* needs to be a list
* fix timezone bug
* actually rate limit
* add to release
* normalized origin
* also log deviceType
* more stats
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Ewout ter Hoeven
55390d273f
Convert format strings strings to f-strings ( #23241 )
...
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
3 years ago
Adeeb Shihadeh
13b4ff504d
selfdrive/version: remove one unnecessary write to .git/ ( #23183 )
3 years ago
Shane Smiskol
b745a14ff7
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
3 years ago
Willem Melching
f7c46c6949
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
3 years ago
Adeeb Shihadeh
a19738cba8
version.py: set terms and training version
4 years ago
Adeeb Shihadeh
116bb0b524
update tested branches
4 years ago
Greg Hogan
ea0f7e2797
athena: version endpoint ( #21045 )
...
* athena: version endpoint
* get_version function
* more explicit version validation
4 years ago
Willem Melching
f3db94a0c4
Linux tombstones: add stacktrace and upload ( #19737 )
...
* Add stacktrace to tombstones
* make sentry output prettier
* Refactor
* Generate upload filename
* Actually move file
* Fix spaces
* copy and upload
* dont delete just yet
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
0040ac987a
add type hints to selfdrive/version.py
5 years ago
Adeeb Shihadeh
0394b8b921
fix get_git_remote not returning a value
5 years ago
Willem Melching
c3a4558026
Don't check dirty on prebuilt release ( #2014 )
...
* dont check dirty on prebuilt release
* cleanup
* Command cleanup
* Only log dirty comma branch
* Less whitespace
* Consistentcy
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
Adeeb Shihadeh
ede5b632b5
fix tested branch detection
5 years ago
Adeeb Shihadeh
ccf6b80c7e
Cleanup startup event handling ( #1748 )
...
* cleanup startup event
* always show permanent
* lowest
* update refs
5 years ago
Adeeb
367155168a
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
5 years ago
Willem Melching
4695b2daa9
default values in version.py, fixes #1187
5 years ago
Willem Melching
c770f54103
Fix dirty files reporting
5 years ago
Willem Melching
1de0b9c233
Fix version.py in case of no branch
5 years ago
Willem Melching
b552a627e1
cleanup version.py
5 years ago
George Hotz
2f9379a139
selfdrive/*.py
5 years ago