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: b87414c749
2024-08-23 15:19:21 -07:00
Maxime Desroches
f3cb2a3b66 op.sh: categorize commands (#33305)
names
old-commit-hash: f118d17659
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: 63a38dcd4d
2024-08-13 21:47:20 -07:00
Maxime Desroches
1b73a341e4 op.sh: remove python version check (#33288)
python check
old-commit-hash: 96a658648d
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: 37e4a32454
2024-08-13 15:15:19 -07:00
Maxime Desroches
17dfc2b45b op.sh: consistent naming (#33249)
name
old-commit-hash: ea05474df2
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: 80653bfb59
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: c7cf6f6568
2024-08-05 14:07:57 -07:00
Adeeb Shihadeh
f46fc7d7e4 op: simpler examples
old-commit-hash: 3fd4b2f676
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: 13511e383c
2024-08-01 22:16:13 -07:00
Maxime Desroches
619c6ce4c2 op.sh: check for valid invocation (#33166)
no source
old-commit-hash: d0671bda6d
2024-08-01 13:44:57 -07:00
Maxime Desroches
319c2dc3e1 op.sh: fix python version check (#33163)
fix check
old-commit-hash: 7bf912f407
2024-07-31 21:40:48 -07:00
Maxime Desroches
0d9b5627f2 op.sh: call directly instead of sourcing (#33160)
no source
old-commit-hash: 16ea2ff270
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: bf003f2972
2024-07-31 10:42:08 -07:00
Maxime Desroches
f933404ce6 op.sh: misc improvements (#33096)
* check for install

* venv

* build
old-commit-hash: d7159cd3c7
2024-07-26 16:10:00 -07:00
Maxime Desroches
3a7e9b2a92 op.sh: check submodules (#33095)
submodules
old-commit-hash: eab9cd751c
2024-07-26 15:28:13 -07:00
Adeeb Shihadeh
63f630a98a op.sh: parallel submodule update
old-commit-hash: 00d9748d9a
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: d24b80fca4
2024-07-26 14:40:14 -07:00
Maxime Desroches
8af6320ddc op.sh: run pytest (#33090)
test
old-commit-hash: a1dce6ef47
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: 8827067eae
2024-07-25 18:21:42 -07:00
Maxime Desroches
5ca7e0bc30 op.sh: improvements (#33078)
improvements
old-commit-hash: 3c192cbf88
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: 173a633a75
2024-07-25 14:28:41 -07:00
Maxime Desroches
b6881ce161 Update op.sh
old-commit-hash: 6cdf2a1499
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: 4ac938a578
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: 71ad5a8dee
2024-07-24 14:49:35 -07:00
Maxime Desroches
d33651d662 Update op.sh
old-commit-hash: 18c310addf
2024-07-23 23:04:42 -07:00
Maxime Desroches
4dbf2cd002 Update op.sh
old-commit-hash: 3382002cd0
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: f60dfd4dbb
2024-07-23 21:47:07 -07:00