1. AddOnCreator

1.1. Summary of Module Globals

List of Global Functions

List of Global Variables

1.2. Global Functions

1.2.1. CopyRPMs

Copy the packages from the source directory to target

Function parameters

  • string in_path

  • string base_path

Return value

  • boolean - success

1.2.2. CreateAddOnStructure

Create the directory structure of the Add-On

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.3. CreateDirectoryYaSTFiles

Create directory.yast files (the last step)

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.4. CreateISOImage

Create an ISO image of the product

Function parameters

  • string dir_path

  • string iso_p

  • string name

Return value

  • boolean

1.2.5. CreateMD5SUMS

Create MD5SUMS files

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.6. Export

Export the settings about current Add-On product

Return value

  • map

1.2.7. GenerateArchiveFiles

Generate ARCHIVES.gz, INDEX.gz and ls-lR.gz

Function parameters

  • string base_path

Return value

  • boolean

1.2.8. GenerateDirectories

generate the paths of media, data and description dirs

Function parameters

  • string base_path

Return value

  • void

1.2.9. GenerateGPGKey

Generate the key pair

Function parameters

  • map<string,string> data

Return value

  • string

1.2.10. ImportExistingProduct

import the data from existing add-on

Function parameters

  • string dir_path

Return value

  • boolean

1.2.11. Modified

Data was modified?

Return value

  • boolean - true if modified

1.2.12. Read

Initialize the settings for add-on-creator

Return value

  • boolean - true on success

1.2.13. SignAddOn

Sign the add-on

Function parameters

  • string base_path

  • string key

Return value

  • boolean

1.2.14. UpdateContentMap

Update content_map with current value of 'content' list

Return value

  • map<string,string>

1.2.15. Write

Write all add-on-creator settings

Return value

  • boolean - true on success

1.2.16. WriteContentFile

Write the content file

Function parameters

  • string base_path

  • list<map> content_data

Return value

  • boolean - success

1.2.17. WriteMediaFiles

Write the media.n/media files

Function parameters

  • string base_path

  • list<string> m_files

  • string next

Return value

  • boolean - success

1.2.18. WritePatchesFiles

Create the patches files

Function parameters

  • string base_path

  • list<string> p_files

Return value

  • boolean - success

1.2.19. WritePatterns

Write all files with patterns definitions TODO use agent...

Function parameters

  • string base_path

Return value

  • boolean

1.2.20. WriteProductsFiles

Create the products file FIXME editor - see ExpertSettingsDialog3

Function parameters

  • string base_path

  • list<string> p_files

Return value

  • boolean - success

1.2.21. WriteStringFiles

Write the readme/COPYING/COPYRIGHT... files in base_path

Function parameters

  • string base_path

  • map<string,string> files

Return value

  • boolean - success

1.3. Global Variables

1.3.1. modified

Data was modified?

1.4. Module Requirements

1.4.1. Module Imports

  • Directory
  • FileUtils
  • Mode
  • Package
  • PackageSystem
  • Popup
  • Progress
  • Report
  • String

1.4.2. Module Includes