387b27813d
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. |
||
---|---|---|
.. | ||
backend | ||
bitbucket_import | ||
ci/build/artifacts | ||
diff | ||
github_import | ||
gitlab_import | ||
gitorious_import | ||
google_code_import | ||
ldap | ||
lfs | ||
metrics | ||
o_auth | ||
sherlock | ||
sql | ||
asciidoc_spec.rb | ||
auth_spec.rb | ||
build_data_builder_spec.rb | ||
closing_issue_extractor_spec.rb | ||
color_schemes_spec.rb | ||
database_spec.rb | ||
git_access_spec.rb | ||
git_access_wiki_spec.rb | ||
incoming_email_spec.rb | ||
inline_diff_spec.rb | ||
key_fingerprint_spec.rb | ||
markup_helper_spec.rb | ||
metrics_spec.rb | ||
note_data_builder_spec.rb | ||
popen_spec.rb | ||
project_search_results_spec.rb | ||
push_data_builder_spec.rb | ||
reference_extractor_spec.rb | ||
regex_spec.rb | ||
string_path_spec.rb | ||
themes_spec.rb | ||
upgrader_spec.rb | ||
uploads_transfer_spec.rb | ||
url_builder_spec.rb | ||
version_info_spec.rb |