This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Manifest changes
Patrick McCarty edited this page Nov 28, 2016
·
11 revisions
This page outlines how manifest entries change between two versions, organized by the file type of a given entry. An overview of the entry metadata fields is described at Manifest-metadata.
Case | From manifest | To Manifest |
---|---|---|
New file | It doesn't exist | F... (new_file_hash) (to_version) |
File not changed or renamed | F... (file_hash_1) (version_1) | F... (file_hash_1) (version_1) |
File not changed and renamed | F... (file_hash_1) (version_1) | .d.r (file_hash_1) (to_version) F..r (file_hash_1) (to_version) |
File changed (minor) and delta renamed | F... (file_hash_1) (version_1) | .d.r (file_hash_2) (to_version) F..r (file_hash_2) (to_version) |
File changed (major) and not renamed | F... (file_hash_1) (version_1) | .d.. (0000000000) (to_version) F... (file_hash_2) (to_version) |
File changed and not renamed | F... (file_hash_1) (version_1) | F... (file_hash_2) (to_version) |
File was already renamed | F..r (file_hash_1) (version_1) | F..r (file_hash_1) (version_1) |
File deleted | F... (file_hash_1) (version_1) | .d.. (0000000000) (to_version) |
File was already deleted | .d.. (0000000000) (version_1) | .d.. (0000000000) (version_1) |
File was already deleted and renamed | .d.r (file_hash_1) (version_1) | .d.r (file_hash_1) (version_1) |
File has base or extended attributes changed | F... (file_hash_1) (version_1) | F... (file_hash_2) (to_version) |
File becomes a directory | F... (file_hash_1) (version_1) | D... (file_hash_2) (to_version) |
File becomes a symbolic link | F... (file_hash_1) (version_1) | L... (file_hash_2) (to_version) |
Case | From manifest | To Manifest |
---|---|---|
New directory | It doesn't exist | D... (new_file_hash) (to_version) |
Directory not changed or renamed | D... (file_hash_1) (version_1) | D... (file_hash_1) (version_1) |
Directory changed but not renamed | D... (file_hash_1) (version_1) | D... (file_hash_2) (to_version) |
Directory deleted | D... (file_hash_1) (version_1) | .d.. (0000000000) (to_version) |
Directory was already deleted | .d.. (0000000000) (version_1) | .d.. (0000000000) (version_1) |
Directory has base or extended attributes changed | D... (file_hash_1) (version_1) | D... (file_hash_2) (to_version) |
Note: It's currently not possible for directories to change to files or symbolic links. See https://github.com/clearlinux/swupd-server/issues/50.
Note: Because the rename detection excludes directories and peers that are directories, there is no rename case from/to a directory. This is why there is no 'D..r' entry in the table above.
Case | From manifest | To Manifest |
---|---|---|
New symlink | It doesn't exist | L... (new_file_hash) (to_version) |
Symlink not changed or renamed | L... (file_hash_1) (version_1) | L... (file_hash_1) (version_1) |
Symlink changed but not renamed | L... (file_hash_1) (version_1) | L... (file_hash_2) (to_version) |
Symlink deleted | L... (file_hash_1) (version_1) | .d.. (0000000000) (to_version) |
Symlink was already deleted | .d.. (0000000000) (version_1) | .d.. (0000000000) (version_1) |
Symlink has base or extended attributes changed | L... (file_hash_1) (version_1) | L... (file_hash_2) (to_version) |
Symlink becomes a file | L... (file_hash_1) (version_1) | F... (file_hash_2) (to_version) |
Symlink becomes a directory | L... (file_hash_1) (version_1) | D... (file_hash_2) (to_version) |
Note: Because the rename detection excludes symlinks and peers that are symlinks, there is no rename case from/to a symlink. This is why there is no 'L..r' entry in the table above.