Bruno Cornec > project-builder > ProjectBuilder::Filter

Download:
project-builder-0.12.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

ProjectBuilder::Filter, part of the project-builder.org

DESCRIPTION ^

This module provides filtering functions suitable for pbinit calls.

pb_get_filters

This function gets all filters to apply. They're cumulative from the less specific to the most specific.

Suffix of those filters is .pbf. Filter all.pbf applies to whatever distribution. The pbfilter directory may be global under pbconf or per package, for overloading values. Then in order filters are loaded for distribution type, distribution family, distribution name, distribution name-version.

The first parameter is the package name. The second parameter is OS hash

The function returns a pointer on a hash of filters.

pb_filter_file

This function applies all filters to files.

It takes 4 parameters.

The first parameter is the file to filter. The second parameter is the pointer on the hash of filters. If undefined no filtering will occur. The third parameter is the destination file after filtering. The fourth parameter is the pointer on the hash of variables to filter (tag, ver, ...)

pb_filter_file_inplace

This function applies all filters to a file in place.

It takes 3 parameters.

The first parameter is the pointer on the hash of filters. The second parameter is the destination file after filtering. The third parameter is the pointer on the hash of variables to filter (tag, ver, ...)

WEB SITES ^

The main Web site of the project is available at http://www.project-builder.org/. Bug reports should be filled using the trac instance of the project at http://trac.project-builder.org/.

USER MAILING LIST ^

None exists for the moment.

AUTHORS ^

The Project-Builder.org team http://trac.project-builder.org/ lead by Bruno Cornec mailto:bruno@project-builder.org.

COPYRIGHT ^

Project-Builder.org is distributed under the GPL v2.0 license described in the file COPYING included with the distribution.

syntax highlighting: