[Bug 48034] New: Better detect which Wine-related project a patch applies to
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Nov 3 04:38:18 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=48034
Bug ID: 48034
Summary: Better detect which Wine-related project a patch
applies to
Product: Wine-Testbot
Version: unspecified
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: unknown
Assignee: wine-bugs at winehq.org
Reporter: fgouget at codeweavers.com
Distribution: ---
Currently the TestBot uses two pieces of information to detect whether a patch
sent to the mailing list is a Wine patch or not:
* The list of Wine source files (see bug 48033).
* A pair of blacklists for source filenames that are too generic to be proof a
patch is a Wine patch (see $AmbiguousPathsRe and $IgnoredPathsRe in
testbot/lib/WineTestBot/PatchUtils.pm).
A better method would be for the TestBot server to have access to all the
Wine-related repositories. A patch would initially be considered as a match for
all of them and the list of files it patches would then be analyzed. Every time
it patches a (not-new) file not present in one of the repositories, that
repository would be eliminated from the list of matches for that patch. At the
end the remaining repositories are the ones the patch could apply to. Most of
the time there should only be one and the TestBot would only create jobs if
Wine is one of them.
This would mostly eliminate the need for the hard-coded blacklists and may open
the door to expanding support for other Wine-related projects since the TestBot
would be able to identify patches for these projects too.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list