mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
* Add script for squash and merge workflow automation Introduced `squash_and_merge.py` to automate the process of squashing a source branch and merging it into a target branch. The script handles backups, commit message creation, stashing, cleanup, and includes optional push functionality. Provides user prompts and error handling to simplify complex merge workflows. * temp1 * Switch to PEP 604 style for optional and generic type hints Replaces `Optional` and `List` with the simpler `X | None` and `list[X]` syntax introduced in Python 3.10. Updated all function signatures accordingly for consistency and modernity. Also made minor string formatting consistency adjustments. * Fix type annotation for temp_branch variable Updated the temp_branch variable to include a proper type annotation (`str | None`). This change improves code clarity and aligns with Python typing standards. * more hints
openpilot releases
release checklist
Go to devel-staging
- update
devel-staging:git reset --hard origin/master-ci - open a pull request from
devel-stagingtodevel
Go to devel
- update RELEASES.md
- close out milestone
- post on Discord dev channel
- bump version on master:
common/version.handRELEASES.md - merge the pull request
tests:
- update from previous release -> new release
- update from new release -> previous release
- fresh install with
openpilot-test.comma.ai - drive on fresh install
- comma body test
- no submodules or LFS
- check sentry, MTBF, etc.
Go to release3
- publish the blog post
git reset --hard origin/release3-staging- tag the release
git tag v0.X.X <commit-hash>
git push origin v0.X.X
- create GitHub release
- final test install on
openpilot.comma.ai - update production
- Post on Discord, X, etc.