Dedublizierung gefixt

- lange existierender Updatecode wurde in jeder 2. Version angezeigt
- UPDATEANALYSE.md ergänzt.
This commit is contained in:
2026-08-20 13:27:23 +02:00
parent 5d227d2f61
commit b549063ff6
138 changed files with 43143 additions and 1472 deletions
+348
View File
@@ -33,6 +33,28 @@
"method": "__register__",
"line": 499,
"operations": [
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 502,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "after_super"
},
{
"object": "transaction.connection",
"operation": "cursor",
"tables": [],
"line": 503,
"args": [],
"kwargs": {},
"code": "transaction.connection.(transaction.connection.cursor())()",
"unresolved": true,
"phase": "after_super"
},
{
"object": "table",
"operation": "drop_constraint",
@@ -87,6 +109,28 @@
"method": "__register__",
"line": 694,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 695,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 695,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "table",
"operation": "drop_column",
@@ -170,6 +214,28 @@
"method": "__register__",
"line": 60,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 61,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 61,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -236,6 +302,36 @@
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 77,
"args": [
"Concat(attachment.digest, '-')",
"attachment.collision"
],
"kwargs": {},
"code": "Concat(Concat(attachment.digest, '-'),\n attachment.collision)",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "",
"operation": "Concat",
"tables": [],
"line": 77,
"args": [
"attachment.digest",
"'-'"
],
"kwargs": {},
"code": "Concat(attachment.digest, '-')",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('digest') and table.column_exist('collision')"
},
{
"object": "table",
"operation": "drop_column",
@@ -289,6 +385,28 @@
"method": "__register__",
"line": 1100,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 1101,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 1101,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -329,6 +447,67 @@
"method": "__register__",
"line": 102,
"operations": [
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 103,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 105,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 108,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 108,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 113,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
},
{
"object": "cursor",
"operation": "execute",
@@ -421,6 +600,56 @@
},
"code": "model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids))))",
"phase": "after_super"
},
{
"object": "model_data_sql_table.fs_id",
"operation": "in_",
"tables": [],
"line": 137,
"args": [
"button_fs_ids"
],
"kwargs": {},
"code": "model_data_sql_table.fs_id.in_(button_fs_ids)",
"unresolved": true,
"phase": "after_super"
}
]
},
{
"module": "ir",
"file": "module.py",
"class": "ModuleDependency",
"method": "__register__",
"line": 362,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 363,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 368,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
}
]
},
@@ -431,6 +660,67 @@
"method": "__register__",
"line": 401,
"operations": [
{
"object": "backend",
"operation": "get",
"tables": [],
"line": 402,
"args": [
"'TableHandler'"
],
"kwargs": {},
"code": "backend.get('(backend.get('TableHandler'))')",
"unresolved": true,
"phase": "before_super"
},
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 403,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 403,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Pool",
"tables": [],
"line": 404,
"args": [],
"kwargs": {},
"code": "Pool()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "TableHandler",
"operation": "table_rename",
"tables": [],
"line": 411,
"args": [
"old_table",
"cls._table"
],
"kwargs": {},
"code": "(backend.get('TableHandler')).table_rename(old_table, cls._table)",
"unresolved": true,
"phase": "before_super",
"condition": "TableHandler.table_exist(old_table)"
},
{
"object": "cursor",
"operation": "execute",
@@ -519,6 +809,28 @@
"method": "__register__",
"line": 99,
"operations": [
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 100,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "transaction.connection",
"operation": "cursor",
"tables": [],
"line": 101,
"args": [],
"kwargs": {},
"code": "transaction.connection.(transaction.connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -574,6 +886,28 @@
"method": "__register__",
"line": 74,
"operations": [
{
"object": "Transaction().connection",
"operation": "cursor",
"tables": [],
"line": 75,
"args": [],
"kwargs": {},
"code": "Transaction().connection.(Transaction().connection.cursor())()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "",
"operation": "Transaction",
"tables": [],
"line": 75,
"args": [],
"kwargs": {},
"code": "Transaction()",
"unresolved": true,
"phase": "before_super"
},
{
"object": "cursor",
"operation": "execute",
@@ -607,6 +941,20 @@
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "datetime",
"operation": "timedelta",
"tables": [],
"line": 88,
"args": [],
"kwargs": {
"hours": "delay"
},
"code": "datetime.timedelta(hours=(datetime.timedelta(hours=delay)))",
"unresolved": true,
"phase": "after_super",
"condition": "table.column_exist('minimum_delay')"
},
{
"object": "cursor",
"operation": "execute",