Opened 7 years ago

#1894 new enhancement

phase out use of the BuildRequest class

Reported by: dustin Owned by:
Priority: major Milestone: 0.9.+
Version: master Keywords:
Cc:

Description

Constructing a BuildRequest involves a lot of database queries, and in most cases is unnecessary. However, it is part of the specification of the nextBuild and mergeRequest configuration parameters, and is also used internally by the build-initiation code.

Let's find a way to change both of these uses so that the class can simply disappear. Fixing the build machinery is easy. And we can probably add a wrapper or decorator that will make the old nextBuild and mergeRequest functions work with a new, BuildRequest-free API, so users would only need to add the wrapper or decorator to their configuration when upgrading (albiet with a signficant performance penalty).

Change History (0)

Note: See TracTickets for help on using tickets.