[PR #749] [MERGED] Implement persistent game update info cache #804

Closed
opened 2026-02-15 15:56:55 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/749
Author: @13xforever
Created: 4/14/2021
Status: Merged
Merged: 4/14/2021
Merged by: @13xforever

Base: masterHead: vnext


📝 Commits (3)

  • bf44060 implement persistent psn title update api response cache
  • 5cdd504 implement title update scraping
  • 55bccc1 keep cache timestamp up to date and indicate it in results when needed

📊 Changes

15 files changed (+818 additions, -19 deletions)

View changed files

📝 Clients/PsnClient/POCOs/TitlePatch.cs (+4 -1)
📝 Clients/PsnClient/PsnClient.cs (+6 -5)
📝 CompatBot/Commands/Fortune.cs (+2 -6)
📝 CompatBot/Commands/Psn.Check.cs (+4 -3)
CompatBot/Database/Migrations/ThumbnailDb/20210414183007_AddGameUpdateInfo.Designer.cs (+297 -0)
CompatBot/Database/Migrations/ThumbnailDb/20210414183007_AddGameUpdateInfo.cs (+37 -0)
CompatBot/Database/Migrations/ThumbnailDb/20210414190638_AddGameUpdateInfoTimestamp.Designer.cs (+301 -0)
CompatBot/Database/Migrations/ThumbnailDb/20210414190638_AddGameUpdateInfoTimestamp.cs (+24 -0)
📝 CompatBot/Database/Migrations/ThumbnailDb/ThumbnailDbModelSnapshot.cs (+36 -1)
CompatBot/Database/Providers/TitleUpdateInfoProvider.cs (+78 -0)
📝 CompatBot/Database/ThumbnailDb.cs (+13 -0)
📝 CompatBot/Program.cs (+1 -0)
📝 CompatBot/Utils/Extensions/StringUtils.cs (+8 -0)
📝 CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs (+1 -1)
📝 CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs (+6 -2)

📄 Description

  • save PSN title update information when updates are available
  • periodically check if there are any recent updates for all known product codes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/749 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 4/14/2021 **Status:** ✅ Merged **Merged:** 4/14/2021 **Merged by:** [@13xforever](https://github.com/13xforever) **Base:** `master` ← **Head:** `vnext` --- ### 📝 Commits (3) - [`bf44060`](https://github.com/RPCS3/discord-bot/commit/bf440604e2d437f5396dfbbbd464917b85174d0d) implement persistent psn title update api response cache - [`5cdd504`](https://github.com/RPCS3/discord-bot/commit/5cdd504a0077aaeba1014a5b1e729dc2279cfdb3) implement title update scraping - [`55bccc1`](https://github.com/RPCS3/discord-bot/commit/55bccc18499dfa9d6ab3845a8c212480b87da310) keep cache timestamp up to date and indicate it in results when needed ### 📊 Changes **15 files changed** (+818 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `Clients/PsnClient/POCOs/TitlePatch.cs` (+4 -1) 📝 `Clients/PsnClient/PsnClient.cs` (+6 -5) 📝 `CompatBot/Commands/Fortune.cs` (+2 -6) 📝 `CompatBot/Commands/Psn.Check.cs` (+4 -3) ➕ `CompatBot/Database/Migrations/ThumbnailDb/20210414183007_AddGameUpdateInfo.Designer.cs` (+297 -0) ➕ `CompatBot/Database/Migrations/ThumbnailDb/20210414183007_AddGameUpdateInfo.cs` (+37 -0) ➕ `CompatBot/Database/Migrations/ThumbnailDb/20210414190638_AddGameUpdateInfoTimestamp.Designer.cs` (+301 -0) ➕ `CompatBot/Database/Migrations/ThumbnailDb/20210414190638_AddGameUpdateInfoTimestamp.cs` (+24 -0) 📝 `CompatBot/Database/Migrations/ThumbnailDb/ThumbnailDbModelSnapshot.cs` (+36 -1) ➕ `CompatBot/Database/Providers/TitleUpdateInfoProvider.cs` (+78 -0) 📝 `CompatBot/Database/ThumbnailDb.cs` (+13 -0) 📝 `CompatBot/Program.cs` (+1 -0) 📝 `CompatBot/Utils/Extensions/StringUtils.cs` (+8 -0) 📝 `CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs` (+1 -1) 📝 `CompatBot/Utils/ResultFormatters/TitlePatchFormatter.cs` (+6 -2) </details> ### 📄 Description * save PSN title update information when updates are available * periodically check if there are any recent updates for all known product codes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:56:55 -05:00
yindo closed this issue 2026-02-15 15:56:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#804