A system and method for providing a code release infrastructure with
granular code patching is described. Code patches, each including at
least one resource unit are provided. Each resource unit includes
metadata and file components. Code libraries, each including at least one
resource unit, are patched. The metadata for each resource unit in the
code patches is compared to the metadata for each such corresponding
resource unit in the code libraries. Each resource unit in the code
patches is merged into the code libraries for each such corresponding
resource unit that is out-of-date as defined by merge rules. Archive
files, as defined by archive file definitions, are created or updated
using the resource units from the code libraries, or, optionally, are
deleted. The archive files are digitally signed also as required. The
system and method enables source and derived code and third party code to
be patched granularly.