Public Member Functions | |
def | __init__ |
def | append_add_instruction |
def | append_patch_instruction |
def | append_remove_instruction |
def | create_manifest_files |
def | build_marfile_entry_hash |
Data Fields | |
work_dir | |
archive_files | |
manifestv1 | |
manifestv2 | |
file_exclusion_list | |
path_exclusion_list | |
Represents the meta-data associated with a patch work_dir = working dir where files are stored for this patch archive_files = list of files to include in this patch manifestv1 = set of manifest version 1 patch instructions manifestv2 = set of manifest version 2 patch instructions file_exclusion_list = files to exclude from this patch. names without slashes will be excluded anywhere in the directory hiearchy. names with slashes will only be excluded at that exact path
Definition at line 15 of file make_incremental_updates.py.
def __init__ | ( | self, | |
work_dir, | |||
file_exclusion_list, | |||
path_exclusion_list | |||
) |
Definition at line 26 of file make_incremental_updates.py.
def append_add_instruction | ( | self, | |
filename | |||
) |
Appends an add instruction for this patch. if the filename starts with extensions/ adds an add-if instruction to test the existence of the subdirectory. This was ported from mozilla/tools/update-packaging/common.sh/make_add_instruction
Definition at line 34 of file make_incremental_updates.py.
def append_patch_instruction | ( | self, | |
filename, | |||
patchname | |||
) |
Appends an patch instruction for this patch. filename = file to patch patchname = patchfile to apply to file if the filename starts with extensions/ adds a patch-if instruction to test the existence of the subdirectory. if the filename starts with searchplugins/ add a add-if instruction for the filename This was ported from mozilla/tools/update-packaging/common.sh/make_patch_instruction
Definition at line 53 of file make_incremental_updates.py.
def append_remove_instruction | ( | self, | |
filename | |||
) |
Appends an remove instruction for this patch. This was ported from mozilla/tools/update-packaging/common.sh/make_remove_instruction
Definition at line 81 of file make_incremental_updates.py.
def build_marfile_entry_hash | ( | self, | |
root_path | |||
) |
Iterates through the root_path, creating a MarFileEntry for each file and directory in that path. Excludes any filenames in the file_exclusion_list
Definition at line 117 of file make_incremental_updates.py.
def create_manifest_files | ( | self | ) |
Createst the v1 manifest file in the root of the work_dir
Definition at line 95 of file make_incremental_updates.py.
archive_files |
Definition at line 28 of file make_incremental_updates.py.
file_exclusion_list |
Definition at line 31 of file make_incremental_updates.py.
manifestv1 |
Definition at line 29 of file make_incremental_updates.py.
manifestv2 |
Definition at line 30 of file make_incremental_updates.py.
path_exclusion_list |
Definition at line 32 of file make_incremental_updates.py.
work_dir |
Definition at line 27 of file make_incremental_updates.py.
← centre documentaire |
|