]>
gitweb.michael.orlitzky.com - dead/htsn-import.git/log
Michael Orlitzky [Mon, 7 Jul 2014 13:47:02 +0000 (09:47 -0400)]
Add an overview to the development README.
Michael Orlitzky [Mon, 7 Jul 2014 04:43:55 +0000 (00:43 -0400)]
Bump the version to 0.0.6 in the cabal file.
Michael Orlitzky [Mon, 7 Jul 2014 04:43:34 +0000 (00:43 -0400)]
Remove completed TODO items.
Michael Orlitzky [Mon, 7 Jul 2014 04:41:39 +0000 (00:41 -0400)]
Add a has_only_single_sms function to TSN.XML.News.
Report multiple SMS in newsxml as unsupported in Main.
Add tests for the multiple SMS elements in newsxml.
Update the man page mention of the double SMS.
Michael Orlitzky [Mon, 7 Jul 2014 04:39:38 +0000 (00:39 -0400)]
Use unsafe_read_document in TSN.XML.Weather tests.
Michael Orlitzky [Mon, 7 Jul 2014 04:15:35 +0000 (00:15 -0400)]
Make the AutoRacingSchedule status optional.
Mangle an AutoRacingSchedule test case to test the optional status.
Fix an XML->DB conversion bug in AutoRacingSchedule.
Update the AutoRacingSchedule dbschema diagram.
Michael Orlitzky [Sun, 6 Jul 2014 20:25:08 +0000 (16:25 -0400)]
Update the scoresxml and weatherxml dbschema diagrams.
Michael Orlitzky [Sun, 6 Jul 2014 20:15:40 +0000 (16:15 -0400)]
Fix hlint warnings.
Michael Orlitzky [Sun, 6 Jul 2014 20:02:04 +0000 (16:02 -0400)]
Actuall import the detailed weather items.
Michael Orlitzky [Sun, 6 Jul 2014 19:39:40 +0000 (15:39 -0400)]
Use the TSN.Team and TSN.Location representations in TSN.XML.Scores.
Use a direct relationship between the scores games and their teams.
Fix optional fields encountered while importing sample scoresxml.
Michael Orlitzky [Sun, 6 Jul 2014 19:39:02 +0000 (15:39 -0400)]
Add a note about the sample backwards teams XML to the man page.
Michael Orlitzky [Sun, 6 Jul 2014 19:37:18 +0000 (15:37 -0400)]
Add a teams_are_normal function to TSN.XML.Weather.
Fail in Main when the Weather teams are not normal (unsupported).
Add a note about the backwards teams to the man page.
Add tests for the backwards teams.
Michael Orlitzky [Sun, 6 Jul 2014 11:36:44 +0000 (07:36 -0400)]
Add a new scoresxml sample and update the generated schema.
Michael Orlitzky [Sun, 6 Jul 2014 03:20:45 +0000 (23:20 -0400)]
Use HTeam/VTeam wrappers in TSN.XML.ScheduleChanges.
Eliminate redundant Team XML representation in TSN.XML.ScheduleChanges.
Michael Orlitzky [Sun, 6 Jul 2014 03:20:05 +0000 (23:20 -0400)]
Use HTeam/VTeam wrappers in TSN.XML.JFile.
Michael Orlitzky [Sun, 6 Jul 2014 03:19:36 +0000 (23:19 -0400)]
Add HTeam/VTeam newtype wrappers to TSN.Team.
Michael Orlitzky [Sun, 6 Jul 2014 02:41:22 +0000 (22:41 -0400)]
Use the common TSN.Location representation in TSN.XML.Scores.
Michael Orlitzky [Sun, 6 Jul 2014 02:40:54 +0000 (22:40 -0400)]
Move pickle_location into the TSN.Location module and update TSN.XML.News.
Michael Orlitzky [Sun, 6 Jul 2014 01:19:36 +0000 (21:19 -0400)]
Update two comments.
Michael Orlitzky [Sun, 6 Jul 2014 01:16:01 +0000 (21:16 -0400)]
Remove redundant away team XML representation in ScheduleChanges.
Michael Orlitzky [Sun, 6 Jul 2014 01:09:37 +0000 (21:09 -0400)]
Remove redundant XML away team representation in TSN.XML.Odds.
Michael Orlitzky [Sun, 6 Jul 2014 01:02:34 +0000 (21:02 -0400)]
Remove two unnecessary XML representations of teams/locations.
Michael Orlitzky [Sun, 6 Jul 2014 00:49:34 +0000 (20:49 -0400)]
Remove redundant XML representations of Game/SportInfo.
Add silly Game/SportInfo tests to mask unused field warnings.
Michael Orlitzky [Sat, 5 Jul 2014 23:59:20 +0000 (19:59 -0400)]
Use TSN.Location for the News locations.
Update the newsxml dbschema diagram.
Remove some TODOs.
Michael Orlitzky [Sat, 5 Jul 2014 23:27:20 +0000 (19:27 -0400)]
New module: TSN.Location.
Michael Orlitzky [Sat, 5 Jul 2014 23:26:52 +0000 (19:26 -0400)]
Fix the TSN.Team unique constraint name.
Michael Orlitzky [Sat, 5 Jul 2014 23:00:31 +0000 (19:00 -0400)]
Add a function to TSN.XML.Weather to detect the unsupported second type.
Fail with ImportUnsupported instead of an error when we encounter the second type of weatherxml.
Update the man page with a mention of the unsupported weatherxml handling.
Remove a TODO.
Add tests for the unsupported weather document and its underlying function.
Michael Orlitzky [Sat, 5 Jul 2014 17:35:20 +0000 (13:35 -0400)]
Add a sample contained Detailed_Weather to the weatherxml schemagen.
Update the test/schema DTD for weatherxml.
Michael Orlitzky [Sat, 5 Jul 2014 17:34:09 +0000 (13:34 -0400)]
Add support for the new Detailed_Weather elements.
Add another test case for the weather.
Update the TODO.
Michael Orlitzky [Sat, 5 Jul 2014 17:29:45 +0000 (13:29 -0400)]
Report the path along with the error message when an import fails.
Michael Orlitzky [Sat, 5 Jul 2014 16:18:37 +0000 (12:18 -0400)]
Move the weird weatherxml example out of schemagen/ and under doc/.
Allow weather forecasts to contain multiple leagues.
Michael Orlitzky [Sat, 5 Jul 2014 14:51:24 +0000 (10:51 -0400)]
Make the Odds team rotation numbers optional.
Update the Odds dbschema diagram.
Michael Orlitzky [Fri, 4 Jul 2014 20:29:36 +0000 (16:29 -0400)]
Add a note to the man page about the double-SMS in a news sample.
Michael Orlitzky [Fri, 4 Jul 2014 19:52:25 +0000 (15:52 -0400)]
Crop the AutoRacingResults dbschema diagram.
Make the Injuries teamno field a String thanks to a new sample.
Update the Injuries dbschema diagram.
Michael Orlitzky [Fri, 4 Jul 2014 19:42:25 +0000 (15:42 -0400)]
Change the AutoRacingResults track length to a String (yeah).
Update the AutoRacingResults dbschema diagram.
Michael Orlitzky [Fri, 4 Jul 2014 16:24:03 +0000 (12:24 -0400)]
Update the TODO with some more tasks revealed by testing.
Michael Orlitzky [Fri, 4 Jul 2014 07:23:07 +0000 (03:23 -0400)]
Move the deployment section from README.development to the man page.
Remove another entry from the TODO.
Michael Orlitzky [Fri, 4 Jul 2014 07:07:37 +0000 (03:07 -0400)]
Create a direct relationship between the Odds games and teams.
Update the Odds_XML dbschema diagram.
Michael Orlitzky [Fri, 4 Jul 2014 07:01:00 +0000 (03:01 -0400)]
Comment fix.
Michael Orlitzky [Fri, 4 Jul 2014 06:47:29 +0000 (02:47 -0400)]
Update JFile to have a direct relationship between the games/teams.
Add the jfilexml dbschema diagram.
Michael Orlitzky [Fri, 4 Jul 2014 06:40:15 +0000 (02:40 -0400)]
Add the XmlImportFkTeams class.
Michael Orlitzky [Fri, 4 Jul 2014 06:39:40 +0000 (02:39 -0400)]
Update TSN.XML modules to use the new Child class.
Michael Orlitzky [Fri, 4 Jul 2014 06:38:48 +0000 (02:38 -0400)]
Split the (Parent a) associated type into a new Child class.
Michael Orlitzky [Fri, 4 Jul 2014 05:56:42 +0000 (01:56 -0400)]
Finish the documentation for ScheduleChanges.
Finalize the schema for ScheduleChanges.
Add the Schedule_Changes_XML schema diagram.
Remove pointless "team_" prefix from two Team fields.
Update Odds/JFile for the Team changes.
Michael Orlitzky [Fri, 4 Jul 2014 05:25:12 +0000 (01:25 -0400)]
Add the FromXmlFkTeams class.
Michael Orlitzky [Fri, 4 Jul 2014 04:29:55 +0000 (00:29 -0400)]
Update TODO again.
Michael Orlitzky [Fri, 4 Jul 2014 04:28:00 +0000 (00:28 -0400)]
Add the initial implementation of TSN.XML.ScheduleChanges.
Michael Orlitzky [Fri, 4 Jul 2014 04:24:56 +0000 (00:24 -0400)]
Fix two capitalizations in comments.
Michael Orlitzky [Fri, 4 Jul 2014 04:23:53 +0000 (00:23 -0400)]
Fix misleading comments and reorder two operations in JFile/Odds.
Michael Orlitzky [Fri, 4 Jul 2014 04:23:10 +0000 (00:23 -0400)]
Add test XML for Schedule_Changes_XML.dtd.
Michael Orlitzky [Fri, 4 Jul 2014 04:22:49 +0000 (00:22 -0400)]
Add a few TODOs.
Michael Orlitzky [Thu, 3 Jul 2014 20:17:12 +0000 (16:17 -0400)]
Add sample Schedule_Changes_XML and the generated DTD.
Michael Orlitzky [Thu, 3 Jul 2014 18:31:02 +0000 (14:31 -0400)]
Remove a completed TODO item.
Michael Orlitzky [Thu, 3 Jul 2014 18:29:12 +0000 (14:29 -0400)]
Move two READMEs into the man page.
Move the list of supported document types to the end of the man page.
Add a man page section about new/removed column migrations.
Michael Orlitzky [Wed, 2 Jul 2014 15:03:51 +0000 (11:03 -0400)]
Update the Odds schema diagram.
Michael Orlitzky [Tue, 1 Jul 2014 14:31:06 +0000 (10:31 -0400)]
Add League_Name, AStarter, and HStarter support to Odds.
Add another test case for Odds.
Rename a few columns (dropping the "game" prefix) in the Odds tables.
Michael Orlitzky [Sat, 28 Jun 2014 02:07:06 +0000 (22:07 -0400)]
Add a new Odds_XML schema sample and update the DTD.
Michael Orlitzky [Sat, 28 Jun 2014 01:45:58 +0000 (21:45 -0400)]
Make team names and abbreviations optional.
Michael Orlitzky [Sat, 28 Jun 2014 01:31:07 +0000 (21:31 -0400)]
Add a new JFile test case and update the shelltest script.
Michael Orlitzky [Sat, 28 Jun 2014 01:18:37 +0000 (21:18 -0400)]
Update the list of schemagen files in htsn-import.cabal.
Remove a TODO.
Michael Orlitzky [Sat, 28 Jun 2014 00:16:55 +0000 (20:16 -0400)]
Add jfilexml to the list of supported document types.
Update the TODO.
Michael Orlitzky [Fri, 27 Jun 2014 19:54:48 +0000 (15:54 -0400)]
Write the database code for TSN.XML.JFile.
Add tests for TSN.XML.JFile.
Enable JFile import in Main.
Fixup the shell test expected output.
Simplify the big case statement (guard) in Main.
Michael Orlitzky [Fri, 27 Jun 2014 19:54:21 +0000 (15:54 -0400)]
Rename xp_racedate to xp_datetime.
Add an xp_time_dots (un)pickler.
Michael Orlitzky [Tue, 24 Jun 2014 21:26:21 +0000 (17:26 -0400)]
Use the TSN.Team type in TSN.XML.JFile.
Add team pickling to TSN.XML.JFile.
Michael Orlitzky [Tue, 24 Jun 2014 21:05:49 +0000 (17:05 -0400)]
Add a TODO comment to TSN.XML.AutoRacingResults.
Michael Orlitzky [Tue, 24 Jun 2014 21:05:30 +0000 (17:05 -0400)]
Update TSN.XML.Odds to use the new TSN.Team type.
Michael Orlitzky [Tue, 24 Jun 2014 20:58:18 +0000 (16:58 -0400)]
Add the TSN.Team module housing a common database representation of teams.
Michael Orlitzky [Tue, 24 Jun 2014 17:11:26 +0000 (13:11 -0400)]
Begin work on the TSN.XML.JFile module.
Michael Orlitzky [Tue, 24 Jun 2014 17:11:06 +0000 (13:11 -0400)]
Export the Game types from TSN.XML.Odds.
Michael Orlitzky [Tue, 24 Jun 2014 17:10:46 +0000 (13:10 -0400)]
Insignificant comment fix.
Michael Orlitzky [Tue, 24 Jun 2014 13:09:13 +0000 (09:09 -0400)]
Add the jfilexml DTD and the XML used to infer it.
Michael Orlitzky [Mon, 23 Jun 2014 20:10:47 +0000 (16:10 -0400)]
Update the TODO with a list of unhandled DTDs.
Michael Orlitzky [Mon, 23 Jun 2014 19:49:44 +0000 (15:49 -0400)]
Add SportInfo support for MLB_Fielding_XML.dtd (overlooked somehow).
Create the list of SportInfo test cases from the DTD list.
Remove one TODO and replace it with another about the missing SportInfo types.
Michael Orlitzky [Mon, 23 Jun 2014 19:38:39 +0000 (15:38 -0400)]
Add SportInfo support for WNBATurnoversXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:34:49 +0000 (15:34 -0400)]
Add SportInfo support for WNBAStealsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:31:56 +0000 (15:31 -0400)]
Add SportInfo support for wnbastandxml.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:28:00 +0000 (15:28 -0400)]
Add SportInfo support for WNBAScorersXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:23:33 +0000 (15:23 -0400)]
Add SportInfo support for WNBAReboundsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:14:28 +0000 (15:14 -0400)]
Add SportInfo support for WNBAMinutesXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:11:03 +0000 (15:11 -0400)]
Add SportInfo support for WNBAFTPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:05:49 +0000 (15:05 -0400)]
Add SportInfo support for WNBAFoulsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:02:28 +0000 (15:02 -0400)]
Add SportInfo support for WNBAFGPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:50:47 +0000 (14:50 -0400)]
Add SportInfo support for WNBABlocksXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:38:17 +0000 (14:38 -0400)]
Add SportInfo support for WNBAAssistsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:33:02 +0000 (14:33 -0400)]
Add SportInfo support for WNBA3PPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:29:56 +0000 (14:29 -0400)]
Add SportInfo support for WNBA_Team_Leaders_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:23:09 +0000 (14:23 -0400)]
Add SportInfo support for Weekly_Sched_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:19:14 +0000 (14:19 -0400)]
Add SportInfo support for Transactions_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:10:37 +0000 (14:10 -0400)]
Add SportInfo support for NFL_Team_Stats_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:05:46 +0000 (14:05 -0400)]
Add SportInfo support for NFL_Roster_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 15:01:24 +0000 (11:01 -0400)]
Add SportInfo support for NFL_NBA_Draft_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:51:28 +0000 (10:51 -0400)]
Add SportInfo support for NFL_KickingLeaders_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:37:47 +0000 (10:37 -0400)]
Add SportInfo support for NFLTotalYardageXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:33:32 +0000 (10:33 -0400)]
Add SportInfo support for NFLTopPerformanceXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:04:04 +0000 (10:04 -0400)]
Add SportInfo support for NFLTeamRankingsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:01:19 +0000 (10:01 -0400)]
Add SportInfo support for nflstandxml.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 13:57:56 +0000 (09:57 -0400)]
Add SportInfo support for NFLSackLeadersXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 13:50:43 +0000 (09:50 -0400)]
Add SportInfo support for NFLQBStartsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 13:43:53 +0000 (09:43 -0400)]
Add SportInfo support for NFLPassLeadXML.dtd.
Mark DTDs for which no sample XML exists "no xml" instead of "no dtd."
Michael Orlitzky [Mon, 23 Jun 2014 13:38:10 +0000 (09:38 -0400)]
Add SportInfo support for NFLMondayNightXML.dtd.