usdot-fhwa-stol / carma-platform

CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication. Doxygen Source Code Documentation :
https://usdot-fhwa-stol.github.io/documentation/carma-platform/
402 stars 122 forks source link

Fix master branch for usdot-fhwa-stol/autoware.ai repository #406

Closed maefromm closed 4 years ago

maefromm commented 4 years ago

Types of Issue

Descriptive summary

During the skyline release, the Skyline release branch was merged by mistake into Master branch, instead of carma-master branch. Pull Request: https://github.com/usdot-fhwa-stol/autoware.ai/pull/28

Per Kyle, using the GitHub Revert button will substantially make it more complicated to add the commits back to master in the future. Therefore need further discussion with John to fix this.

Expected behavior

PR should be reverted.

Software version this applies to

Skyline Release or 3.1.0

Actual behavior

NA

Steps to reproduce the behavior

NA

Related work

Link to related tickets or prior related work here. NA

msmcconnell commented 4 years ago

This issue is effectively OBE since Autoware 1.12 split the single repo into many the old master branch no longer applies to an active repository. Therefore it would probably be better for the updated CARMA fork to just start using the existing develop and master branches and deprecate the carma-develop and carma-master branches.

TonysCousin commented 4 years ago

I have compared the master vs carma-master and they can be merged without conflict. Also, comparing develop vs carma-develop reveals several conflicts that will need to be resolved manually. Since we are not using the develop branch, we can safely do this manual "merge" by selecting the carma-develop version of each of the several conflicting files. In doing so, then we can go back to using both the conventionally named master and develop branches and deprecate the ones with the carma prefixes.

TonysCousin commented 4 years ago

Further study reveals that the README.md at the top of the autoware.ai forked repo indicates that creating a merge that spans subtrees is a bad thing. With these merges covering over 4000 files, it is inevitable that we will be spanning subtrees. Therefore, I am choosing not to take that risk, or spend the time to figure out if/how we can get around it. Rather, we can be okay living with our unconventional branch names, carma-master and carma-develop, and cease to use the regular branches in this repo. As it stands, carma-master and carma-develop are in good shape for current use as they are - no repairs need to be done at this point.