[ofiwg] sharing code between libfabric and fabtests

Jeff Squyres (jsquyres) jsquyres at cisco.com
Sat Aug 25 05:28:26 PDT 2018


My $0.02: don't use git submodule.  It's more complicated than you think.

Merging the repos would be fine with me.


> On Aug 25, 2018, at 1:47 AM, Jeff Hammond <jeff.science at gmail.com> wrote:
> 
> TL;DR merge the repos.
> 
> I honestly don’t know why any project would separate the test bucket from the implementation except strictly at the git repo level i.e. test bucket repo is assumed to be git submodule in implementation repo.
> 
> Jeff
> 
> On Fri, Aug 24, 2018 at 5:23 PM Hefty, Sean <sean.hefty at intel.com> wrote:
> Because of the need to support OS and platform portability, there's a small, but growing, amount of code that needs to be shared between fabtests and libfabric.  Today the code has been duplicated.  (As an example, the definitions for complex data types are duplicated).
> 
> I know git has a submodule option (and subtree) that's close to what we need.  We might also be able to use some sort of build script to pull in the related files.  We could even move the shared code into a separate repo used by both, which might make submodules friendlier, and is probably the 'right' choice...
> 
> Does anyone have ideas as to the best option here?
> 
> - Sean
> _______________________________________________
> ofiwg mailing list
> ofiwg at lists.openfabrics.org
> https://lists.openfabrics.org/mailman/listinfo/ofiwg
> -- 
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> ofiwg mailing list
> ofiwg at lists.openfabrics.org
> https://lists.openfabrics.org/mailman/listinfo/ofiwg


-- 
Jeff Squyres
jsquyres at cisco.com



More information about the ofiwg mailing list