Community Forks Matter

x-archive-community-master-merge
Jason Young 5 years ago
parent 099ec0620f
commit bd16a59172
  1. 4
      selfdrive/car/car_helpers.py
  2. 1
      selfdrive/version.py

@ -1,7 +1,7 @@
import os
from common.params import Params
from common.basedir import BASEDIR
from selfdrive.version import comma_remote, tested_branch
from selfdrive.version import comma_remote, vw_community_remote, tested_branch
from selfdrive.car.fingerprints import eliminate_incompatible_cars, all_known_cars
from selfdrive.car.vin import get_vin, VIN_UNKNOWN
from selfdrive.car.fw_versions import get_fw_versions, match_fw_to_car
@ -14,7 +14,7 @@ EventName = car.CarEvent.EventName
def get_startup_event(car_recognized, controller_available):
if comma_remote and tested_branch:
if (comma_remote or vw_community_remote) and tested_branch:
event = EventName.startup
else:
event = EventName.startupMaster

@ -56,6 +56,7 @@ branch = get_git_full_branchname()
if (origin is not None) and (branch is not None):
try:
comma_remote = origin.startswith('git@github.com:commaai') or origin.startswith('https://github.com/commaai')
vw_community_remote = origin.startswith('git@github.com:jyoung8607') or origin.startswith('https://github.com/jyoung8607')
tested_branch = get_git_branch() in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']
dirty = False

Loading…
Cancel
Save