[tools] testbot/web: Fix hiding the branch column on the main page.
fgouget at codeweavers.com
Tue Jun 14 08:59:39 CDT 2022
It is hidden when only one branch exists.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Branches are not really supported: there is a table for them, they are
referenced by the jobs, but they have never been used in any of the
scripts or in the TestBot code. In particular the Reconfig scripts
only update and rebuild one Wine tree. But support for multiple
branches may work by having one Wine source tree and set of build
trees per branch.
So I'm keeping what branch support we have around for the day we need
testbot/web/index.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/web/index.pl b/testbot/web/index.pl
index 2073b1e6f..a3b26ea91 100644
@@ -41,7 +41,7 @@ sub DisplayProperty($$)
my $PropertyName = $PropertyDescriptor->GetName();
return $PropertyName =~ /^(?:Branch|User|PatchId|Patch)$/ ? "" :
$PropertyName eq "Submitted" ? ("ro", "timetipdate") :
- ($PropertyName eq "Branch" and !CreateBranches()->MultipleBranchesPresent) ? "" :
+ ($PropertyName eq "BranchName" and !CreateBranches()->MultipleBranchesPresent) ? "" :
More information about the wine-devel