* Create .pyenvrc if it does not exist
* Replace source zshrc with pyenvrc
* Remove unnecessary variables if pyenv wasn't installed
* Add check fo PYENV_SHELL
* source instead of eval
* printf instead of echo
* leave previous pyenvrc path to source
* Add newline
* Change shebang
* Dont source the file after setup
* eval virtualenv-init too
* modify comment
* Just unset broken function on macos
old-commit-hash: 39d2517d3d
* reduce global state
* use a decorator here too
* use that one
* use base imports
* ipchandler in setup
* move to common dir
* move to helpers
* wip
* fix the decorator
old-commit-hash: 5dc7028f91
* use a monotonic buffer to allocate CanEvent
* set the next buffer size to 6MB
* static
* cleanup
* use const iter
* rename to insert_pos
old-commit-hash: 57ad4f02f8
* empty socketcan class
* works on linux with vcan
* add open stream widget
* fix MacOS build
* update readme
* unused
* no socketcan on C3
* fix in cabana sconstruct
* serial -> device
old-commit-hash: 2b0e4d46bb
* mvp devcontainer. builds, runs and UI works
* fix indentation
* enable color and fix openpilot_env path
* separate dockerfile for devcontainer
* use prebuilt image
* Fix openpilot_env setup
* Add dev container section in readme
* Fix typo
* Fix typo again
* Move dev dockerfile to .devcontainer dir
* Update README
* Add note about x11 forwarding on macos
* Update dev container json
* Fix typo
* Override DISPLAY on macOS
* Mention XAUTHORITY for macOS setup in README
* fix typo
* Add devcontainer CI test
* Rename to devcontainer
* Fix git issues
* ripgrep
* Link instead of vscode manual
* Replace raw path with containerWorkspaceFolder
* Fix typo
* Remove dev tools workflow
* Link away X11 forwarding setup isntructions for mac
* Remove fork consrtaint, add test run of scons
* Add submodules as safe.directories in postStartCommand
* Remove openpilot_env references
* Add scons cache volume
---------
Co-authored-by: Robbe Derks <robbe@localhost.localdomain>
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: d71a7190f1
* Revert "CI: prevent moc from running in cache population step (#29401)"
This reverts commit 34634b95aa15dc608315016c40857f3e16ca4ff9.
* Revert "SCons: respect cache read only (#29437)"
This reverts commit 77cb4da6381fdf94ea98c55d6fcc30db4d24dcf6.
* don't change moc path
old-commit-hash: 91dc8457ae
* build docker image with scons cache
* use setup
* scons cache
* added the dockerfile
* add the shell
* docs use cache
* dont pull lfs for docs
* simulator too
* dont pull the cache image
* fix inputs
* inputs
* booleans aren't supported
* bool not supported
* bool isnt supported
* fix
* readonly cache
* fix sim cache too
* respect readonly
* gitignore and move to correct folder
* also copy old
* move to tools/ci
* move to selfdrive/test
* just make the cache writable, it's discarded anyway
* minimize diff in this pr
old-commit-hash: 197460e061
* code from setup cleanup #29419
update ci
update ci
export variables for mac os
check env
what is in the profile script?
install pyenv the same everywhere
temporarily disable brew cache
temporarily disable brew cache
try fixing pyenv virtualenv-init
try this
inject shims path earlier
try alternate install method
switch back to brew install
try eval "$(pyenv init --path)"
add eval "\$(pyenv init --path)"
* Add local .env file to the cache list
* Change .env paths
* debug line
* order?
* remove .env
* Add .venv to caches
---------
Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 0f7be5b1e6