Commit Graph

70 Commits

Author SHA1 Message Date
Andrei Radulescu 25985e3999 Rewrite git history update (#32955)
Rewrite git history final touches
old-commit-hash: 50f55684a2
2024-07-12 16:44:52 -07:00
Andrei Radulescu ddde57d56c Rewrite git history (#31562)
* bfg

* filter repo is the new shit

* down to 27M

* move big files to lfs; remove external and phonelibs

* wip - rebase devel; don't delete external and phonelibs anymore

* wip - rebase devel hacks

* wip - rebase devel updates

* wip - rebase updates; lfs updates

* cleaned unused scripts

* wip - lfs fixes

* bfg with rebase with correct dates

* bfg script with cherry-pick method

* latest git-filter-repo analysis

* latest git-filter-repo 'before' analysis

* new lfs import

* latest git-filter-repo analysis

* lfs update; renamed rebase repos

* renamed scripts

* different tmp folders for rewrite scripts; lfs update

* gitattributes after lfs import

* tag-commit-map file with old tags pointing to old commits

* new tags

* final touches

* squash setup commits; cherry-pick validation; reverted to commaai remote

* removed rebase version

* 0.9.7 tag in tag-commit-map

* removed unused openpilot-release-archive

* fixed archive of old history because of 2 GB limit

* archive of old history push master first

* fix tags being deleted

* cleaning and more logs

* rewrite other branches with master history

* Former-commit-id

* updates to previous commits

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 481e5b28bd
2024-07-09 05:08:38 +00:00
Adeeb Shihadeh 9cfdd6200d Remove `setproctitle` (#32716)
* Custom setproctitle (#32667)

* add custom setproctitle

* add test

* Update poetry.lock

* fix lint

* support only Linux

* test only Linux

* final lint

* Update test_setproctitle.py

* Update setproctitle.py

* convert to threadnames

* delete proctitles

* Check str len and use PR_GET_NAME

* fix poetry.lock

* lint fix

* Update common/threadname.py

---------

Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* revert that for now

* use last 15

* fix

* use name

* update those

* and modeld

* rm

---------

Co-authored-by: schlimeszn <138847413+schlimeszn@users.noreply.github.com>
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 83ac80c6c8
2024-06-11 21:57:32 -07:00
Adeeb Shihadeh e920e57530 Revert "Custom setproctitle (#32667)"
This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813.

old-commit-hash: 5b51f03967
2024-06-10 19:55:41 -07:00
schlimeszn afea57ae2a Custom setproctitle (#32667)
* add custom setproctitle

* add test

* Update poetry.lock

* fix lint

* support only Linux

* test only Linux

* final lint

* Update test_setproctitle.py

* Update setproctitle.py

* convert to threadnames

* delete proctitles

* Check str len and use PR_GET_NAME

* fix poetry.lock

* lint fix

* Update common/threadname.py

---------

Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3365ed5eff
2024-06-10 18:59:01 -07:00
Adeeb Shihadeh 4356b74cca updated: finish system/ move (#32535)
* updated: finish system/ move

* add those back

* skip that

* skip whole file

* one more time
old-commit-hash: 73b02f2cda
2024-05-25 12:22:02 -07:00
Justin Newberry b899592b18 cars: platform enums -> prepend brand name (#31927)
* with brand name

* migrate

* Fix

* fixes

* more

* passes

* fix

* fix the doc

* collects

* these too

* more stuff

* body exception :/

* more

* hardcode i guess

* update ref

* toyota

* more toyota

* and here

* final!

* fix notebooks and ccs

* move this here
old-commit-hash: b0eb3ba4f4
2024-03-19 17:29:50 -07:00
thenhnn 77d6d1a8f1 PlatformConfig: automatically get platform_str from the enum name (#31868)
* get platform_str from the enum name

* fix tests

* add migration table

* remove impossible todo

* Add link to PR in MIGRATION table

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Remove useless brand name comments and rename RAM_1500 to RAM_1500_5TH_GEN

* rename RAM_HD to RAM_HD_5TH_GEN

* rename references to RAM_HD and RAM_1500

* change "mock" to "MOCK" and rename torque data of Nissan Leaf 2018 IC

* remove MOCK from fingerprints.py

* change hard-coded car model in test_can_fingerprint.py/test_timing

* migration

* update ref

* space

* prius

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: justin newberry <justin@comma.ai>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 489528dcae
2024-03-19 11:16:02 -07:00
Justin Newberry 4de27acf3d more car info -> car docs (#31885)
old-commit-hash: 0b92f4e9ee
2024-03-17 16:53:57 -07:00
Adeeb Shihadeh 48909089fa it's called esim now
old-commit-hash: 7331b3cc95
2024-03-06 13:39:49 -08:00
Justin Newberry 2cdb550d12 updated -> move to selfdrive/updated/updated (#31696)
* move updated

* for release
old-commit-hash: be2b48183f
2024-03-04 14:33:52 -08:00
Cameron Clough c32539b23a scripts: install and run pyupgrade (#31587)
old-commit-hash: 30afe2c231
2024-02-25 09:26:11 -08:00
Adeeb Shihadeh 972650f0eb remove dashcam branch (#31081)
* remove dashcam branch

* fix

* more cleanup

* remove param

* one more
old-commit-hash: 7cd9568423
2024-01-19 14:05:03 -08:00
Adeeb Shihadeh a4f2b2e2ff script for checking out a pr
old-commit-hash: 6810c5b644
2023-12-26 19:22:34 -08:00
Adeeb Shihadeh d5c951072b three way merge
old-commit-hash: 702c4392a4
2023-12-10 12:10:40 -08:00
Adeeb Shihadeh 7bbf0c072d helper script for fixing up repo size (#30028)
* small

* mv
old-commit-hash: f09ee083a2
2023-12-10 11:33:40 -08:00
Justin Newberry 12da944f1c jenkins: retry build_devel (#30628)
* will it work

* retry build devel

* correct p[ath

* try a failure

* Revert "try a failure"

This reverts commit ba4e6a0a20.
old-commit-hash: 36bebb1aa0
2023-12-06 17:22:32 -08:00
Logan Lasiter 4f1ed42285 adding --local-partial-types mypy opt (#30491)
old-commit-hash: 5b2bcf6bf2
2023-11-18 22:47:11 -08:00
Adeeb Shihadeh 657d11b4a2 delete some old files
old-commit-hash: 1dd4ade197
2023-09-30 16:07:26 -07:00
Justin Newberry c4f322ce2d Linter: remove pylint (#29611)
remove pylint
old-commit-hash: 1ee6ed4b16
2023-08-24 16:30:54 -07:00
Dean Lee de809632bf cpplint: add filter `whitespace/comma` (#29595)
old-commit-hash: 7bfd3dac81
2023-08-24 10:42:06 -07:00
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
2023-08-20 20:49:55 -07:00
Adeeb Shihadeh 51634f52dc replace custom clock helpers with time module (#29499)
* replace custom clock stuff wtih time module

* fix double

* fix release

* bump cereal

* update type

* fix one more
old-commit-hash: d61f86d339
2023-08-20 18:50:58 -07:00
Justin Newberry d487c0501f Ruff: enable most of bugbear (#29320)
* added mutable default args

* most of the Bs

* add comment about lrucache
old-commit-hash: 62c1e65924
2023-08-11 15:33:49 -07:00
Justin Newberry 7d6d3dc9ea Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
old-commit-hash: af3ed37c5c
2023-08-10 15:28:51 -07:00
Cameron Clough db8cff7028 Partial revert "Update cell.sh (#27055)"
old-commit-hash: 0cbc996de8
2023-07-03 08:04:18 -07:00
Michael G. Inso cb2ae8ed62 Update cell.sh (#27055)
You can combine the two nmcli commands into a single command by specifying both ipv4 and ipv6 options at the same time.

You can use the nmcli command with the --wait option to wait for the connection to be fully established before exiting.

You can use nmcli command with the --ask option to prompt the user to confirm the action before proceeding.
old-commit-hash: f5d253764c
2023-01-23 09:49:48 -08:00
Shane Smiskol 984134be0e FPv2: fixed fingerprint overrides query result (#25990)
* query FW versions if fixed (override after)

* skip here

* also skip here

* and here
old-commit-hash: e7805eb5c5
2022-10-06 15:24:52 -07:00
Adeeb Shihadeh 33508cd811 updated: clean untracked nested git repos (#25917)
* updated: clean untracked nested git repos

* ff all the cleans
old-commit-hash: 4e32387ce5
2022-09-28 16:33:42 -07:00
Adeeb Shihadeh 9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b
2022-06-11 16:38:24 -07:00
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
2022-05-18 14:11:57 -07:00
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
2022-05-12 14:59:00 +02:00
Shane Smiskol 10fb405bfa car info: function that sorts all car info into tiers (#24498)
* base function that returns all car info sorted by make model

* don't need to pass it in quite yet
old-commit-hash: dabcfd266e
2022-05-11 15:59:08 -07:00
Adeeb Shihadeh 8bf3214ce3 cell testing script
old-commit-hash: 7bcecbfd0d
2022-05-06 11:20:04 -07:00
Adeeb Shihadeh ce48c81299 remove eon debug scripts
old-commit-hash: b16e612102
2022-05-05 19:42:18 -07:00
Comma Device 5a55e1bb79 launch corolla script for desk replay
old-commit-hash: aef61541e3
2022-04-20 14:12:43 -07:00
Shane Smiskol 426a300c21 docs: support for automatically generating website vehicles page (#24020)
* add vehicles.vue template

* add original vue file

* stash

* stash

* clean up a bit

* add template for now

* implement footnotes and tier copy

* no more generator

* convert to 2 spaces

* should work, now onto vue

* does GH handle this html well?

* fix

* auto-generate descriptions and make tiers' maps non-str

* remove old files

* move template specific variable into templates, should be a bit simpler

* js template is simplier too now

js template is simplier too now

js template is simplier too now

* add video links from the nice car_info

* make rows attributes

* clean up

* fix

* remove template

* experiment with video links in GH

add image

how does this look?

fix

* Revert "experiment with video links in GH"

This reverts commit 8375e717b5.

* sort tier_car_info in place

* unused Tuple

* no type check

* fix script
old-commit-hash: 85d8997a8a
2022-03-23 13:42:53 -07:00
Shane Smiskol fbe4588771 Car ports: update PR template (#23996)
* update text for docs generator

* use docs.py

* Update .github/pull_request_template.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 99c02bdd29
2022-03-18 17:47:43 -07:00
Adeeb Shihadeh a6ed18a4f9 script to disable power save
old-commit-hash: d0060a9d9b
2022-02-09 13:39:17 -08:00
grekiki 9e4cc1f7ff Python: Replace more lists with generators (#23116)
* Replace lists with generators v2

* Replace set with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Replace more set() with {}

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 6951b3271d
2021-12-03 22:57:19 -08:00
Adeeb Shihadeh 63f019e2ef script to apply patch from PR
old-commit-hash: 7237128a1d
2021-11-28 13:33:57 -08:00
Adeeb Shihadeh 19c69ee0c2 nicer car count script
old-commit-hash: 1b800f4075
2021-11-18 20:56:20 -08:00
Willem Melching 0d035f6898 PyQt demo app (#21625)
* build python helpers lib

* call setMainWindow from python

* put in helper lib

* linter

* move to scripts
old-commit-hash: 25e4e94691
2021-10-29 12:37:17 +02:00
Adeeb Shihadeh 2ded81d455 fix count cars script
old-commit-hash: 3ab2d29fb8
2021-09-15 11:31:45 -07:00
Adeeb Shihadeh c3b925685c add switch to master script
old-commit-hash: 082bbc9d27
2021-09-14 16:27:11 -07:00
Adeeb Shihadeh f0d8b215bd remove old scripts
old-commit-hash: 84b3c56925
2021-08-17 17:07:45 -07:00
Adeeb Shihadeh 39d83ba32c remove oneplus camera params (#21047)
* remove oneplus camera params

* align
old-commit-hash: 8fdbbdef73
2021-05-26 17:46:43 -07:00
Adeeb Shihadeh a2cd7bfdeb script for pushing to PRs
old-commit-hash: f98049a0ef
2021-04-11 16:31:04 -07:00
Adeeb Shihadeh b1bdd26d2a script to count cars in the readme
old-commit-hash: 41a92b434f
2021-03-30 14:01:58 -07:00
Adeeb Shihadeh 0ed4f89d06 fix up waste script
old-commit-hash: 263d23ff3c
2020-12-18 16:12:58 -08:00