]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - doc/TODO
Remove "re-enable DTD validation..." from the TODO.
[dead/htsn-import.git] / doc / TODO
index 6bce0fbf735b17d894ae5eb72bb1aa22277c25af..df8588b2094e57bbee207b30b24a926c3380ce38 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -1,15 +1,51 @@
-1. Re-enable DTD validation once
-   https://github.com/UweSchmidt/hxt/issues/15 is fixed.
-
-2. Write a test for test/xml/Odds_XML-long-import.xml once it no
+1. Write a test for test/xml/Odds_XML-long-import.xml once it no
    longer takes 10 minutes to import (Postgres only?).
 
-3. Write a test for the ON DELETE CASCADE behavior.
+2. We have DTDs but no sample XML for the following SportInfo types,
+   which have therefore been left unimplmented for now:
+
+   * CBASK_StealsXML.dtd
+
+3. The following DTD types were handled (in some form) by the old
+   FeedGrabber. They are not yet handled by htsn-import (some may not
+   be valid):
+
+   * AutoRacingGridXML
+   * CBASK_Individual_Stats_XML
+   * Cbask_Roster_XML
+   * cbaskteamschedulexml
+   * CBATeamScheduleXML
+   * CFLTeamScheduleXML
+   * CFLTotalTeamScheduleXML
+   * Minor_Baseball_TeamScheduleXML
+   * MinorLeagueHockeyTeamScheduleXML
+   * MLB_Boxscore_XML
+   * MLB_IndividualStats_XML
+   * MLB_Probable_Pitchers_XML
+   * MLB_Roster_XML
+   * mlbteamschedulexml
+   * mlsteamschedulexml
+   * NBA_Boxscore_XML
+   * NBA_Individual_Stats_XML
+   * NBA_Roster_XML
+   * nbateamschedulexml
+   * NCAA_Basketball_Boxscore_XML
+   * NCAA_FB_TeamScheduleXML
+   * NCAAHockeyTeamScheduleXML
+   * NFL_Boxscore_XML
+   * NFL_CompBox_XML
+   * nfldepthchartxml
+   * nflteamschedulexml
+   * nhlteamschedulexml
+   * WCBaskTeamScheduleXML
+   * WNBA_Boxscore_XML
+   * WNBA_Individual_Stats_XML
+   * WNBATeamScheduleXML
+
+4. Consolidate all of the make_game_time functions which take a
+   date/time and produce a combined time.
 
-4. Add top-level message tables for all types so that we can link all
-   records to a message and use the message's time stamp to (cascade)
-   delete old data.
+5. Factor out test code where possible; a lot of them differ only in
+   the filename.
 
-5. Drop the many-to-many relation between at least odds and
-   odds_games, since duplicate games are highly unlikely and the table
-   will grow without bound.
+6. Combine test XML files where possible.