public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 4/4] patch: Set dummy credentials for git notes
Date: Wed,  8 May 2024 09:42:23 +0300	[thread overview]
Message-ID: <20240508064223.534237-5-amikan@ilbers.de> (raw)
In-Reply-To: <20240508064223.534237-1-amikan@ilbers.de>

lib/oe/patch was migrated to use git notes to store the filenames for
the patches. This requires git to be configured with some credentials.
To keep compatibility with downstreams and do not introduce any new
requirements for Isar users add some dummy value to be used internally.
This patch will probably need to be reapplied on next Bitbake update.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 meta/lib/oe/patch.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index 35734a0d..fcb3b5d3 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -468,6 +468,8 @@ class GitApplyTree(PatchTree):
         runcmd(["git", "config", "notes.rewriteMode", "ignore"], repo)
         runcmd(["git", "config", "notes.displayRef", notes_ref, notes_ref], repo)
         runcmd(["git", "config", "notes.rewriteRef", notes_ref, notes_ref], repo)
+        runcmd(["git", "config", "user.email", "isar-users@googlegroups.com"], repo)
+        runcmd(["git", "config", "user.name", "Isar"], repo)
         runcmd(["git", "notes", "--ref", notes_ref, "append", "-m", note, ref], repo)
 
     @staticmethod
-- 
2.34.1


  parent reply	other threads:[~2024-05-08  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-08  6:42 [PATCH 0/4] Update OE-core libs to 5.0 LTS Anton Mikanovich
2024-05-08  6:42 ` [PATCH 1/4] Revert "devshell: Use different termination test to avoid warnings" Anton Mikanovich
2024-05-08  6:42 ` [PATCH 2/4] meta: Update OE-core libs to 5.0 LTS Anton Mikanovich
2024-05-08  6:42 ` [PATCH 3/4] Revert "Revert "devshell: Use different termination test to avoid warnings"" Anton Mikanovich
2024-05-08  6:42 ` Anton Mikanovich [this message]
2024-05-17 11:22 ` [PATCH 0/4] Update OE-core libs to 5.0 LTS Anton Mikanovich

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=20240508064223.534237-5-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /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