5.3. Filtering Content
Filters are created to prevent packages from being promoted to subsequent environments. Package names or regular expressions are added to the filter to create the rules to blacklist packages and the filter is then associated to entire products or individual repositories within any product.
5.3.1. Creating a Filter
These steps show how to create a filter.
Procedure 5.1. Creating a Filter
- Click
. - Select the Content View you wish to filter.
- Click the
subtab. - Click on thebutton.
- Type in the name of the new filter in the Name field.
- Choose a content type from the Content Type drop down menu.
- Choose whether the filter includes or excludes the selected content type by selecting the Type drop down menu.
- Optionally, enter a description in the Description field.
- Click thebutton to save your new filter.
Result:
A filter is created.
5.3.2. Adding Content to a Filter
Prerequisites
Requires a created Filter.
- Click
. - Select the Content View you wish to filter.
- Click the
subtab. - Click a created package filter's name. Depending on the type of filter selected, the readout will be different.
- If the filter is made for Packages:
- Enter a package name and select avalue from the dropdown menu. Click to add the package to the filter.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click .
- If the filter is made for package groups:
- Click on the Add subtab, and choose the desired package group. Click the button.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- If the filter is made for Errata:
- Click on the Add subtab. Check the desired boxes for the Errata type, whether is be Security, Enhancement, or Bugfix. Then choose a start date and end date. Click the button.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- If the filter is made for Errata - Date and Type:
- Under the Erratum Date Range subtab, check the desired boxes for the Errata type, whether is be Security, Enhancement, or Bugfix. Then choose a start date and end date. Click the button.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- Click thebutton. Enter a comment if desired, then click the button.
Result
Packages are added to the filter.
5.3.3. Removing Content from a Filter
Prerequisites
Requires a created Filter.
- Click
. - Select the Content View you wish to filter.
- Click the
subtab. - Click a created package filter's name. Depending on the type of filter selected, the readout will be different.
- If the filter is made for Packages:
- Click the Packages subtab then click the Package Name checkbox next to the package to remove. Click the button to remove the package from the filter.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- If the filter is made for package groups:
- Click the List/Remove subtab then click the Name checkbox next to the package group to remove. Click the button to remove the package group from the filter.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- If the filter is made for Errata:
- Click the List/Remove subtab then click the Errata ID checkbox next to the errata to remove. Click the button to remove the errata from the filter.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- If the filter is made for Errata - Date and Type:
- Under the Erratum Date Range subtab, check the desired boxes for the Errata type, whether is be Security, Enhancement, or Bugfix. Then edit the start date and end date. Click the button.
- Under the Affected Repositories subtab, choose whether the filter will affect all or a subset of repositories. If you choose a subset of repositories, then choose the desired repositories and click the button.
- Click thebutton. Enter a comment if desired, then click the button.
Result
Packages are removed from the filter.
5.3.4. Removing a Filter
These steps show how to remove a filter.
Procedure 5.2. Remove a Filter
- Click
. - Select the Content View you wish to filter.
- Click the
subtab. - Click the checkbox next to the name of the package filter you wish to remove.
- Click thebutton.
Result:
A filter is removed.