On 7/4/2024 4:44 PM, Alan C. Assis wrote:
I think Greg avoided using submodules because there are many issues caused
by it.

In fact submodules could avoid this issue, but maybe we could have some
marks indicating the last commit expected on apps/ to the current nuttx/

This way if someone git pull the nuttx/ and forgot to git pull the apps/
the make will detect it and will ask the user to do it.

I don't like this approach because it makes things more rigid (inflexible).
This is not something easy to fix.

BR,

Alan

That coupling could cause problems with the separation of OS and applications.  We've done a lot of effort to assure that the apps are totally independent of the OS and totally optional.

In the past, apps, Documentation, boards, and arch were all submodules.  Users hated the use of submodules and I would be hesitant to ever force that on users again.  It really complicates and slows down progress when you don't know if a change is in the currently selected submodule or not.  It basically requires a PR and merge or more per day to be usable.



Reply via email to