public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: buildbot@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [PATCH] elfutils moved to main branch
Date: Fri,  3 Nov 2023 14:56:15 +0100	[thread overview]
Message-ID: <20231103135615.602931-1-mark@klomp.org> (raw)

---
 builder/master.cfg | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/builder/master.cfg b/builder/master.cfg
index 4a40edf..d6b4d47 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -314,6 +314,14 @@ def master_and_users_try_branches(ref):
     return True
   return False
 
+def main_and_users_try_branches(ref):
+  if ref == "refs/heads/main":
+    return True
+  match = re.match ("refs/heads/users/[a-zA-Z0-9]+/try-", ref)
+  if match:
+    return True
+  return False
+
 # For git maint branches (as gnu poke uses)
 def master_and_maint_branches(ref):
   if ref == "refs/heads/master":
@@ -337,7 +345,7 @@ c['change_source'].append(sourceware_gitpoller)
 
 elfutils_repourl='https://sourceware.org/git/elfutils.git'
 elfutils_gitpoller = changes.GitPoller(repourl=elfutils_repourl,
-                                       branches=master_and_users_try_branches,
+                                       branches=main_and_users_try_branches,
                                        buildPushesWithNoCommits=True,
                                        pollInterval=3*60,
                                        pollRandomDelayMax=2*60,
@@ -483,8 +491,8 @@ c['schedulers'].append(sourceware_reconfig_scheduler)
 elfutils_scheduler = schedulers.SingleBranchScheduler(
         name="elfutils",
         change_filter=util.ChangeFilter(project="elfutils",
-                                        branch="master"),
-        reason="elfutils project master branch update",
+                                        branch="main"),
+        reason="elfutils project main branch update",
         builderNames=["elfutils-centos-x86_64",
 #                      "elfutils-debian-arm64",
                       "elfutils-fedora-arm64",
@@ -528,11 +536,11 @@ c['schedulers'].append(elfutils_try_scheduler)
 elfutils_snapshot_scheduler = schedulers.Periodic(
         name="elfutils-snapshots",
         change_filter=util.ChangeFilter(project="elfutils",
-                                        branch="master"),
-        branch="master",
+                                        branch="main"),
+        branch="main",
         periodicBuildTimer=15*60, # 15 minutes in seconds
         onlyIfChanged=True,
-        reason="elfutils periodic project master branch snapshot",
+        reason="elfutils periodic project main branch snapshot",
         builderNames=["elfutils-snapshots-coverage"])
 c['schedulers'].append(elfutils_snapshot_scheduler)
 
-- 
2.41.0


                 reply	other threads:[~2023-11-03 13:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20231103135615.602931-1-mark@klomp.org \
    --to=mark@klomp.org \
    --cc=buildbot@sourceware.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).