List of Global Functions
BuildAddOn - Write all add-on-creator settings
CommitCurrentProduct - save the data with current configuration into global list + reset the current product map
CopyRPMs - Copy the packages from the source directory to target
CreateAddOnStructure - Create the directory structure of the Add-On
CreateDirectoryYaSTFiles - Create directory.yast files (the last step)
CreateISOImage - Create an ISO image of the product
CreateMD5SUMS - Create MD5SUMS files
Export - Export the settings about current Add-On product
GenerateArchiveFiles - Generate ARCHIVES.gz, INDEX.gz and ls-lR.gz
GenerateDirectories - generate the paths of media, data and description dirs
GenerateGPGKey - Generate the key pair
GeneratePackageDescriptions - Generate the package descriptions using create_package_descr
GenerateReleasePackage - Use BuildService tools to create -release package with product info
GetKeyUID - read the user's ID for given GPG key
GetProductInfo - Get the map describing product.xml and produce better readable YCP map
ImportExistingProduct - import the data from existing add-on
Modified - Data was modified?
PrepareBuild - prepare the data of current product for a build (neccessary because input packages could get changed)
Read - Initialize the settings for add-on-creator
ReadPatternsFile - read all the patterns defined in given file
ReadProductXML - import the data from given xml file
ResetCurrentProduct - Reset all settings related to current product
SignAddOn - Sign current Add-On product
UpdateContentMap - Take list of content-file data and update global content_map. If argument is empty, global 'content' list is used as an input.
Write - Write all AddOn products configurations
WriteContentFile - Write the content file
WriteLicensesFiles - Write the text of available licenses to correct places
WriteMediaFiles - Write the media.n/media files
WritePackageDescriptions - Write the package descriptions edited by user
WritePatchesFiles - Create the patches files
WritePatterns - Write all files with patterns definitions
WriteProductsFiles - Create the products file TODO editor - see ExpertSettingsDialog3
WriteStringFiles - Write the readme/COPYING/COPYRIGHT... files in base_path
List of Global Variables
add_on_products - list of all configured AddOn products
bootable - if final Add-On should be bootable (feature not implemented)
clone - if we have 'source add-on' to base the new one on
content - variables from content file + their description
content_key - argument for any_xml agent: key indicating content of element without attributes
current_product - map of the Add-On product currently in use
generate_descriptions - if the descriptions of packages should be generated (false have only sense when cloning where they could be read from description files of cloned product)
import_path - path to directory with existing product (which is being cloned)
modified - Data was modified?
save the data with current configuration into global list + reset the current product map
Return value
void
Copy the packages from the source directory to target
Function parameters
string in_path
string base_path
Return value
boolean - success
Create the directory structure of the Add-On
Function parameters
string base_path
Return value
boolean - success
Create directory.yast files (the last step)
Function parameters
string base_path
Return value
boolean - success
Create an ISO image of the product
Function parameters
string dir_path
string iso_p
string name
Return value
boolean
Create MD5SUMS files
Function parameters
string base_path
Return value
boolean - success
Generate ARCHIVES.gz, INDEX.gz and ls-lR.gz
Function parameters
string base_path
Return value
boolean
generate the paths of media, data and description dirs
Function parameters
string base_path
Return value
void
Generate the key pair
Function parameters
map<string,string> data
Return value
string
Generate the package descriptions using create_package_descr
Return value
boolean
Use BuildService tools to create -release package with product info
Function parameters
string base_path
Return value
boolean
read the user's ID for given GPG key
Function parameters
string key
Return value
string
Get the map describing product.xml and produce better readable YCP map
Function parameters
map xml
boolean merge_with_current
Return value
map<string,map>
import the data from existing add-on
Function parameters
string dir_path
Return value
boolean
prepare the data of current product for a build (neccessary because input packages could get changed)
Return value
boolean
read all the patterns defined in given file
Function parameters
string file_path
Return value
list<map> - of pattern maps
import the data from given xml file
Function parameters
string prod_file_path
Return value
map<string,any>
Sign current Add-On product
Function parameters
string base_path
string key
Return value
boolean
Take list of content-file data and update global content_map. If argument is empty, global 'content' list is used as an input.
Function parameters
list<map> content_list
Return value
map<string,string>
Write the content file
Function parameters
string base_path
list<map> content_data
Return value
boolean - success
Write the text of available licenses to correct places
Function parameters
string descr_path
string base_path
map<string,string> files
Return value
boolean
Write the media.n/media files
Function parameters
string base_path
list<string> m_files
string next
Return value
boolean - success
Write the package descriptions edited by user
Function parameters
string descr_path
map descr
Return value
boolean
Create the patches files
Function parameters
string base_path
list<string> p_files
Return value
boolean - success
Write all files with patterns definitions
Function parameters
string descr_path
string base_path
Return value
boolean
Create the products file TODO editor - see ExpertSettingsDialog3
Function parameters
string base_path
list<string> p_files
Return value
boolean - success
if the descriptions of packages should be generated (false have only sense when cloning where they could be read from description files of cloned product)