2141
class BranchLifecycleStatus(DBSchema):
2142
"""Branch Lifecycle Status
2144
This indicates the status of the branch, as part of an overall
2145
"lifecycle". The idea is to indicate to other people how mature this
2146
branch is, or whether or not the code in the branch has been deprecated.
2147
Essentially, this tells us what the author of the branch thinks of the
2154
This branch has just been created, and we know nothing else about
2158
EXPERIMENTAL = Item(10, """
2161
This branch contains code that is considered experimental. It is
2162
still under active development and should not be merged into
2163
production infrastructure.
2166
DEVELOPMENT = Item(30, """
2169
This branch contains substantial work that is shaping up nicely, but
2170
is not yet ready for merging or production use. The work is
2171
incomplete, or untested.
2174
MATURE = Item(50, """
2177
The developer considers this code mature. That means that it
2178
completely addresses the issues it is supposed to, that it is tested,
2179
and that it has been found to be stable enough for the developer to
2180
recommend it to others for inclusion in their work.
2183
MERGED = Item(70, """
2186
This code has successfully been merged into its target branch(es),
2187
and no further development is anticipated on the branch.
2190
ABANDONED = Item(80, """
2193
This branch contains work which the author has abandoned, likely
2194
because it did not prove fruitful.
2198
class BranchReviewStatus(DBSchema):
2199
"""Branch Review Cycle
2201
This is an indicator of what the project thinks about this branch.
2202
Typically, it will be set by the upstream as part of a review process
2203
before the branch lands on an official series.
2209
This branch has not been queued for review, and no review has been
2213
REQUESTED = Item(20, """
2216
The author has requested a review of the branch. This usually
2217
indicates that the code is mature and ready for merging, but it may
2218
also indicate that the author would like some feedback on the
2219
direction in which he is headed.
2222
NEEDSWORK = Item(30, """
2225
The reviewer feels that this branch is not yet ready for merging, or
2226
is not on the right track. Detailed comments would be found in the
2227
reviewer discussion around the branch, see those for a list of the
2228
issues to be addressed or discussed.
2231
MERGECONDITIONAL = Item(50, """
2232
Conditional Merge Approved
2234
The reviewer has said that this branch can be merged if specific
2235
issues are addressed. The review feedback will be contained in the
2236
branch discussion. Once those are addressed by the author the branch
2237
can be merged without further review.
2240
MERGEAPPROVED = Item(60, """
2243
The reviewer is satisfied that the branch can be merged without
2139
2248
class BugTaskStatus(DBSchema):
2140
2249
"""Bug Task Status