7 Commits

Author SHA1 Message Date
Jack Jackson
9b4e6c3b4d Introduce ability to seed data directly from GSheet
All checks were successful
Publish / build-and-push (push) Successful in 6m14s
Reasonably hacky, in that I introduce a facade to reuse the data format
previously provided by the `csv` module, rather than using the
`list[list[str]]` directly.

Next I want to introduce something like Celery to continually refresh.

Note that this will require changes to the deployment repo in order to
provide the required secrets.
2025-04-17 22:22:21 -07:00
Jack Jackson
c6a279a703 Support ties 2024-11-18 19:47:40 -08:00
Jack Jackson
2fb5a291e5 Implement incremental updating
When `seed/all_in_one` is now called, it will update with only that data
that exists later than the most-recently-played* game, allowing the
upload to be used repeatedly without having to clear the database.

\* Actually, "highest-ID game", as we haven't implemented
`list_games_by_date`, yet
2024-07-27 20:05:28 -07:00
Jack Jackson
624ef62345 Lookup decks in seeding by player+deck-name (to take account of duplicates 2024-06-29 13:46:33 -07:00
Jack Jackson
e4ea529fbe Cosmetic and final-basic functionality
At this point it _should_ be just about usable for folks to poke-around
in, though ugly as sin.
2024-06-09 09:45:56 -07:00
Jack Jackson
817f52b359 Game views 2024-03-01 23:08:46 -08:00
Jack Jackson
cc6c4818ad Initial seeding logic 2024-03-01 21:35:06 -08:00