Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: new API: consistent_snapshot optional
NOTE: making consistent_snapshot optional requires using a default value for the argument in __init__ in Root and thus consistent_snapshot should be rearranged in the end. Read more: #1394 (comment) From chapter 7 in the spec (version 1.0.17) "Finally, the root metadata should write the Boolean "consistent_snapshot" attribute at the root level of its keys of attributes. If consistent snapshots are not written by the repository, then the attribute may either be left unspecified or be set to the False value. Otherwise, it must be set to the True value." We want to make sure we support repositories without consistent_snapshot set. Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters