Changeset View
Changeset View
Standalone View
Standalone View
build_files/buildbot/codesign/base_code_signer.py
| Context not available. | |||||
| def extract_files(archive_filepath: Path, | def extract_files(archive_filepath: Path, | ||||
| extraction_dir: Path) -> None: | extraction_dir: Path) -> None: | ||||
| """ | """ | ||||
| Extract all files form the given archive into the given direcotry. | Extract all files form the given archive into the given directory. | ||||
| """ | """ | ||||
| # TODO(sergey): Verify files in the archive have relative path. | # TODO(sergey): Verify files in the archive have relative path. | ||||
| Context not available. | |||||
| server. | server. | ||||
| Will only wait for the configured time. If that time exceeds and there | Will only wait for the configured time. If that time exceeds and there | ||||
| is still no responce from the signing server the application will exit | is still no response from the signing server the application will exit | ||||
| with a non-zero exit code. | with a non-zero exit code. | ||||
| """ | """ | ||||
| Context not available. | |||||
| signed_archive_info.clean() | signed_archive_info.clean() | ||||
| unsigned_archive_info.clean() | unsigned_archive_info.clean() | ||||
| raise SystemExit( | raise SystemExit( | ||||
| f'Error happenned during codesign procedure: {archive_state.error_message}') | f'Error happened during codesign procedure: {archive_state.error_message}') | ||||
| def copy_signed_files_to_directory( | def copy_signed_files_to_directory( | ||||
| self, signed_dir: Path, destination_dir: Path) -> None: | self, signed_dir: Path, destination_dir: Path) -> None: | ||||
| Context not available. | |||||