client package¶
Submodules¶
client.client_callback module¶
client.client_webhook module¶
-
class
client.client_webhook.ClientWebhook(commit_data=None, api_url=None, pre_convert_bucket=None, cdn_bucket=None, gogs_url=None, gogs_user_token=None, manifest_table_name=None, job_table_name=None, prefix=u'')[source]¶ Bases:
object-
JOB_TABLE_NAME= u'tx-job'¶
-
MANIFEST_TABLE_NAME= u'tx-manifest'¶
-
add_payload_to_tx_converter(callback_url, identifier, payload, rc, source_url, tx_manager_job_url)[source]¶
-
create_build_log(commit_id, commit_message, commit_url, compare_url, job, pusher_username, repo_name, repo_owner)[source]¶
-
download_repo(commit_url, repo_dir)[source]¶ Downloads and unzips a git repository from Github or git.door43.org
Parameters: - commit_url (str|unicode) – The URL of the repository to download
- repo_dir (str|unicode) – The directory where the downloaded file should be unzipped
Returns: None
-