Skip to content

Use submodules for dependencies #319

Open
@qaisjp

Description

@qaisjp

I've briefly discussed this on the development chat and I've created this issue so that we can properly evaluate whether we want to use submodules. Please share your thoughts.


Is your feature request related to a problem? Please describe.
Updating and verifying vendor code is fairly manual work.

Describe the solution you'd like
For "vendored" code we haven't modified we can use git submodules.

This would make it easier to update and verify dependencies as we no longer need to fiddle about with copying code and figuring out which files to keep. We would just need to update the submodule reference.

Some things to be aware of:

  • We need to remind people to use git pull --recursive or git pull --recursive --shallow-submodules (the latter doing --depth=1 on submodules) and there are a couple other caveats
  • Most importantly, it must work with the build server (uses svn)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestupstreamRelated to vendor library

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions