Additional Submodules? #7592
Replies: 3 comments 7 replies
-
|
Git submodules bring a certain complexity. If possible, I would avoid them and use classical dependencies (e.g. node package). In any case, I would agree that submodules should only point to repositories in the Opencast GitHub org. |
Beta Was this translation helpful? Give feedback.
-
That sounds reasonable, from my very naive perspective :D |
Beta Was this translation helpful? Give feedback.
-
|
The main issue I'd like to address is that the I would like to solve this. For debugging convenience—especially when libraries are updated—the source code should ideally live exclusively in the My proposal is to remove the source code from the Opencast module entirely and replace it by either downloading the pre-compiled code (via a GitHub release Option 1: Download pre-compiled code (TGZ or NPM)Downloading a Alternatively, we could fetch the Option 2: Git SubmoduleIf we decide to go the submodule route, it would need to be implemented differently than the current ones (where the Because ConclusionFrom my perspective, either downloading the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
In the technical meeting today we talked about potentially making paella8 a submodule. While a number of us were ok with this, there were some objections and suggestions on how to better approach this if we go ahead.
The initial approach suggested was to move the current glue code into a subdirectory of the current module (so something like
modules/engage-paella-player-8/paella) keeping our pom file in the main repository to simplify the branch bookkeeping.The counter argument presented was that we should not be adding submodules outside of Opencast's org as direct submodules, and that we want to continue to have buildability if for some reason you don't have the code checked out. A suggestion was made that we move the
engage-paella-player-8module into its own repository, like admin, editor, and studio, and then make that repository a submodule. This would also preserve buildability since your .m2 would have the last built version of the module rather than requiring a fresh build each time.So, in summary here:
opencast/opencast, or do we create a separate repo that effectively nests the submodule?Not that I am expecting a huge number of additional submodules to be added, but when considering the above make sure to think about what your vote would be for some other module to be added to the build. We should, ideally, be doing more or less the same thing for every submodule in the global
opencast/opencastproject.Beta Was this translation helpful? Give feedback.
All reactions