[Proposal] Improving the Autoware Repository Structure for New Contributors #6587
Replies: 3 comments 4 replies
-
|
I highly suggest adding a The other options all bring unnecessary complexity and/or chaos. Also let's move the ❌ Merging autoware_core into autoware repositoryWe have already did so many migrations and created so much confusion in our history. Right now the roles of the repositories are clear, modular and we have precedent https://github.com/ros2/ros2 Also versioning ❌ SubmodulesThis makes us lose too much flexibility. One example is, "Submodules are designed to pin an exact commit." so we won't have nightly anymore. Making development harder. Right now we (and the autoware integrators) have modularity with what repos to pick. With git submodules, this wont be possible. Also it will become complicated when people fork both this meta-repo and some sub-repos. If someone tested if where a submodule is modified to point to some other repo, please let us know. |
Beta Was this translation helpful? Give feedback.
-
|
I prefer option 3 because options 1 and 2 decrease modularity and increase complexity. As for option 3, I think we can not only tell newcomers where the code is, but also tell them how to get the code. |
Beta Was this translation helpful? Give feedback.
-
|
Definitely the short-term goal should be option 3, but I don't get why submodule should be hated this much. I don't think submodule ever compromises our development flexibility, but even if it did, I would still prioritize observability over flexibility as we're dealing with safety-critical software. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Currently, the main Autoware repository (https://github.com/autowarefoundation/autoware) appears empty, as it does not contain source code but instead relies on external repositories.
This structure has historical and architectural reasons, but for new contributors and industry partners, this leads to significant confusion:
These issues reduce Autoware’s approachability and hinder ecosystem growth. This proposal aims to:
Proposals
Option 1: Merge Autoware Core into the Autoware Meta-Repository
Move all source code from autoware_core into src folder in the autoware repository. Autoware Universe will be treated as extension to the Autoware repository and can be maintained via vcs .repos files.
Pros
Cons
Option 2: Replace VCS with Git Submodule
Replace vcs with git submoulde. The meta-repo becomes a user-friendly bundle.
Pros
Cons
Option 3: Add a src/ Directory with a README Explaining Where the Code Is
Leave the meta-repo empty, but create a src/ folder containing only documentation explaining the link to the code
Pros
Cons
Option 4: Keep Current State
Keep using vsc tools with autoware.repos files
Summary
Beta Was this translation helpful? Give feedback.
All reactions