Adeeb Shihadeh
7a3e454d27
move sentry/stats to system/ ( #32490 )
...
* move sentry/stats to system/
* fix
old-commit-hash: da6fd75125
11 months ago
Justin Newberry
1548b673e0
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
old-commit-hash: effee900c4
1 year ago
Justin Newberry
a5bc36ea9d
move git commands to common/git.py ( #31921 )
...
move git into common/git.py
old-commit-hash: 4fbc8a3896
1 year ago
Greg Hogan
14e12980f5
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
old-commit-hash: 7affba06d8
1 year ago
Adeeb Shihadeh
59eb2988de
swaglog.py goes in common/ ( #30631 )
...
* swaglog.py goes in common/
* all of these go in release
* we'll even include the pyx
old-commit-hash: 35f819c823
1 year ago
Greg Hogan
e91032efb3
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
old-commit-hash: db35dcd0b5
1 year ago
Adeeb Shihadeh
38168c182c
don't upload crash logs from forks ( #30203 )
...
* don't upload crash logs from forks
* fix
old-commit-hash: 1abea5a259
2 years ago
Justin Newberry
c7029ea15a
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
old-commit-hash: bfe990b112
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
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 db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f183
2 years ago
Adeeb Shihadeh
3a968c67e1
loggerd: move to system/ ( #27534 )
...
old-commit-hash: 94eb215980
2 years ago
Adeeb Shihadeh
0645a347f2
tombstoned: remove android code
...
old-commit-hash: 8cee561dbf
3 years ago
Adeeb Shihadeh
3c48bc47b7
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
old-commit-hash: 0fce5d9045
3 years ago
Willem Melching
753045c73d
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>
old-commit-hash: f49a9c9fd2
3 years ago
Adeeb Shihadeh
bd71c594a2
pylint: enforce indentation (W0311) ( #24039 )
...
* pylint: enforce indentation (W0311)
* few more
old-commit-hash: 8af20af66d
3 years ago
Adeeb Shihadeh
fa8ba3617b
sentry fixups ( #23249 )
...
* set env
* do init in same place
* no sentry for forks
* start session
* start session
* remove that
* val
old-commit-hash: b63bc89bc9
3 years ago
George Hotz
86a39e838b
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>
old-commit-hash: dc96d4bee7
3 years ago
Shane Smiskol
ef38c36435
version.py: make function names more clear ( #23216 )
...
* rename a few version functions
* and is_prebuilt
* and some formatting 😊
old-commit-hash: b745a14ff7
3 years ago
Willem Melching
28dd415759
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
old-commit-hash: f7c46c6949
3 years ago
Willem Melching
c0ca2ce743
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
old-commit-hash: ea0e611872
4 years ago
Willem Melching
990cdde7af
rotate Sentry API keys ( #20681 )
...
old-commit-hash: e7b4e4f7ea
4 years ago
Willem Melching
59ea017b94
Upload android tombstones ( #20459 )
...
* upload android tombstones
* remove comment
old-commit-hash: 301500dff6
4 years ago
Willem Melching
3de7203214
small tombstoned cleanup
...
old-commit-hash: 7b56ab7811
4 years ago
Willem Melching
9832a90eb2
tombstoned: fix address offset in string
...
old-commit-hash: 4cd17555c1
4 years ago
Willem Melching
5ecc0b44c2
remove temporary fixes
...
old-commit-hash: 39615f9108
4 years ago
Willem Melching
cac173bf17
tombstoned: fault address is also not unique due to ASLR
...
old-commit-hash: 5812e09f23
4 years ago
Willem Melching
42b958f0f0
fix tombstoned path length
...
old-commit-hash: 0897642a51
4 years ago
Willem Melching
8a187ec406
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>
old-commit-hash: f3db94a0c4
4 years ago
Adeeb Shihadeh
dfb2df5c1c
bump tombstone size limit for tici
...
old-commit-hash: 1ac39ee9c3
4 years ago
Adeeb Shihadeh
605eecdd18
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>
old-commit-hash: dfbd658a2f
4 years ago
Willem Melching
d6531eee62
Tombstoned check crashlog permissions ( #2576 )
...
* check permission on apport crashes
* check permission bits
old-commit-hash: 7d9fa1f85e
4 years ago
Willem Melching
5c09e8e61b
use iterator to loop over first 1000 entries ( #2359 )
...
old-commit-hash: 47dfa52456
5 years ago
Willem Melching
6c653d4357
apport support for tombstoned ( #2087 )
...
* apport support for tombstoned
* Update manager
* Update comment
old-commit-hash: e88edeb051
5 years ago
Willem Melching
a56e2b01f8
Make pylint more strict ( #1626 )
...
* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f
5 years ago
Willem Melching
4610143f9d
Remove fault addr from tombstone title
...
old-commit-hash: e1685b9019
5 years ago
Willem Melching
efeec6230b
Tombstone add exception handler
...
old-commit-hash: c495b2d9be
5 years ago
Willem Melching
ea17840233
Fix comment
...
old-commit-hash: ca2d9af954
5 years ago
Willem Melching
ee9a131e53
Simplify tombstoned, should fix #1258
...
old-commit-hash: d8d2d568dc
5 years ago
Adeeb
65a2c62114
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
old-commit-hash: e8cb6ea06a
5 years ago
George Hotz
a7fa20b566
selfdrive/*.py
...
old-commit-hash: 2f9379a139
5 years ago
George Hotz
81dd5a50cf
root commit
...
old-commit-hash: 6c33a5c1f3
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
9abcfabc5f
openpilot v0.6 release
...
old-commit-hash: 8a9ed94f5f
6 years ago
Vehicle Researcher
0932b367bd
openpilot v0.5.12 release
...
old-commit-hash: 3f9059fea8
6 years ago
Vehicle Researcher
83dfc3ca1f
openpilot v0.5.11 release
...
old-commit-hash: 2f92d577f9
6 years ago
Douglas Schilling Landgraf
2b09464b33
patches ( #582 )
...
* selfdrive: add sys module to exit call
exit() is a helper for interactive shell. Let's explicit
use the module sys.
* selfdrive: tomstoned.py use constant for /data/tombstones/
Instead of use multiple times a string for
the data dir, use a variable.
old-commit-hash: 5a9d89ed42
6 years ago
Vehicle Researcher
df22dac4f6
openpilot v0.4.3 release
...
old-commit-hash: 9a411ebf32
7 years ago
Vehicle Researcher
81ebf6b142
openpilot v0.3.8.2 release
...
old-commit-hash: 187a70f760
8 years ago
Vehicle Researcher
5ef591d9c2
openpilot v0.3.7 tweaks
...
old-commit-hash: 8385b27cad
8 years ago