Skip to content

Xbox Cloud Gaming app for PS5 Homebrew

C

chore(triage): mention official PS4 build + latest release link; stop auto-closing PS4 issues

Rafael Abud Ferreiradca1708bdbb5
diff --git a/.github/triage/test_triage.py b/.github/triage/test_triage.py
index a053a6d..a6e4cbb 100644
--- a/.github/triage/test_triage.py
+++ b/.github/triage/test_triage.py
@@ -196,6 +196,28 @@ class Triage(unittest.TestCase):
self.assertTrue(close)
self.assertIn("Versão não suportada", comment)
+ def test_unsupported_147_points_to_official_ps4_latest_release(self):
+ url = "https://github.com/RafaelNGP/xbox-cloud-gaming-ps5/releases/latest"
+ cases = [
+ (form("It crashed", "1.4.7", "13.00", LOG), "Problem on 1.4.7"),
+ (form("Não consigo entrar no jogo", "1.4.7", "13.00", LOG), "Erro ao logar na conta"),
+ (form("No puedo iniciar sesión en el juego", "1.4.7", "13.00", LOG), "Error al iniciar sesión"),
+ ]
+ for body, title in cases:
+ _, comment, _ = self.run_triage_full(body, title=title, latest="1.6.1")
+ self.assertIn(url, comment)
+ self.assertIn("**PlayStation 4**", comment)
+ self.assertIn("reddit.com/r/PSBoxCloudGaming", comment)
+ self.assertNotIn("exclusiv", comment)
+
+ def test_official_ps4_user_not_closed_as_unsupported(self):
+ for fw in ("PS4", "ps4"):
+ labels, comment, close = self.run_triage_full(
+ form("Game freezes after 5 minutes", "1.6.1", fw, LOG), title="Game freezes", latest="1.6.1")
+ self.assertNotIn("unsupported-platform", labels)
+ self.assertFalse(close)
+ self.assertNotIn("1.4.7", comment or "")
+
def test_empty_issue_known_claim_free(self):
labels, comment, close = self.run_triage_full(
"",
diff --git a/.github/triage/triage.py b/.github/triage/triage.py
index f252f63..45dd8db 100644
--- a/.github/triage/triage.py
+++ b/.github/triage/triage.py
@@ -28,6 +28,7 @@ import urllib.request
MARKER = "<!-- psbox-triage -->"
HERE = os.path.dirname(os.path.abspath(__file__))
MAX_TEXT = 200_000 # characters of an issue looked at
+LATEST_RELEASE_URL = "https://github.com/RafaelNGP/xbox-cloud-gaming-ps5/releases/latest"
LABEL_COLOURS = {
"needs-info": "fbca04",
@@ -48,9 +49,11 @@ STRINGS = {
),
"unsupported_147": (
"- **Unsupported version (v1.4.7 / unofficial PS4 port)**: Version 1.4.7 is an unofficial "
- "port for PS4 created by a third party. This repository develops and supports exclusively "
- "the official **PlayStation 5** application (PPSA99810). Official support cannot be provided "
- "for this PS4 build as it was not created or maintained by the author of this repository.\n\n"
+ "port for PS4 created by a third party. It was not created or maintained by the author of this "
+ "repository, so official support cannot be provided for that build.\n\n"
+ "This repository now develops official versions for **PlayStation 5** (PPSA99810) and "
+ "**PlayStation 4**. Please download the official build from the latest release: "
+ f"{LATEST_RELEASE_URL}\n\n"
"This issue is being closed as an unsupported version/platform.\n\n"
"*(Tip: If you are having issues claiming games or managing your account, visit https://www.xbox.com/play "
"in a PC or mobile browser to manage your account and claim titles directly).*"
@@ -80,10 +83,11 @@ STRINGS = {
),
"unsupported_147": (
"- **Versão não suportada (v1.4.7 / port não-oficial de PS4)**: A versão 1.4.7 é uma modificação/port "
- "não-oficial para PS4 desenvolvida por terceiros. Este repositório desenvolve e oferece suporte "
- "exclusivamente para a versão oficial de **PlayStation 5** (PPSA99810). Não é possível oferecer suporte "
- "técnico, investigar problemas ou realizar correções para essa versão de PS4, pois ela não foi feita "
- "pelo mantenedor deste projeto.\n\n"
+ "não-oficial para PS4 desenvolvida por terceiros. Não é possível oferecer suporte técnico, investigar "
+ "problemas ou realizar correções para essa versão, pois ela não foi feita pelo mantenedor deste projeto.\n\n"
+ "Este repositório agora desenvolve versões oficiais para **PlayStation 5** (PPSA99810) e "
+ "**PlayStation 4**. Baixe a versão oficial na release mais recente: "
+ f"{LATEST_RELEASE_URL}\n\n"
"Esta issue está sendo encerrada por se tratar de uma versão/plataforma não suportada.\n\n"
"*(Dica: Se estiver com problemas para resgatar jogos gratuitos ou gerenciar sua conta, acesse https://www.xbox.com/play "
"pelo navegador de um computador ou celular para resgatar os títulos diretamente na sua conta Xbox).*"
@@ -113,10 +117,11 @@ STRINGS = {
),
"unsupported_147": (
"- **Versión no admitida (v1.4.7 / port no oficial de PS4)**: La versión 1.4.7 es una modificación/port "
- "no oficial para PS4 desarrollado por terceros. Este repositorio desarrolla y ofrece soporte "
- "exclusivamente para a versión oficial de **PlayStation 5** (PPSA99810). No es posible ofrecer asistencia "
- "técnica, investigar problemas ni publicar correcciones para esa versión de PS4, ya que no fue creada "
- "por el mantenedor de este proyecto.\n\n"
+ "no oficial para PS4 desarrollado por terceros. No es posible ofrecer asistencia técnica, investigar "
+ "problemas ni publicar correcciones para esa versión, ya que no fue creada por el mantenedor de este proyecto.\n\n"
+ "Este repositorio ahora desarrolla versiones oficiales para **PlayStation 5** (PPSA99810) y "
+ "**PlayStation 4**. Descarga la versión oficial desde la release más reciente: "
+ f"{LATEST_RELEASE_URL}\n\n"
"Este reporte se cierra por tratarse de una versión/plataforma no admitida.\n\n"
"*(Consejo: Si tienes dificultades para reclamar juegos gratuitos o gestionar tu cuenta, accede a https://www.xbox.com/play "
"desde el navegador de un ordenador o móvil para reclamar los títulos directamente en tu cuenta de Xbox).*"
@@ -232,16 +237,15 @@ def is_empty_issue(body, fields):
def is_unsupported_147(fields, release, title, body):
- """Detects issues reporting version 1.4.7 or the unofficial PS4 port."""
+ """Detects issues reporting version 1.4.7 (the unofficial third-party PS4 port).
+
+ "PS4" alone in the firmware/platform field is not enough: there is an official
+ PS4 build now, and its users must get the normal triage instead of a close."""
if release == (1, 4, 7):
return True
app_rel = field(fields, "app release")
if re.search(r"\bv?1\.4\.7\b", app_rel, re.I):
return True
- fw = field(fields, "playstation firmware", "ps5 firmware").strip().lower()
- plat = field(fields, "platform").strip().lower()
- if fw == "ps4" or plat == "ps4":
- return True
text = f"{title or ''}\n{body or ''}"
if re.search(r"\bv?1\.4\.7\b", text, re.I):
return True