update zxorm

This commit is contained in:
陈浩南 2024-05-05 10:58:13 +08:00
parent 1afa693fd8
commit af962707c4
2 changed files with 61 additions and 10 deletions

View File

@ -1067,6 +1067,22 @@
"type": "github" "type": "github"
} }
}, },
"hpcstat": {
"flake": false,
"locked": {
"lastModified": 1714874258,
"narHash": "sha256-rEyWxfnScWDYW2w3r+aFRGyzC5M/OfNrEKmV9suXyA8=",
"owner": "CHN-beta",
"repo": "hpcstat",
"rev": "3a4ba7a94f6a5c21a6725b9f91c991a2831c6736",
"type": "github"
},
"original": {
"owner": "CHN-beta",
"repo": "hpcstat",
"type": "github"
}
},
"impermanence": { "impermanence": {
"locked": { "locked": {
"lastModified": 1708968331, "lastModified": 1708968331,
@ -1612,6 +1628,7 @@
"fluent-kde": "fluent-kde", "fluent-kde": "fluent-kde",
"gricad": "gricad", "gricad": "gricad",
"home-manager": "home-manager", "home-manager": "home-manager",
"hpcstat": "hpcstat",
"impermanence": "impermanence", "impermanence": "impermanence",
"kylin-virtual-keyboard": "kylin-virtual-keyboard", "kylin-virtual-keyboard": "kylin-virtual-keyboard",
"lepton": "lepton", "lepton": "lepton",
@ -1641,6 +1658,7 @@
"nur": "nur", "nur": "nur",
"nur-linyinfeng": "nur-linyinfeng", "nur-linyinfeng": "nur-linyinfeng",
"nur-xddxdd": "nur-xddxdd", "nur-xddxdd": "nur-xddxdd",
"openxlsx": "openxlsx",
"plasma-manager": "plasma-manager", "plasma-manager": "plasma-manager",
"pnpm2nix-nzbr": "pnpm2nix-nzbr", "pnpm2nix-nzbr": "pnpm2nix-nzbr",
"qchem": "qchem", "qchem": "qchem",
@ -1651,15 +1669,16 @@
"tgbot-cpp": "tgbot-cpp", "tgbot-cpp": "tgbot-cpp",
"v-sim": "v-sim", "v-sim": "v-sim",
"win11os-kde": "win11os-kde", "win11os-kde": "win11os-kde",
"xmuhpc-dotfiles": "xmuhpc-dotfiles",
"zpp-bits": "zpp-bits", "zpp-bits": "zpp-bits",
"zxorm": "zxorm" "zxorm": "zxorm"
}, },
"locked": { "locked": {
"lastModified": 1714468512, "lastModified": 1714877025,
"narHash": "sha256-7UOlepLVQXlPEqSiTmpDbYgSsgaaXtzhrXMwxv44r4o=", "narHash": "sha256-nWFkYfaTZUzWscxpG7T6QFi4u6bdAbpJOA2KfAtdD+s=",
"owner": "CHN-beta", "owner": "CHN-beta",
"repo": "nixos", "repo": "nixos",
"rev": "405dc14ce7c3bc04eaafae9b4d0e1cc4102c317b", "rev": "1fe31395f686e440dfa48c9e5e2e55c7f0aac1eb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -2083,6 +2102,22 @@
"type": "github" "type": "github"
} }
}, },
"openxlsx": {
"flake": false,
"locked": {
"lastModified": 1656848604,
"narHash": "sha256-Bdik5tY6DsNKMMXvfVOHngLHud3OJ8q9OTwv4eaDMvY=",
"owner": "troldal",
"repo": "OpenXLSX",
"rev": "b80da42d1454f361c29117095ebe1989437db390",
"type": "github"
},
"original": {
"owner": "troldal",
"repo": "OpenXLSX",
"type": "github"
}
},
"org": { "org": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -2824,6 +2859,22 @@
"type": "github" "type": "github"
} }
}, },
"xmuhpc-dotfiles": {
"flake": false,
"locked": {
"lastModified": 1714814038,
"narHash": "sha256-jiCdHJ4Sv3NnvW7jf1jLRMD0r4wnmc7LsTAFYszTEeo=",
"ref": "refs/heads/main",
"rev": "cf24e4352810bd39896e6d4038dd8193539f9862",
"revCount": 8,
"type": "git",
"url": "https://git.chn.moe/chn/xmuhpc-dotfiles.git"
},
"original": {
"type": "git",
"url": "https://git.chn.moe/chn/xmuhpc-dotfiles.git"
}
},
"yafas": { "yafas": {
"inputs": { "inputs": {
"flake-schemas": [ "flake-schemas": [
@ -2869,15 +2920,15 @@
"zxorm": { "zxorm": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1689774784, "lastModified": 1714876963,
"narHash": "sha256-QO0jrZqYcYxIdL1EWnEjaODr+q9inlbBgKaDSlu+ot0=", "narHash": "sha256-PYUs76SpsbCUHSV8n1+u10U4aEpA0u3L+IEXkRKzMXM=",
"owner": "crabmandable", "owner": "CHN-beta",
"repo": "zxorm", "repo": "zxorm",
"rev": "92cd52ec0530fb3e66061058548916fb879879e7", "rev": "c72543439eac41dae7aa44065fee657cad336bab",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "crabmandable", "owner": "CHN-beta",
"repo": "zxorm", "repo": "zxorm",
"type": "github" "type": "github"
} }

View File

@ -74,7 +74,7 @@ namespace hpcstat::sql
if (*old_data_it != *new_data_it) if (*old_data_it != *new_data_it)
{ {
std::cerr << fmt::format std::cerr << fmt::format
("Data mismatch: {} {} != {}.\n", nameof::nameof_type<T>(), (*old_data_it).Id, (*new_data_it).Id); ("Data mismatch: {} {} != {}.\n", nameof::nameof_type<T>(), old_data_it->Id, new_data_it->Id);
return std::nullopt; return std::nullopt;
} }
if (old_data_it != old_query.end() && new_data_it == new_query.end()) if (old_data_it != old_query.end() && new_data_it == new_query.end())
@ -90,7 +90,7 @@ namespace hpcstat::sql
auto data = *old_data_it; auto data = *old_data_it;
data.Signature = ""; data.Signature = "";
data.Id = 0; data.Id = 0;
diff.push_back({ serialize(data), (*old_data_it).Signature, (*old_data_it).Key }); diff.push_back({ serialize(data), old_data_it->Signature, old_data_it->Key });
} }
return diff; return diff;
} }