lib/registration.pm

scc_version

scc_version([$version]);

Helper for parsing SLE RC version into integer. It replaces SLE version in format X-SPY into X.Y.

add_suseconnect_product

add_suseconnect_product($name, [$version, [$arch, [$params]]]);

Wrapper for SUSEConnect -p $name.

ssh_add_suseconnect_product

ssh_add_suseconnect_product($remote, $name, [$version, [$arch, [$params, [$timeout, [$retries, [$delay]]]]]]);

Wrapper for SUSEConnect -p $name over ssh.

remove_suseconnect_product

remove_suseconnect_product($name, [$version, [$arch, [$params]]]);

Wrapper for SUSEConnect -d $name.

ssh_remove_suseconnect_product

ssh_remove_suseconnect_product($name, [$version, [$arch, [$params]]]);

Wrapper for SUSEConnect -d $name over ssh.

cleanup_registration

cleanup_registration();

Wrapper for SUSEConnect --cleanup. Resets proxy SCC url if job has SCC_URL variable set.

register_product

register_product();

Wrapper for SUSEConnect -r <regcode>. Requires SCC_REGCODE variable. SUSEConnect --url with SMT/RMT server.