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
Adeeb Shihadeh
f4675fc260
Merge common/ and selfdrive/common ( #24556 )
...
* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb
3 years ago
Dylan Herman
2dfba97175
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>
old-commit-hash: d2eef1955c
3 years ago
Adeeb Shihadeh
5a9644261f
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
old-commit-hash: 5c48e7bc86
3 years ago
Jack Huang
c0478078ee
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>
old-commit-hash: a84ddaecf1
3 years ago
Adeeb Shihadeh
aa72de42c5
master and forks aren't dirty
...
old-commit-hash: 3f89834e4e
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
Robbe Derks
323febbf37
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>
old-commit-hash: 1b49ce6ec4
3 years ago
Ewout ter Hoeven
a962365292
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>
old-commit-hash: 55390d273f
3 years ago
Adeeb Shihadeh
5e37ac43be
selfdrive/version: remove one unnecessary write to .git/ ( #23183 )
...
old-commit-hash: 13b4ff504d
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
Adeeb Shihadeh
6cdb496204
version.py: set terms and training version
...
old-commit-hash: a19738cba8
4 years ago
Adeeb Shihadeh
54270d569c
update tested branches
...
old-commit-hash: 116bb0b524
4 years ago
Greg Hogan
a86a549b5d
athena: version endpoint ( #21045 )
...
* athena: version endpoint
* get_version function
* more explicit version validation
old-commit-hash: ea0f7e2797
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
58f07d754c
add type hints to selfdrive/version.py
...
old-commit-hash: 0040ac987a
5 years ago
Adeeb Shihadeh
8c86886f75
fix get_git_remote not returning a value
...
old-commit-hash: 0394b8b921
5 years ago
Willem Melching
eab33adbc9
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>
old-commit-hash: c3a4558026
5 years ago
Adeeb Shihadeh
dff8e1310d
fix tested branch detection
...
old-commit-hash: ede5b632b5
5 years ago
Adeeb Shihadeh
e8ced8bee5
Cleanup startup event handling ( #1748 )
...
* cleanup startup event
* always show permanent
* lowest
* update refs
old-commit-hash: ccf6b80c7e
5 years ago
Adeeb
9027018368
Update Flake8 config ( #1624 )
...
* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a
5 years ago
Willem Melching
dea4e5681e
default values in version.py, fixes #1187
...
old-commit-hash: 4695b2daa9
5 years ago
Willem Melching
9013795434
Fix dirty files reporting
...
old-commit-hash: c770f54103
5 years ago
Willem Melching
45b524f592
Fix version.py in case of no branch
...
old-commit-hash: 1de0b9c233
5 years ago
Willem Melching
7f36b608f1
cleanup version.py
...
old-commit-hash: b552a627e1
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
fa4b6f33d1
openpilot v0.7.1 release
...
old-commit-hash: 8da8b6135c
5 years ago
Vehicle Researcher
99b637c7ce
openpilot v0.7 release
...
old-commit-hash: c025b96e8a
5 years ago
Vehicle Researcher
89d1d84c70
openpilot v0.6.5 release
...
old-commit-hash: cf80f7a28b
6 years ago
Vehicle Researcher
07aa8b1bf3
openpilot v0.6.1 release
...
old-commit-hash: 94053536b4
6 years ago
Vehicle Researcher
e47a2e6e30
openpilot v0.5.13 release
...
old-commit-hash: dd34ccfe28
6 years ago
Nigel Armstrong
042ef10fe5
Fix dirty flag
...
Git diff-index doesn't rebuild index, so files with modified dates or touched
are marked as modified with a SHA1 of all 0.
To fix this, we run update-index --refresh before diff index. Any touched
files are updated in the index.
https://stackoverflow.com/questions/36367190/git-diff-files-output-changes-after-git-status
old-commit-hash: 0a7fed9437
6 years ago
Nigel Armstrong
912d6aee39
Better logging of dirty files
...
old-commit-hash: a201322160
6 years ago
Nigel Armstrong
241d542eba
Log dirty files
...
old-commit-hash: d64025cca4
6 years ago
Vehicle Researcher
242328f92c
openpilot v0.4.7 release
...
old-commit-hash: ae5cb7a0da
7 years ago
Vehicle Researcher
7c1e812922
openpilot v0.4.5 release
...
old-commit-hash: 37285038d3
7 years ago
Vehicle Researcher
e4ba9edefa
openpilot v0.4.4 release
...
old-commit-hash: 9a9ff839a9
7 years ago
Vehicle Researcher
171647c2fc
openpilot v0.4.3.1 release
...
old-commit-hash: 3d628a6fe2
7 years ago
Vehicle Researcher
df22dac4f6
openpilot v0.4.3 release
...
old-commit-hash: 9a411ebf32
7 years ago
Vehicle Researcher
5de48a7668
openpilot v0.3.0-devel release
...
old-commit-hash: 4653a9aef0
8 years ago