Advance Blender 5.2 web parity through M12-03D
This commit is contained in:
58
tests/golden/M12-01D/catalog-v1.json
Normal file
58
tests/golden/M12-01D/catalog-v1.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"revision": 7,
|
||||
"catalogs": [
|
||||
{ "id": "catalog:root", "name": "Characters", "parentId": null },
|
||||
{ "id": "catalog:heroes", "name": "Heroes", "parentId": "catalog:root" },
|
||||
{ "id": "44444444-4444-4444-8444-444444444444", "name": "Animation", "parentId": null }
|
||||
],
|
||||
"assets": [
|
||||
{
|
||||
"id": "legacy:hero",
|
||||
"name": "Legacy Hero",
|
||||
"kind": "OBJECT",
|
||||
"catalogId": "catalog:heroes",
|
||||
"tags": ["character", "hero"],
|
||||
"author": "M12 Artist",
|
||||
"license": "CC0-1.0",
|
||||
"sourceSha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"sourcePath": "assets/legacy-hero.blend",
|
||||
"preview": {
|
||||
"assetId": "legacy:hero",
|
||||
"sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"mimeType": "image/png",
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"byteLength": 4096
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "legacy:walk",
|
||||
"name": "Legacy Walk",
|
||||
"kind": "ACTION",
|
||||
"catalogId": "44444444-4444-4444-8444-444444444444",
|
||||
"tags": ["walk"],
|
||||
"author": "M12 Artist",
|
||||
"license": "CC-BY-4.0",
|
||||
"sourceSha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
|
||||
}
|
||||
],
|
||||
"libraries": [
|
||||
{
|
||||
"id": "library:characters",
|
||||
"name": "Characters",
|
||||
"sourcePath": "libraries/characters.blend",
|
||||
"sourceSha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
||||
"dependencyIds": ["library:materials"],
|
||||
"readOnly": true
|
||||
},
|
||||
{
|
||||
"id": "library:materials",
|
||||
"name": "Materials",
|
||||
"sourcePath": "libraries/materials.blend",
|
||||
"sourceSha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
||||
"dependencyIds": [],
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
99
tests/golden/M12-01D/catalog-v2.json
Normal file
99
tests/golden/M12-01D/catalog-v2.json
Normal file
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"revision": 7,
|
||||
"catalogs": [
|
||||
{
|
||||
"catalogId": "44444444-4444-4444-8444-444444444444",
|
||||
"path": "Animation",
|
||||
"simpleName": "Animation",
|
||||
"parentPath": null
|
||||
},
|
||||
{
|
||||
"catalogId": "fe3ca14c-95d7-549f-a13b-1bb4c07b6074",
|
||||
"path": "Characters",
|
||||
"simpleName": "Characters",
|
||||
"parentPath": null
|
||||
},
|
||||
{
|
||||
"catalogId": "b4bb3608-9267-5aba-bb9e-9e97b006d5ab",
|
||||
"path": "Characters/Heroes",
|
||||
"simpleName": "Heroes",
|
||||
"parentPath": "Characters"
|
||||
}
|
||||
],
|
||||
"assets": [
|
||||
{
|
||||
"assetId": "asset:ac88c6147ada877adccf4df8ca54d64e1a9cb50a13514212f6d19b1da1660f8d",
|
||||
"assetLibraryIdentifier": null,
|
||||
"relativeAssetIdentifier": "Action/Legacy Walk",
|
||||
"idType": "ACTION",
|
||||
"name": "Legacy Walk",
|
||||
"catalogId": "44444444-4444-4444-8444-444444444444",
|
||||
"catalogSimpleName": "Animation",
|
||||
"author": "M12 Artist",
|
||||
"description": "",
|
||||
"copyright": "",
|
||||
"license": "CC-BY-4.0",
|
||||
"tags": [
|
||||
"walk"
|
||||
],
|
||||
"activeTag": 0,
|
||||
"usePreferredImportMethod": false,
|
||||
"preferredImportMethod": "APPEND",
|
||||
"customProperties": [],
|
||||
"sourceSha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
|
||||
"sourcePath": null,
|
||||
"preview": null
|
||||
},
|
||||
{
|
||||
"assetId": "asset:bb91ef0dddf69bb7d87dd4217a01e7f549b50ad628db0367d3896c6840b3a326",
|
||||
"assetLibraryIdentifier": null,
|
||||
"relativeAssetIdentifier": "Object/Legacy Hero",
|
||||
"idType": "OBJECT",
|
||||
"name": "Legacy Hero",
|
||||
"catalogId": "b4bb3608-9267-5aba-bb9e-9e97b006d5ab",
|
||||
"catalogSimpleName": "Heroes",
|
||||
"author": "M12 Artist",
|
||||
"description": "",
|
||||
"copyright": "",
|
||||
"license": "CC0-1.0",
|
||||
"tags": [
|
||||
"character",
|
||||
"hero"
|
||||
],
|
||||
"activeTag": 0,
|
||||
"usePreferredImportMethod": false,
|
||||
"preferredImportMethod": "APPEND",
|
||||
"customProperties": [],
|
||||
"sourceSha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"sourcePath": "assets/legacy-hero.blend",
|
||||
"preview": {
|
||||
"sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"mimeType": "image/png",
|
||||
"width": 64,
|
||||
"height": 64,
|
||||
"byteLength": 4096
|
||||
}
|
||||
}
|
||||
],
|
||||
"libraries": [
|
||||
{
|
||||
"libraryId": "library:characters",
|
||||
"name": "Characters",
|
||||
"sourcePath": "libraries/characters.blend",
|
||||
"sourceSha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
||||
"dependencyIds": [
|
||||
"library:materials"
|
||||
],
|
||||
"readOnly": true
|
||||
},
|
||||
{
|
||||
"libraryId": "library:materials",
|
||||
"name": "Materials",
|
||||
"sourcePath": "libraries/materials.blend",
|
||||
"sourceSha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
||||
"dependencyIds": [],
|
||||
"readOnly": true
|
||||
}
|
||||
]
|
||||
}
|
||||
44
tests/golden/M12-01D/manifest.json
Normal file
44
tests/golden/M12-01D/manifest.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-01D",
|
||||
"parentTask": "M12-01",
|
||||
"parityId": "N-023-ASSET-CATALOG-SCHEMA",
|
||||
"enablingTask": true,
|
||||
"parityStateChange": false,
|
||||
"implementationClass": "NOT_APPLICABLE",
|
||||
"migration": {
|
||||
"sourceSchemaVersion": 1,
|
||||
"targetSchemaVersion": 2,
|
||||
"catalogIdMapping": "RFC4122_UUIDV5_FIXED_NAMESPACE",
|
||||
"assetIdMapping": "BLENDER_ASSET_WEAK_REFERENCE_V1_SHA256",
|
||||
"revisionPolicy": "PRESERVE",
|
||||
"unknownFieldPolicy": "BLOCK_BEFORE_MIGRATION"
|
||||
},
|
||||
"artifacts": {
|
||||
"migrationProtocol": {
|
||||
"path": "web/protocol/asset-catalog-migration.ts",
|
||||
"sha256": "6d74bc5605f94e05208eda82830192d38f88066dfc409058555a8876c785f226"
|
||||
},
|
||||
"targetProtocol": {
|
||||
"path": "web/protocol/asset-catalog-v2.ts",
|
||||
"sha256": "0949838efb2f69466368185b80bb1d2e851672d78311fcd5270eb0814576e5d7"
|
||||
},
|
||||
"generator": {
|
||||
"path": "tools/web/generate-asset-catalog-migration.mjs",
|
||||
"sha256": "954d15c02d68e3f644b57c8c4c136ce09bd037a0af2012bf74b97f681c77dd60"
|
||||
},
|
||||
"sourceFixture": {
|
||||
"path": "tests/golden/M12-01D/catalog-v1.json",
|
||||
"sha256": "1cc43d181afefd63b53cb9c3626bb58195fad20187d6e534adc1ecbe65f75da5"
|
||||
},
|
||||
"targetFixture": {
|
||||
"path": "tests/golden/M12-01D/catalog-v2.json",
|
||||
"sha256": "38e5d1771b3d2d63ce5e10268eac4513f2043b0cbf71ab1799c1868bc2aa97fb"
|
||||
},
|
||||
"migrationReport": {
|
||||
"path": "tests/golden/M12-01D/migration-report.json",
|
||||
"sha256": "57b972c1bbb9ae326c3f264c225c21546682442ff3194fbc343e1c46a2cd410a"
|
||||
}
|
||||
},
|
||||
"nextTask": "M12-01E"
|
||||
}
|
||||
53
tests/golden/M12-01D/migration-report.json
Normal file
53
tests/golden/M12-01D/migration-report.json
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"task": "M12-01D",
|
||||
"status": "MIGRATED",
|
||||
"sourceSchemaVersion": 1,
|
||||
"targetSchemaVersion": 2,
|
||||
"sourceRevision": 7,
|
||||
"targetRevision": 7,
|
||||
"sourceManifestSha256": "cbdc8b03dc9ce1f38b44bae1c7459eb273126cbd6c7dd33115d2b1966e975881",
|
||||
"targetManifestSha256": "0c08ed1af1dd0998c809f76d969fd21d8fdae28ad37cf5571bdc99b16bf3ec90",
|
||||
"catalogMappings": [
|
||||
{
|
||||
"legacyId": "44444444-4444-4444-8444-444444444444",
|
||||
"catalogId": "44444444-4444-4444-8444-444444444444",
|
||||
"path": "Animation"
|
||||
},
|
||||
{
|
||||
"legacyId": "catalog:heroes",
|
||||
"catalogId": "b4bb3608-9267-5aba-bb9e-9e97b006d5ab",
|
||||
"path": "Characters/Heroes"
|
||||
},
|
||||
{
|
||||
"legacyId": "catalog:root",
|
||||
"catalogId": "fe3ca14c-95d7-549f-a13b-1bb4c07b6074",
|
||||
"path": "Characters"
|
||||
}
|
||||
],
|
||||
"assetMappings": [
|
||||
{
|
||||
"legacyId": "legacy:hero",
|
||||
"assetId": "asset:bb91ef0dddf69bb7d87dd4217a01e7f549b50ad628db0367d3896c6840b3a326",
|
||||
"relativeAssetIdentifier": "Object/Legacy Hero"
|
||||
},
|
||||
{
|
||||
"legacyId": "legacy:walk",
|
||||
"assetId": "asset:ac88c6147ada877adccf4df8ca54d64e1a9cb50a13514212f6d19b1da1660f8d",
|
||||
"relativeAssetIdentifier": "Action/Legacy Walk"
|
||||
}
|
||||
],
|
||||
"defaultsApplied": {
|
||||
"dynamicMetadataFields": 4,
|
||||
"preferredImportMethods": 2,
|
||||
"customPropertyCollections": 2
|
||||
},
|
||||
"preserved": {
|
||||
"catalogs": 3,
|
||||
"assets": 2,
|
||||
"libraries": 2,
|
||||
"previews": 1,
|
||||
"sourceBindings": 2
|
||||
},
|
||||
"nextTask": "M12-01E"
|
||||
}
|
||||
Reference in New Issue
Block a user