Adeeb Shihadeh
da6fd75125
move sentry/stats to system/ ( #32490 )
...
* move sentry/stats to system/
* fix
11 months 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
4fbc8a3896
move git commands to common/git.py ( #31921 )
...
move git into common/git.py
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
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
Greg Hogan
db35dcd0b5
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs funtion ( #30618 )
...
replace common.file_helpers.mkdirs_exists_ok with python os.makedirs function
1 year ago
Adeeb Shihadeh
1abea5a259
don't upload crash logs from forks ( #30203 )
...
* don't upload crash logs from forks
* fix
2 years ago
Justin Newberry
bfe990b112
System: cleanup paths to use a common class ( #29816 )
...
* use OP prefix for logmessage
* cleanup paths too
* cleanup the paths too
* add hw.py to release
* fix those issues
* fix unittests
* fix unittests
* fix unittests
* do swaglog_ipc properly across all the files
* fix that
* fix swaglog in c++
* review suggestions
2 years ago
Justin Newberry
1ee6ed4b16
Linter: remove pylint ( #29611 )
...
remove pylint
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
e4ead4f183
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
2 years ago
Adeeb Shihadeh
94eb215980
loggerd: move to system/ ( #27534 )
2 years ago
Adeeb Shihadeh
8cee561dbf
tombstoned: remove android code
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
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
8af20af66d
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
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
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
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
Willem Melching
ea0e611872
Switch to new sentry_sdk ( #20690 )
...
* remove unused crash.install
* use sentry_sdk in crash.py
* athena crashes dont rely on excepthook
* make default crash handler work
* make it work in athena
* fixup tombstoned
4 years ago
Willem Melching
e7b4e4f7ea
rotate Sentry API keys ( #20681 )
4 years ago
Willem Melching
301500dff6
Upload android tombstones ( #20459 )
...
* upload android tombstones
* remove comment
4 years ago
Willem Melching
7b56ab7811
small tombstoned cleanup
4 years ago
Willem Melching
4cd17555c1
tombstoned: fix address offset in string
4 years ago
Willem Melching
39615f9108
remove temporary fixes
4 years ago
Willem Melching
5812e09f23
tombstoned: fault address is also not unique due to ASLR
4 years ago
Willem Melching
0897642a51
fix tombstoned path length
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
1ac39ee9c3
bump tombstone size limit for tici
4 years ago
Adeeb Shihadeh
dfbd658a2f
log remote and branch in sentry ( #16766 )
...
* log remote and branch in sentry
* also add to crash.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Willem Melching
7d9fa1f85e
Tombstoned check crashlog permissions ( #2576 )
...
* check permission on apport crashes
* check permission bits
4 years ago
Willem Melching
47dfa52456
use iterator to loop over first 1000 entries ( #2359 )
5 years ago
Willem Melching
e88edeb051
apport support for tombstoned ( #2087 )
...
* apport support for tombstoned
* Update manager
* Update comment
5 years ago
Willem Melching
843a64c72f
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
5 years ago
Willem Melching
e1685b9019
Remove fault addr from tombstone title
5 years ago
Willem Melching
c495b2d9be
Tombstone add exception handler
5 years ago
Willem Melching
ca2d9af954
Fix comment
5 years ago
Willem Melching
d8d2d568dc
Simplify tombstoned, should fix #1258
5 years ago
Adeeb
e8cb6ea06a
Abstract common events + event cleanup ( #1129 )
...
* too many if
* unused
* whitespace
* key
* sefldrive/car/*
* no more gctx
* lower
* start abstracting common events
* all cars
* start small
* all cars
* reverse gear
* wrongCarMode
* wrongGear
* espDisabled
* steerUnvailable
* make linter happy
* c isn't used
* fix esp_disabled in VW
* update ref
* more red
* more cleanup
* fix subaru
* update ref
5 years ago
George Hotz
2f9379a139
selfdrive/*.py
5 years ago