All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yi Qingliang" <niqingliang2003@gmail.com>
To: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH 0/1] fetch2/git: Use basename for gitsrcname when ud.proto is file
Date: Mon, 12 May 2025 02:26:09 -0700	[thread overview]
Message-ID: <29977.1747041969023320088@lists.openembedded.org> (raw)
In-Reply-To: <b6ef29f5-277c-4df6-8f1f-a48274600cd7@windriver.com>

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

I submitted a bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15856

the bitbake on my env generated a git shallow tar for glibc, but with local mirror path in filename.
and linked to it as a symbollink located in git2.

when unpacking, the bitbake can't find the shallow with official shallow (which file name should contail sourceware.xxx), can can't find bare repo (which linked to the shallow file).

I think the latest patch for git shallow result it:
fetch2/git: Add support for fast initial shallow fetch
457288b2fda86fd00cdcaefac616129b0029e1f9

the patch author said that the bitbake don't want to generate shallow for local mirror, but why I got it? If so, maybe we should set shallow_skip_fast as True if protocol is "file":

-        ud.shallow_skip_fast = False
+        ud.shallow_skip_fast = (ud.proto == "file")

[-- Attachment #2: Type: text/html, Size: 1474 bytes --]

  reply	other threads:[~2025-05-12  9:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22  5:20 [PATCH 0/1] fetch2/git: Use basename for gitsrcname when ud.proto is file liezhi.yang
2024-06-22  5:20 ` [PATCH 1/1] " liezhi.yang
2024-07-14 11:17   ` [bitbake-devel] " Richard Purdie
2024-07-14 13:03     ` Robert Yang
2024-07-14 13:32       ` Richard Purdie
2024-07-14 13:54         ` Robert Yang
2024-08-06 11:06   ` Richard Purdie
2024-08-06 11:20     ` Ross Burton
2024-08-06 13:42     ` Robert Yang
2024-08-06 14:10       ` Richard Purdie
2024-08-07  2:23         ` Robert Yang
2024-08-07 14:58           ` Richard Purdie
     [not found]     ` <17E927848AD479BA.28314@lists.openembedded.org>
2024-08-06 13:50       ` Robert Yang
2024-07-14 11:08 ` [bitbake-devel] [PATCH 0/1] " Robert Yang
2025-05-12  9:26   ` Yi Qingliang [this message]
2025-05-12 11:20     ` Koch, Stefan
2025-05-13  0:41       ` Yi Qingliang
2025-05-13  0:48         ` Yi Qingliang
2025-05-13  1:02           ` Yi Qingliang

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=29977.1747041969023320088@lists.openembedded.org \
    --to=niqingliang2003@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.