MPTCP Linux Development
 help / color / mirror / Atom feed
From: Mat Martineau <mathew.j.martineau at linux.intel.com>
To: mptcp at lists.01.org
Subject: [MPTCP] Re: [Weekly meetings] MoM - 4th of March 2021
Date: Tue, 09 Mar 2021 17:42:47 -0800	[thread overview]
Message-ID: <98755a17-6da7-5384-da8f-425531bd18@linux.intel.com> (raw)
In-Reply-To: d412b65b-93b1-3448-852b-fe00d574993c@tessares.net

[-- Attachment #1: Type: text/plain, Size: 3269 bytes --]


On Sat, 6 Mar 2021, Matthieu Baerts wrote:

> Hi Mat,
>
> On 05/03/2021 00:26, Mat Martineau wrote:
>> On Thu, 4 Mar 2021, Matthieu Baerts wrote:
>>
>>>    - CI (Matth):
>>>        - Is it OK to sync with net-next and push without compiling the 
>>> tree if there is no conflict?
>>>        - Goal: to decouple CI tasks:
>>>            - sync with upstream (or export in case of changes in the tree) 
>>> → re-create "export"
>>>            - validate build (+ sparse) of each commit of the export branch
>>>            - validate build (+ sparse) of any branch ("PR")
>>>        - Reason: We can only have 2 cores per job but have multiple jobs 
>>> in parallel
>>>        - Seems OK: devs can use previous tags if the last version is 
>>> broken
>>>        - If really it is an issue: deal with a temporary task and publish 
>>> at the end. (increasing a bit the total time if we need to re-clone a full 
>>> repo again)
>>>        - GH Action in progress
>>>        - Next: KVM tests
>>>        - Next: patchew (or start that in parallel once we are really to 
>>> validate one commit/series with GH Action?)
>> 
>> Matthieu -
>> 
>> You mentioned in the meeting that one challenge was quickly cloning the 
>> kernel repo when a shallow clone would not work. I stumbled across the 
>> linux-bundle-clone script in 
>> https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/ 
>> today, though it might help.
>> 
>> (Konstantin/mricon leads the kernel.org admin team)
>> 
>> It uses git bundle files hosted by kernel.org to speed up cloning a full 
>> repo in CI environments.
>
> Thank you for the pointer, that looks interesting, I never used 'git bundle'.
>
> Unfortunately I don't see how to use that with our repo hosted on Github.
>
> For some jobs, I can use a "shallow clone" with a history truncated to a 
> specified number of commits. I don't need the full history to validate the 
> build of our each commit of our export branch. But I need to fetch many 
> branches to manage the TopGit tree. Which is probably fine because we don't 
> often modify the tree while we could "often" validate new commits on top of 
> the export branch.
>

Hi Matthieu -

I was mainly looking at the bundle script as an example of the commands to 
use *if* an automated build needed a repo with the full git history. I 
agree a shallow clone is going to be the best when the full history is not 
required. I might have misunderstood the concern as being about the full 
git history rather than being about the full set of topgit branches.


Since I was curious about the bundle approach, I just tried an experiment 
with:

  * curl -L "https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/clone.bundle" -o next.bundle
  * git clone next.bundle mptcptest
  * git remote set-url origin https://github.com/multipath-tcp/mptcp_net-next.git
  * git fetch origin

and the last step was really fast. I was a little surprised that the 
second step (clone from local bundle) wasn't faster on my system, but I 
assume server-grade hardware would have better disk IO.


--
Mat Martineau
Intel

             reply	other threads:[~2021-03-10  1:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10  1:42 Mat Martineau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-10 22:46 [MPTCP] Re: [Weekly meetings] MoM - 4th of March 2021 Matthieu Baerts
2021-03-06  7:50 Matthieu Baerts
2021-03-06  7:43 Matthieu Baerts
2021-03-05  2:28 Geliang Tang
2021-03-04 23:26 Mat Martineau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98755a17-6da7-5384-da8f-425531bd18@linux.intel.com \
    --to=mptcp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox