Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fprime-bootstrap project Should recognize existing repo before creating an empty one #3125

Open
mprather opened this issue Jan 10, 2025 · 0 comments

Comments

@mprather
Copy link
Contributor

F´ Version 3.5.1
Affected Component

Feature Description

The project bootstrapper assumes that a new repo is needed. It should first check to see if one already exists and, if so, use it.

Rationale

Many orgs have existing large repos. Further a lot of dev teams try to limit the use of submodules. It would be nice to incorporate an F´ project somewhere within an existing repo in a clean fashion.

\- <largeRepo>
  |- product_library_1
  |- product_library_2
  |- tools_etc
  |- fprime_project_1

With the current implementation, the only way to "easily" bring in an F´ project is to setup a separate repo and bring in the project as a submodule. Right off the bat you are working 2 submodules for the one F´ project. Doable but may not be desired.

The alternative is to kill the repo provisioned by the bootstrapper and then reestablish the submodule for the fprime repo itself. This brings the submodule count down to 1. This too is doable but also requires more work.

If the strapper can check for the existence of an repo, it would make integration with larger codebases easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant