Package/repository file format: Add a minor version header field
* Add minor_version to hpkg_header and hpkg_repo_header and make heap_compression uint16. * If the minor version of a package/repository file is greater than the current one unknown attributes are ignored without error. This allows introducing new harmless attributes without making the resulting files unreadable for older package kit versions.
This commit is contained in:
@@ -16,11 +16,13 @@ namespace BHPKG {
|
||||
|
||||
// magic & version of package and repository files
|
||||
enum {
|
||||
B_HPKG_MAGIC = 'hpkg',
|
||||
B_HPKG_VERSION = 2,
|
||||
B_HPKG_MAGIC = 'hpkg',
|
||||
B_HPKG_VERSION = 2,
|
||||
B_HPKG_MINOR_VERSION = 0,
|
||||
//
|
||||
B_HPKG_REPO_MAGIC = 'hpkr',
|
||||
B_HPKG_REPO_VERSION = 2
|
||||
B_HPKG_REPO_MAGIC = 'hpkr',
|
||||
B_HPKG_REPO_VERSION = 2,
|
||||
B_HPKG_REPO_MINOR_VERSION = 0
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user