Commit Graph

106 Commits

Author SHA1 Message Date
The Magician 974893605d Create unified "importer" command 2024-05-24 18:28:02 +01:00
The Magician 411abd66f6 Skip digital-only cards, close insert statements 2024-05-21 15:52:26 +01:00
The Magician d21f1274a6 Remove debug code 2024-05-21 15:27:36 +01:00
The Magician a7b8b66db3 Add card insert code 2024-05-21 15:27:05 +01:00
The Magician af6a9d0feb Minor fixen 2024-05-21 15:17:25 +01:00
The Magician bd581e1c60 Add correct foil flags 2024-05-21 15:17:00 +01:00
The Magician 07e8277a00 Remove importcards command 2024-05-21 15:16:43 +01:00
The Magician 9fa8bb563f Unmarshal card data into slice 2024-05-21 15:15:58 +01:00
The Magician 4c8beb0eb5 Add Card Scryfall type with only required fields 2024-05-21 14:41:35 +01:00
The Magician d1fa838bfe Cache bulk data file 2024-05-21 14:31:54 +01:00
The Magician 01e06c0152 Fix timestamp SELECT code 2024-05-21 14:31:20 +01:00
The Magician 411383704c Import set data 2024-05-21 13:25:08 +01:00
The Magician fd4c2048e1 Modify Makefile to use unified importer 2024-05-21 12:35:01 +01:00
The Magician 787794ac97 Move set import code to main.go 2024-05-21 12:33:14 +01:00
The Magician a01e591e5f Create cache directories 2024-05-21 12:28:08 +01:00
The Magician f31186add2 Write outline for combined importer 2024-05-21 12:24:16 +01:00
The Magician e98b0ec72f Move filesystem constants to main.go 2024-05-21 12:19:01 +01:00
The Magician a6463b0b25 Implement check function 2024-05-21 12:17:50 +01:00
The Magician b25cab0104 Remove test code from main.go 2024-05-21 12:17:24 +01:00
The Magician 5f7f07edea Move loop to main package 2024-05-20 17:33:40 +01:00
The Magician c4f87dc451 Change Makefile targets 2024-05-20 17:26:18 +01:00
The Magician d3583cee0e Make "CacheTimestamp" table name singular 2024-05-20 17:21:16 +01:00
The Magician d74d299418 Skip importing digital-only sets 2024-05-20 17:20:27 +01:00
The Magician 75b425c849 Import sets into database 2024-05-20 17:17:45 +01:00
The Magician 3f9d3a9dd6 Add missing comma 2024-05-20 16:54:49 +01:00
The Magician 2131a54e64 Remove unused struct 2024-05-20 16:50:57 +01:00
The Magician 72452ee2fa Start working on speeding up imports 2024-05-19 20:29:50 +01:00
The Magician af27b138bc Finish bulk json caching feature 2024-05-19 17:11:42 +01:00
The Magician e5b87bb8ae Remove unused API method 2024-05-19 15:01:52 +01:00
The Magician c8133803f7 Cache bulk data file 2024-05-19 15:01:18 +01:00
The Magician 6def107873 Remove broken decklist functionality 2024-05-19 10:06:28 +01:00
The Magician 87a94f800d Fix SQL syntax 2024-05-19 10:05:29 +01:00
The Magician e89495ba80 Add table to store cache timestamps 2024-05-19 10:01:57 +01:00
The Magician 5aa1854757 Start writing code to get decklists 2024-04-28 19:58:48 +01:00
The Magician 09a0ea0fbc Add DB schema for tournament decklists 2024-04-28 15:14:22 +01:00
The Magician 9c566e997f Download card data from Scryfall 2024-04-28 15:13:47 +01:00
The Magician b491315cd0 Upgrade to colly v2 2024-04-28 15:11:19 +01:00
The Magician b93df37bd4 Get all cards from bulk data endpoint 2024-04-24 14:29:38 +01:00
The Magician d6e558f9e3 Simplify database schema for current use case 2024-04-24 11:54:49 +01:00
The Magician 424bca2d4d Import colors to database 2024-04-23 21:45:55 +01:00
The Magician 4a6579a0a2 Add Card-related objects to Scryfall API package 2024-04-23 21:45:28 +01:00
The Magician 960adebd93 Import Set data from Scryfall 2024-04-23 17:52:48 +01:00
The Magician 7806b11cbf Fix Makefile 2024-04-19 10:01:59 +01:00
The Magician 34ed8b8751 Allow SetCode to be five characters 2024-04-19 09:19:42 +01:00
The Magician 85eaa5df0c Make cmd folder names match Makefile actions 2024-04-19 09:14:59 +01:00
The Magician 4805299fa7 Add SetType column to ExpansionSet table 2024-04-19 09:12:42 +01:00
The Magician f09472a505 Move responsibility for importing Colors 2024-04-19 09:09:52 +01:00
The Magician 256b6e96f2 Set up command to import data from Scryfall 2024-04-19 09:07:19 +01:00
The Magician 896a6666a9 Merge branch 'main' of git.themagician.cc:TheMagician/TheMathemagicians 2024-04-19 08:58:17 +01:00
The Magician 0312a8266a Finish SQL schema 2024-04-14 21:28:35 +01:00
The Magician d15cc864bc Add updates to database schema 2024-04-13 14:35:00 +01:00
The Magician 07ad091168 Design first draft of database schema 2024-04-12 22:28:00 +01:00
The Magician 3d273eb738 Merge branch 'main' of git.themagician.cc:TheMagician/TheMathemagicians 2024-04-12 09:59:43 +01:00
The Magician b6f08c2c1b Add main.go 2024-04-12 09:59:09 +01:00
The Magician 529860f2bc Start creating database schema 2024-04-12 09:56:47 +01:00
The Magician f562f6d697 Add dummy SQL code 2024-04-04 14:55:12 +01:00