Commit Graph

47 Commits

Author SHA1 Message Date
Trey Moen 993b1b4d88 refactor: LPA interface, CLI location (#35328)
* refactor: LPABase, simpler switch() interface

* leave this since LPABase hides

* hw-agnostic esim.py

* newline

* use latest
2025-05-25 08:54:07 -07:00
Trey Moen 786b46c0b4 feat: op esim and esim.py 2 (#35314)
* init: lpa interface

* handle multiple messages

* handle timeouts

* delete old LPA, add enable/disable/validation

* check if valid

* keep old file the same for easier diff

* keep

* nickname, bug fixes

* space

* simple

* need to test this on slow conn

* initial HITL test for eSIM provisioning

* cleanup

* lint

* test flakes if lpac called concurrently

* no

* cleanup

* org

* comment

* vibe coded uts

* Revert "vibe coded uts"

This reverts commit 8b4d8f8ade50dbeaf3fa44f1df1aa2d809deca18.

* much simpler test

* no value

* remove no value add comments

* only one test flow now

* simpler

* reorganize

* replace impl

* brevity

* moar

* why didnt u rename

* moar

* check lpac installed

* Profile dataclass

* shorten

* print out profiles

* better

* plurals

* argparse

* download/nickname

* move to end to show change

* just end early if already enabled

* --reboot

* reconfigure conn

* mutations require reboot today

* not needed

* lint

* guard delete

* better

* print help

* spaceg

* rename

* support at device

* choose backend

* desc

* more

* brackets

* op esim

* Revert "brackets"

This reverts commit 124dbc0cbcc07d93f556ca80a6dc47aa118fda5c.

* Update Jenkinsfile
2025-05-21 12:45:05 -07:00
Eric Brown 480cc57da3 Pass args to op auth (#35202) 2025-05-13 09:32:33 -07:00
Adeeb Shihadeh 58bc8e3b43 op: more robust openpilot finding (#35136) 2025-05-06 10:51:15 -07:00
Adeeb Shihadeh ddb19cc074 op: better adb SSH (#35135)
* op: better adb SSH

* fix
2025-05-06 10:21:23 -07:00
Trey Moen 45787163a2 feat: clip.py (#35071) 2025-04-30 15:32:11 -07:00
Mauricio Alvarez Leon d15d77f7bb op.sh: adb (#34468)
* add op adb

* adb_shell.sh

* su comma

* add to op output
2025-02-22 11:24:03 -08:00
Adeeb Shihadeh 2e374cd962 on-device building fixups (#34642)
* on-device building fixups

* fix
2025-02-20 16:16:57 -08:00
Adeeb Shihadeh bea096f0c5 op: skip env check for op switch (#34619) 2025-02-18 21:18:34 -08:00
Adeeb Shihadeh 22591dc6f8 op: simplify service restart (#34551) 2025-02-08 13:59:50 -08:00
Robbe Derks 12307dcb37 op auth command (#34529)
* auth command

* no python
2025-02-04 11:26:57 -08:00
royjr feb9b1cd8d op.sh start stop restart (#34404)
* op start stop restart

* =}

* only agnos

* Revert "only agnos"

This reverts commit ffb720ff3f08f5bd59ad77a45d89c3ac3b4d4621.

* only agnos systemctl

* fix got taps

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-01-22 17:01:29 -08:00
Maxime Desroches 9c9b273a3e set python upper bound to 3.13 (#34286)
* try

* test

* ...

* wow

* y

* docker

* <
2024-12-18 22:17:28 -08:00
Adeeb Shihadeh df2bf83846 op/switch: more robust switching 2024-12-15 09:39:23 -08:00
Adeeb Shihadeh 3328845be1 op/switch: fix ambiguous remote on checkout 2024-12-11 19:27:39 -08:00
Adeeb Shihadeh 9eccd9ad1e op: also fix resetting 2024-12-07 18:47:55 -08:00
Adeeb Shihadeh e23b61f0b6 op: fix branch switching after force pushes 2024-12-07 18:46:18 -08:00
Adeeb Shihadeh b33441213a tools/op: add switch command (#34112)
* tools/op: add switch command

* fix

* .

* usage

* fix

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2024-12-02 21:56:18 -08:00
Maxime Desroches c11d0a6518 setup: upper bound on python version (#33816)
ub
2024-10-18 14:24:51 -07:00
Maxime Desroches 8ff2785fb9 add back pre-commit hook (#33366)
* add pre-commit

* space

* post

* e
old-commit-hash: b87414c74971082a8af73d913441a00f90037798
2024-08-23 15:19:21 -07:00
Maxime Desroches f3cb2a3b66 op.sh: categorize commands (#33305)
names
old-commit-hash: f118d17659cfd57727a7bb48510b0a60c71b1237
2024-08-14 16:51:14 -07:00
Maxime Desroches 786820953b lint.sh: check shebang format for bash + python3 (#33286)
lint shebang
old-commit-hash: 63a38dcd4d463bdee788baa10c15e25cdf726ef4
2024-08-13 21:47:20 -07:00
Maxime Desroches 1b73a341e4 op.sh: remove python version check (#33288)
python check
old-commit-hash: 96a658648de3f227dea7eba1d495ac1333d7b89e
2024-08-13 20:43:02 -07:00
Maxime Desroches 1c2b830650 op.sh: separate op.sh output from the real command (#33282)
border
old-commit-hash: 37e4a324541406bc6e006b8f3dc0eac2b05690c0
2024-08-13 15:15:19 -07:00
Maxime Desroches 17dfc2b45b op.sh: consistent naming (#33249)
name
old-commit-hash: ea05474df25b91fb2568c83ee18ea27d67327edd
2024-08-10 00:05:35 -07:00
Maxime Desroches b5a58ca715 op.sh: fix venv on zsh + bash 3.2 (#33238)
* i love zsh

* check
old-commit-hash: 80653bfb591a3897f4bb3e59ed82e046812751cf
2024-08-08 16:32:02 -07:00
Maxime Desroches 10af4af68f setup.sh: metrics (#33175)
* save

* add sentry

* clean

* real sentry

* default

* true

* remote this
old-commit-hash: c7cf6f6568b3cf163fc0ffa9b1e01a5aaf87a913
2024-08-05 14:07:57 -07:00
Adeeb Shihadeh f46fc7d7e4 op: simpler examples
old-commit-hash: 3fd4b2f67666ced6e2fab4843e438135558de942
2024-08-04 11:07:08 -07:00
Adeeb Shihadeh 1feb6d671a remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
old-commit-hash: 13511e383c1679d17843e8cbf1bcb0a926f74c35
2024-08-01 22:16:13 -07:00
Maxime Desroches 619c6ce4c2 op.sh: check for valid invocation (#33166)
no source
old-commit-hash: d0671bda6d2042bd2a4cebf0304cfeffcc90df2a
2024-08-01 13:44:57 -07:00
Maxime Desroches 319c2dc3e1 op.sh: fix python version check (#33163)
fix check
old-commit-hash: 7bf912f40740b4cca62ddc65bd82700615636550
2024-07-31 21:40:48 -07:00
Maxime Desroches 0d9b5627f2 op.sh: call directly instead of sourcing (#33160)
no source
old-commit-hash: 16ea2ff270165e027370ddff67952b46404d01fb
2024-07-31 19:37:06 -07:00
Maxime Desroches 3e12f385d5 setup.sh: retry + timing (#33145)
* improve

* update readme

* stdin

* better

* allow non interactive

* specify dir
old-commit-hash: bf003f297239afd75889814da0aa9d53ab0101a1
2024-07-31 10:42:08 -07:00
Maxime Desroches f933404ce6 op.sh: misc improvements (#33096)
* check for install

* venv

* build
old-commit-hash: d7159cd3c77cbb8eba6c347090780f49e6104cb5
2024-07-26 16:10:00 -07:00
Maxime Desroches 3a7e9b2a92 op.sh: check submodules (#33095)
submodules
old-commit-hash: eab9cd751c99a0a5046cfb31711daab145f164b2
2024-07-26 15:28:13 -07:00
Adeeb Shihadeh 63f630a98a op.sh: parallel submodule update
old-commit-hash: 00d9748d9a4cead5c9e968fa9fb607fbf74955e4
2024-07-26 15:08:36 -07:00
Adeeb Shihadeh a2667533c9 remove body submodule (#33091)
* remove body submodule

* little more

* fix op
old-commit-hash: d24b80fca4e554325fe455ac2ea2cfbaafe570e8
2024-07-26 14:40:14 -07:00
Maxime Desroches 8af6320ddc op.sh: run pytest (#33090)
test
old-commit-hash: a1dce6ef475c69e446ab1ce13f1aadb26092804c
2024-07-26 11:34:36 -07:00
Adeeb Shihadeh 630f460442 op.sh: misc fixups (#33080)
* rm run

* little more

* lint

* one more lint

* cleanup
old-commit-hash: 8827067eaeba384722066caeeee4a35f30026d07
2024-07-25 18:21:42 -07:00
Maxime Desroches 5ca7e0bc30 op.sh: improvements (#33078)
improvements
old-commit-hash: 3c192cbf88f1272622dcf7428fbb8624edb02689
2024-07-25 16:57:43 -07:00
Maxime Desroches 8b1766caa0 curl pc installer (#33072)
* setup

* curl

* usable right now

* op sim

* cleanup

* show cmd
old-commit-hash: 173a633a75692ae104fa9c6e99501fec4df9ebb7
2024-07-25 14:28:41 -07:00
Maxime Desroches b6881ce161 Update op.sh
old-commit-hash: 6cdf2a1499885acec46d77498e96cad0f972592b
2024-07-24 23:11:23 -07:00
Maxime Desroches bc8e1101b3 op.sh: improvements (#33067)
* cabana

* pre-check

* cd

* change this

* fix

* fix install
old-commit-hash: 4ac938a578e68c88e39b73fa35024a4320557f64
2024-07-24 22:20:16 -07:00
Maxime Desroches 79b9f0b185 op.sh: general improvements (#33062)
* color

* format

* dry

* unset

* venv

* search for openpilot

* linter

* replay
old-commit-hash: 71ad5a8deef595d3e0cb01d3e8a4d8ced1ae5085
2024-07-24 14:49:35 -07:00
Maxime Desroches d33651d662 Update op.sh
old-commit-hash: 18c310addf7e19688f6cfc4530026b281ac7e75f
2024-07-23 23:04:42 -07:00
Maxime Desroches 4dbf2cd002 Update op.sh
old-commit-hash: 3382002cd03604710f39d01f19a37f4bb66b7cdf
2024-07-23 22:34:21 -07:00
Maxime Desroches 870a213e6b op tool helper (#33053)
* op

* change this

* juggler

* options

* fix

* submodules

* typo

* venv

* clean + install
old-commit-hash: f60dfd4dbb5d33bb1ec36c550742d185e2c4bf78
2024-07-23 21:47:07 -07:00