5.7.205. Bugzilla::Extension::Releases::Components¶
5.7.205.1. NAME¶
Bugzilla::Extension::Releases::Components - Interface to Red Hat Bugzilla Release Components
5.7.205.2. SYNOPSIS¶
# Create basic Release Components object
my $rc = Bugzilla::Extension::Releases::Components->new()
# Get a list of current components
$rc->get_release_components({ release => $release });
# Set new values for the current list of components
$rc->set_release_components($data_ref);
# Get full list of components visible for a release (flag)
my $components = $rc->get_visible_components($release);
5.7.205.3. DESCRIPTION¶
Bugzilla::Extension::Releases::Components contains a set of functions which help maintain the release component lists used for RHEL process management. The release components consists of a list of components that are part of a approved component list as well as components that are part of a capacity priority list. These lists help to determine which bugs will be included in an upcoming update if the bugs are reported against a component that has been approved.
5.7.205.4. METHODS¶
new
- Description
Creates a new Release Component object.
- Params
- Returns
approved
- Description
Return list of approved components
- Params
- Returns
capacity
- Description
Return list of capacity components
- Params
- Returns
ack
- Description
Return list of acked components, This is normally same as the approved components.
- Params
- Returns
nack
- Description
Return list of nacked components, This is normally same as the approved components and capacity components combined.
- Params
- Returns
components
- Description
Return list of all components possible for the given release.
- Params
- Returns
release
- Description
Returns a FlagType object representing the current release.
- Params
- Returns
get_release_components
- Description
- Params
- Returns
set_release_components
- Description
- Params
- Returns
get_visible_components
- Description
- Params
- Returns
sanity_check_lists
- Description
Sanity check the approved and capacity lists against the master component list. If any bad components it will throw an error. Otherwise it simply returns.
- Params
$components_ref = Full list of possible components for the current release.
$approved_ref = List of approved components
$capacity_ref = List of capacity components
- Returns
None