[zorg] r346830 - Generate better names for automatic schedulers.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 21:30:37 PST 2018
Author: gkistanova
Date: Tue Nov 13 21:30:37 2018
New Revision: 346830
URL: http://llvm.org/viewvc/llvm-project?rev=346830&view=rev
Log:
Generate better names for automatic schedulers.
Modified:
zorg/trunk/buildbot/osuosl/master/config/schedulers.py
Modified: zorg/trunk/buildbot/osuosl/master/config/schedulers.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/osuosl/master/config/schedulers.py?rev=346830&r1=346829&r2=346830&view=diff
==============================================================================
--- zorg/trunk/buildbot/osuosl/master/config/schedulers.py (original)
+++ zorg/trunk/buildbot/osuosl/master/config/schedulers.py Tue Nov 13 21:30:37 2018
@@ -50,11 +50,12 @@ def getSingleBranchSchedulers(builders,
if frozenset(getattr(b['factory'], 'depends_on_projects')) == projects
]
+ automatic_scheduler_name = ",".join(sorted(projects))
projects_to_filter = getProjectsToFilter(projects)
automatic_schedulers.append(
SingleBranchScheduler(
- name="auto_scheduler_%x" % hash(projects),
+ name=automatic_scheduler_name,
treeStableTimer=treeStableTimer,
builderNames=sch_builders,
change_filter=ChangeFilter(project=projects_to_filter)
@@ -62,7 +63,7 @@ def getSingleBranchSchedulers(builders,
)
log.msg(
- "Generated SingleBranchScheduler: { name='auto_scheduler_%x'" % hash(projects),
+ "Generated SingleBranchScheduler: { name='%s'" % automatic_scheduler_name,
", builderNames=", sch_builders,
", change_filter=", projects_to_filter,
"}")
More information about the llvm-commits
mailing list