fix: do not update package status if it is unchanged

In order to prevent timestamp bumps, filter by status is added
This commit is contained in:
2026-02-24 15:33:06 +02:00
parent e376f1307f
commit 49ebbc34fa
2 changed files with 20 additions and 7 deletions

View File

@@ -292,6 +292,7 @@ class PackageOperations(Operations):
(:package_base, :status, :last_updated, :repository)
on conflict (package_base, repository) do update set
status = :status, last_updated = :last_updated
where status != :status
""",
{
"package_base": package_base,