Class | Dister::Core |
In: |
lib/dister/core.rb
|
Parent: | Object |
Core functionality
APP_ROOT | = | File.expand_path('.') | Absolute path to the root of the current application |
options | [R] | |
shell | [R] |
Connect to SUSE Studio and verify the user‘s credentials. Sets +@options+, +@shell+ and +@connection+ for further use.
Builds the appliance
@param [Hash] build_options @option build_options [Boolean] :force
Uploads a file identified by filename to a SuSE Studio Appliance
@param [String] filename name of file to upload @param [Hash] upload_options upload options (all parameters are optional) @option upload_options [String] filename The name of the file in the
filesystem
@option upload_options [String] path The path where the file will be stored @option upload_options [String] owner The owner of the file @option upload_options [String] group The group of the file @option upload_options [String] permissions The permissions of the file @option upload_options [String] enabled Used to enable/disable this file
for the builds
@option upload_options [String] url The url of the file to add from the
internet (HTTP and FTP are supported) when using the web upload method
@return [Boolean] true if the file has been successfully uploaded
Creates a tarball that holds the application‘s source-files. Previously packaged versions get overwritten.
Remove a package from the appliance @param [String] package the name of the package
Make sure the appliance doesn‘t have conflicts. In this case an error message is shown and the program halts.