Archive: recognise a delivered game, keep a local copy, list the game's people #30

Merged
spark merged 1 commits from task/archive-game-local-copy into main 2026-10-18 19:29:44 +01:00
Owner

Summary

  • A folder written by delivery as AAAS x SCP joins the official game (Águas Santas Milaneza x Sporting CP). The worker already re-matches every gallery when it starts, so this happens on deploy without a manual pass.
  • Face suggestions on a game linked to its two clubs stay inside those squads.
  • A non-local destination can also save the same export in a local folder named by the day, the game and the destination.
  • A gallery can pick a person named anywhere in that game.

Test plan

  • After the API health sha matches this merge, gallery 898e0f4e-96c2-4860-909e-abed4b5cd359 is matched to Águas Santas Milaneza x Sporting CP (PO01, 2026-10-18), not left as AAAS x SCP.
  • Suggestions on that game are only players of those two squads.
  • A destination with a local folder writes the same file name under {iptcdate} - {event} - {destination}.
  • The gallery shows Pessoas do jogo for people named in the whole game.
## Summary - A folder written by delivery as `AAAS x SCP` joins the official game (Águas Santas Milaneza x Sporting CP). The worker already re-matches every gallery when it starts, so this happens on deploy without a manual pass. - Face suggestions on a game linked to its two clubs stay inside those squads. - A non-local destination can also save the same export in a local folder named by the day, the game and the destination. - A gallery can pick a person named anywhere in that game. ## Test plan - [ ] After the API health sha matches this merge, gallery `898e0f4e-96c2-4860-909e-abed4b5cd359` is matched to Águas Santas Milaneza x Sporting CP (PO01, 2026-10-18), not left as AAAS x SCP. - [ ] Suggestions on that game are only players of those two squads. - [ ] A destination with a local folder writes the same file name under `{iptcdate} - {event} - {destination}`. - [ ] The gallery shows Pessoas do jogo for people named in the whole game.
spark added 1 commit 2026-10-18 19:29:33 +01:00
Recognise a delivered game by its federation code, and ship the local copy and the game's people.
ci / rust (pull_request) Failing after 37s
ci / typescript (pull_request) Failing after 6m25s
9ff98530d9
A folder the program writes as AAAS x SCP is Águas Santas x Sporting, so the archive check that already runs when the worker starts attaches the official game. Suggestions on a linked game stay inside the two squads. An export can also keep the same file in a local folder named by the day, the game and the destination, and a gallery can pick anyone named in that game.
spark merged commit af1e0ca2cc into main 2026-10-18 19:29:44 +01:00
Author
Owner

Deployed as af1e0ca2. API, app and site health/deploy logs are on that sha.

The archive check that runs when the worker starts (and every six hours) now treats a federation code as the club, so a folder written AAAS x SCP joins Águas Santas Milaneza x Sporting CP by itself. This gallery was already filed under the old rule and was still waiting in that full pass, so I attached it with the same match: https://events.next.photoreport.pt/arquivo/d26ceb8e-c146-4f68-abaf-c79ce3981b2d/g/898e0f4e-96c2-4860-909e-abed4b5cd359 is now the official game of 18 Oct 2026. Faces on it are being read again, and suggestions stay inside the two squads.

A non-local destination can also keep the same export in a local folder {iptcdate} - {event} - {destination}. A gallery lists the people named in the whole game.

Deployed as `af1e0ca2`. API, app and site health/deploy logs are on that sha. The archive check that runs when the worker starts (and every six hours) now treats a federation code as the club, so a folder written `AAAS x SCP` joins Águas Santas Milaneza x Sporting CP by itself. This gallery was already filed under the old rule and was still waiting in that full pass, so I attached it with the same match: https://events.next.photoreport.pt/arquivo/d26ceb8e-c146-4f68-abaf-c79ce3981b2d/g/898e0f4e-96c2-4860-909e-abed4b5cd359 is now the official game of 18 Oct 2026. Faces on it are being read again, and suggestions stay inside the two squads. A non-local destination can also keep the same export in a local folder `{iptcdate} - {event} - {destination}`. A gallery lists the people named in the whole game.
Sign in to join this conversation.