diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-08 12:35:49 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:15 +0100 |
commit | 387b27813d1d496c015f4f174812b4761c32648d (patch) | |
tree | 59061040f651df04895060bfc48d9b5f36ee5f34 /spec/fixtures | |
parent | 09c82c6fdc494de0d64cb58b4b61a86104ff1131 (diff) | |
download | gitlab-ce-387b27813d1d496c015f4f174812b4761c32648d.tar.gz |
Change format of artifacts metadata from text to binary 0.0.1
This changes the format of metadata to handle paths, that may contain
whitespace characters, new line characters and non-UTF-8 characters.
Now those paths along with metadata in JSON format are stored as
length-prefixed strings (uint32 prefix).
Metadata file has a custom format:
1. First string field is metadata version field (string)
2. Second string field is metadata errors field (JSON strong)
3. All subsequent fields is pair of path (string) and path metadata
in JSON format.
Path's metadata contains all fields that where possible to extract from
ZIP archive like date of modification, CRC, compressed size,
uncompressed size and comment.
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/ci_build_artifacts_metadata.gz | bin | 242 -> 309 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/spec/fixtures/ci_build_artifacts_metadata.gz b/spec/fixtures/ci_build_artifacts_metadata.gz Binary files differindex 82d6a79c72f..c394f83bf87 100644 --- a/spec/fixtures/ci_build_artifacts_metadata.gz +++ b/spec/fixtures/ci_build_artifacts_metadata.gz |