[patchew-devel] Re: [RFC] Dealing with submodules

  • From: Fam Zheng <famz@xxxxxxxxxx>
  • To: patchew-devel@xxxxxxxxxxxxx
  • Date: Tue, 13 Dec 2016 20:16:31 +0800

On Tue, 12/13 09:53, Ramon Medeiros wrote:

Hi,

i'm searching about how deal with repositories with submodules. I will make
a example to explain:

Suppose we have repo A, that contains A.1 and A.2 as submodules.


1) If i clone repo A, i can add --recursive to git clone, so all submodules
will be downloaded.

2) Clonning A.1 and A.2 is a trouble. I did not found any information that
shows the repository is a submodule. I'm working to find other ways to deal
with this when cloning a submodule. I can add the main repository to
.git/description, and then change git_clone_repo at patchew-cli.


In case to add more information about repositories, like add the main
repository, is it easy? I can do it by myself?

We can add a "base repo" setting to patchew project model, so that patchew
tester can clone the base repo first and look for the tested project in
.gitmodules, then test the patches under there.  This should be enough for
Kimchi case. Could you look into that?

Fam

Other related posts: