Feature #3124
closedAttach NFD/ndn-cxx codebases as submodules of ndnSIM
100%
Description
Previously, NFD repository was imported into ndnSIM and merged into NFD/ folder using git subtree
command. Unfortunately, this organization is not ideal from maintainability perspective.
Alternative that simplifies maintenance is git submodule system. ndnSIM repository will be pointing to specific commit of the customized NFD and ndn-cxx repositories. When needed, this commit can be changed, including changes to rebased commits.
A small downside is a little complication of operations on repositories, as multiple repositories now involved.
Another part of this feature is to add custom form of ndn-cxx library as submodule. This way, ndnSIM no longer has indirect dependency on the library.
Updated by Junxiao Shi over 9 years ago
How would the inclusion of ndn-cxx as submodule affect the scenario template?
How to upgrade a scenario template (that a user has already modified) to use the ndn-cxx submodule instead of the installed ndn-cxx?
Would there be any problem if a scenario template is using the install ndn-cxx that is of a different version?
Updated by Alex Afanasyev about 9 years ago
I don't know yet the effect on scenario template. I suspect there should not be any problems, but this needs to be confirmed.
As for upgrade, it should be enough just remove libndn-cxx detection. Again, this needs to be tested.
Updated by Alex Afanasyev about 9 years ago
- Status changed from Code review to Closed