]> gitweb.michael.orlitzky.com - dead/htsn-import.git/log
dead/htsn-import.git
10 years agoAdd game/sportinfo test XML files to the cabal file list. 0.0.6
Michael Orlitzky [Mon, 7 Jul 2014 14:04:19 +0000 (10:04 -0400)]
Add game/sportinfo test XML files to the cabal file list.

10 years agoTiny description change.
Michael Orlitzky [Mon, 7 Jul 2014 13:53:11 +0000 (09:53 -0400)]
Tiny description change.

10 years agoAdd an overview to the development README.
Michael Orlitzky [Mon, 7 Jul 2014 13:47:02 +0000 (09:47 -0400)]
Add an overview to the development README.

10 years agoBump the version to 0.0.6 in the cabal file.
Michael Orlitzky [Mon, 7 Jul 2014 04:43:55 +0000 (00:43 -0400)]
Bump the version to 0.0.6 in the cabal file.

10 years agoRemove completed TODO items.
Michael Orlitzky [Mon, 7 Jul 2014 04:43:34 +0000 (00:43 -0400)]
Remove completed TODO items.

10 years agoAdd a has_only_single_sms function to TSN.XML.News.
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.

10 years agoUse unsafe_read_document in TSN.XML.Weather tests.
Michael Orlitzky [Mon, 7 Jul 2014 04:39:38 +0000 (00:39 -0400)]
Use unsafe_read_document in TSN.XML.Weather tests.

10 years agoMake the AutoRacingSchedule status optional.
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.

10 years agoUpdate the scoresxml and weatherxml dbschema diagrams.
Michael Orlitzky [Sun, 6 Jul 2014 20:25:08 +0000 (16:25 -0400)]
Update the scoresxml and weatherxml dbschema diagrams.

10 years agoFix hlint warnings.
Michael Orlitzky [Sun, 6 Jul 2014 20:15:40 +0000 (16:15 -0400)]
Fix hlint warnings.

10 years agoActuall import the detailed weather items.
Michael Orlitzky [Sun, 6 Jul 2014 20:02:04 +0000 (16:02 -0400)]
Actuall import the detailed weather items.

10 years agoUse the TSN.Team and TSN.Location representations in TSN.XML.Scores.
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.

10 years agoAdd a note about the sample backwards teams XML to the man page.
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.

10 years agoAdd a teams_are_normal function to TSN.XML.Weather.
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.

10 years agoAdd a new scoresxml sample and update the generated schema.
Michael Orlitzky [Sun, 6 Jul 2014 11:36:44 +0000 (07:36 -0400)]
Add a new scoresxml sample and update the generated schema.

10 years agoUse HTeam/VTeam wrappers in TSN.XML.ScheduleChanges.
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.

10 years agoUse HTeam/VTeam wrappers in TSN.XML.JFile.
Michael Orlitzky [Sun, 6 Jul 2014 03:20:05 +0000 (23:20 -0400)]
Use HTeam/VTeam wrappers in TSN.XML.JFile.

10 years agoAdd HTeam/VTeam newtype wrappers to TSN.Team.
Michael Orlitzky [Sun, 6 Jul 2014 03:19:36 +0000 (23:19 -0400)]
Add HTeam/VTeam newtype wrappers to TSN.Team.

10 years agoUse the common TSN.Location representation in TSN.XML.Scores.
Michael Orlitzky [Sun, 6 Jul 2014 02:41:22 +0000 (22:41 -0400)]
Use the common TSN.Location representation in TSN.XML.Scores.

10 years agoMove pickle_location into the TSN.Location module and update TSN.XML.News.
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.

10 years agoUpdate two comments.
Michael Orlitzky [Sun, 6 Jul 2014 01:19:36 +0000 (21:19 -0400)]
Update two comments.

10 years agoRemove redundant away team XML representation in ScheduleChanges.
Michael Orlitzky [Sun, 6 Jul 2014 01:16:01 +0000 (21:16 -0400)]
Remove redundant away team XML representation in ScheduleChanges.

10 years agoRemove redundant XML away team representation in TSN.XML.Odds.
Michael Orlitzky [Sun, 6 Jul 2014 01:09:37 +0000 (21:09 -0400)]
Remove redundant XML away team representation in TSN.XML.Odds.

10 years agoRemove two unnecessary XML representations of teams/locations.
Michael Orlitzky [Sun, 6 Jul 2014 01:02:34 +0000 (21:02 -0400)]
Remove two unnecessary XML representations of teams/locations.

10 years agoRemove redundant XML representations of Game/SportInfo.
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.

10 years agoUse TSN.Location for the News locations.
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.

10 years agoNew module: TSN.Location.
Michael Orlitzky [Sat, 5 Jul 2014 23:27:20 +0000 (19:27 -0400)]
New module: TSN.Location.

10 years agoFix the TSN.Team unique constraint name.
Michael Orlitzky [Sat, 5 Jul 2014 23:26:52 +0000 (19:26 -0400)]
Fix the TSN.Team unique constraint name.

10 years agoAdd a function to TSN.XML.Weather to detect the unsupported second type.
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.

10 years agoAdd a sample contained Detailed_Weather to the weatherxml schemagen.
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.

10 years agoAdd support for the new Detailed_Weather elements.
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.

10 years agoReport the path along with the error message when an import fails.
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.

10 years agoMove the weird weatherxml example out of schemagen/ and under doc/.
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.

10 years agoMake the Odds team rotation numbers optional.
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.

10 years agoAdd a note to the man page about the double-SMS in a news sample.
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.

10 years agoCrop the AutoRacingResults dbschema diagram.
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.

10 years agoChange the AutoRacingResults track length to a String (yeah).
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.

10 years agoUpdate the TODO with some more tasks revealed by testing.
Michael Orlitzky [Fri, 4 Jul 2014 16:24:03 +0000 (12:24 -0400)]
Update the TODO with some more tasks revealed by testing.

10 years agoMove the deployment section from README.development to the man page.
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.

10 years agoCreate a direct relationship between the Odds games and teams.
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.

10 years agoComment fix.
Michael Orlitzky [Fri, 4 Jul 2014 07:01:00 +0000 (03:01 -0400)]
Comment fix.

10 years agoUpdate JFile to have a direct relationship between the games/teams.
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.

10 years agoAdd the XmlImportFkTeams class.
Michael Orlitzky [Fri, 4 Jul 2014 06:40:15 +0000 (02:40 -0400)]
Add the XmlImportFkTeams class.

10 years agoUpdate TSN.XML modules to use the new Child class.
Michael Orlitzky [Fri, 4 Jul 2014 06:39:40 +0000 (02:39 -0400)]
Update TSN.XML modules to use the new Child class.

10 years agoSplit the (Parent a) associated type into a 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.

10 years agoFinish the documentation for ScheduleChanges.
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.

10 years agoAdd the FromXmlFkTeams class.
Michael Orlitzky [Fri, 4 Jul 2014 05:25:12 +0000 (01:25 -0400)]
Add the FromXmlFkTeams class.

10 years agoUpdate TODO again.
Michael Orlitzky [Fri, 4 Jul 2014 04:29:55 +0000 (00:29 -0400)]
Update TODO again.

10 years agoAdd the initial implementation of TSN.XML.ScheduleChanges.
Michael Orlitzky [Fri, 4 Jul 2014 04:28:00 +0000 (00:28 -0400)]
Add the initial implementation of TSN.XML.ScheduleChanges.

10 years agoFix two capitalizations in comments.
Michael Orlitzky [Fri, 4 Jul 2014 04:24:56 +0000 (00:24 -0400)]
Fix two capitalizations in comments.

10 years agoFix misleading comments and reorder two operations in JFile/Odds.
Michael Orlitzky [Fri, 4 Jul 2014 04:23:53 +0000 (00:23 -0400)]
Fix misleading comments and reorder two operations in JFile/Odds.

10 years agoAdd test XML for Schedule_Changes_XML.dtd.
Michael Orlitzky [Fri, 4 Jul 2014 04:23:10 +0000 (00:23 -0400)]
Add test XML for Schedule_Changes_XML.dtd.

10 years agoAdd a few TODOs.
Michael Orlitzky [Fri, 4 Jul 2014 04:22:49 +0000 (00:22 -0400)]
Add a few TODOs.

10 years agoAdd sample Schedule_Changes_XML and the generated DTD.
Michael Orlitzky [Thu, 3 Jul 2014 20:17:12 +0000 (16:17 -0400)]
Add sample Schedule_Changes_XML and the generated DTD.

10 years agoRemove a completed TODO item.
Michael Orlitzky [Thu, 3 Jul 2014 18:31:02 +0000 (14:31 -0400)]
Remove a completed TODO item.

10 years agoMove two READMEs into the man page.
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.

10 years agoUpdate the Odds schema diagram.
Michael Orlitzky [Wed, 2 Jul 2014 15:03:51 +0000 (11:03 -0400)]
Update the Odds schema diagram.

10 years agoAdd League_Name, AStarter, and HStarter support to Odds.
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.

10 years agoAdd a new Odds_XML schema sample and update the DTD.
Michael Orlitzky [Sat, 28 Jun 2014 02:07:06 +0000 (22:07 -0400)]
Add a new Odds_XML schema sample and update the DTD.

10 years agoMake team names and abbreviations optional.
Michael Orlitzky [Sat, 28 Jun 2014 01:45:58 +0000 (21:45 -0400)]
Make team names and abbreviations optional.

10 years agoAdd a new JFile test case and update the shelltest script.
Michael Orlitzky [Sat, 28 Jun 2014 01:31:07 +0000 (21:31 -0400)]
Add a new JFile test case and update the shelltest script.

10 years agoUpdate the list of schemagen files in htsn-import.cabal.
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.

10 years agoAdd jfilexml to the list of supported document types.
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.

10 years agoWrite the database code for TSN.XML.JFile.
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.

10 years agoRename xp_racedate to xp_datetime.
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.

10 years agoUse the TSN.Team type in TSN.XML.JFile.
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.

10 years agoAdd a TODO comment to TSN.XML.AutoRacingResults.
Michael Orlitzky [Tue, 24 Jun 2014 21:05:49 +0000 (17:05 -0400)]
Add a TODO comment to TSN.XML.AutoRacingResults.

10 years agoUpdate TSN.XML.Odds to use the new TSN.Team type.
Michael Orlitzky [Tue, 24 Jun 2014 21:05:30 +0000 (17:05 -0400)]
Update TSN.XML.Odds to use the new TSN.Team type.

10 years agoAdd the TSN.Team module housing a common database representation of teams.
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.

10 years agoBegin work on the TSN.XML.JFile module.
Michael Orlitzky [Tue, 24 Jun 2014 17:11:26 +0000 (13:11 -0400)]
Begin work on the TSN.XML.JFile module.

10 years agoExport the Game types from TSN.XML.Odds.
Michael Orlitzky [Tue, 24 Jun 2014 17:11:06 +0000 (13:11 -0400)]
Export the Game types from TSN.XML.Odds.

10 years agoInsignificant comment fix.
Michael Orlitzky [Tue, 24 Jun 2014 17:10:46 +0000 (13:10 -0400)]
Insignificant comment fix.

10 years agoAdd the jfilexml DTD and the XML used to infer it.
Michael Orlitzky [Tue, 24 Jun 2014 13:09:13 +0000 (09:09 -0400)]
Add the jfilexml DTD and the XML used to infer it.

10 years agoUpdate the TODO with a list of unhandled DTDs.
Michael Orlitzky [Mon, 23 Jun 2014 20:10:47 +0000 (16:10 -0400)]
Update the TODO with a list of unhandled DTDs.

10 years agoAdd SportInfo support for MLB_Fielding_XML.dtd (overlooked somehow).
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.

10 years agoAdd SportInfo support for WNBATurnoversXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:38:39 +0000 (15:38 -0400)]
Add SportInfo support for WNBATurnoversXML.dtd.

10 years agoAdd SportInfo support for WNBAStealsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:34:49 +0000 (15:34 -0400)]
Add SportInfo support for WNBAStealsXML.dtd.

10 years agoAdd SportInfo support for wnbastandxml.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:31:56 +0000 (15:31 -0400)]
Add SportInfo support for wnbastandxml.dtd.

10 years agoAdd SportInfo support for WNBAScorersXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:28:00 +0000 (15:28 -0400)]
Add SportInfo support for WNBAScorersXML.dtd.

10 years agoAdd SportInfo support for WNBAReboundsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:23:33 +0000 (15:23 -0400)]
Add SportInfo support for WNBAReboundsXML.dtd.

10 years agoAdd SportInfo support for WNBAMinutesXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:14:28 +0000 (15:14 -0400)]
Add SportInfo support for WNBAMinutesXML.dtd.

10 years agoAdd SportInfo support for WNBAFTPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:11:03 +0000 (15:11 -0400)]
Add SportInfo support for WNBAFTPctXML.dtd.

10 years agoAdd SportInfo support for WNBAFoulsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:05:49 +0000 (15:05 -0400)]
Add SportInfo support for WNBAFoulsXML.dtd.

10 years agoAdd SportInfo support for WNBAFGPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 19:02:28 +0000 (15:02 -0400)]
Add SportInfo support for WNBAFGPctXML.dtd.

10 years agoAdd SportInfo support for WNBABlocksXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:50:47 +0000 (14:50 -0400)]
Add SportInfo support for WNBABlocksXML.dtd.

10 years agoAdd SportInfo support for WNBAAssistsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:38:17 +0000 (14:38 -0400)]
Add SportInfo support for WNBAAssistsXML.dtd.

10 years agoAdd SportInfo support for WNBA3PPctXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:33:02 +0000 (14:33 -0400)]
Add SportInfo support for WNBA3PPctXML.dtd.

10 years agoAdd SportInfo support for WNBA_Team_Leaders_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:29:56 +0000 (14:29 -0400)]
Add SportInfo support for WNBA_Team_Leaders_XML.dtd.

10 years agoAdd SportInfo support for Weekly_Sched_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:23:09 +0000 (14:23 -0400)]
Add SportInfo support for Weekly_Sched_XML.dtd.

10 years agoAdd SportInfo support for Transactions_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:19:14 +0000 (14:19 -0400)]
Add SportInfo support for Transactions_XML.dtd.

10 years agoAdd SportInfo support for NFL_Team_Stats_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:10:37 +0000 (14:10 -0400)]
Add SportInfo support for NFL_Team_Stats_XML.dtd.

10 years agoAdd SportInfo support for NFL_Roster_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 18:05:46 +0000 (14:05 -0400)]
Add SportInfo support for NFL_Roster_XML.dtd.

10 years agoAdd SportInfo support for NFL_NBA_Draft_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 15:01:24 +0000 (11:01 -0400)]
Add SportInfo support for NFL_NBA_Draft_XML.dtd.

10 years agoAdd SportInfo support for NFL_KickingLeaders_XML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:51:28 +0000 (10:51 -0400)]
Add SportInfo support for NFL_KickingLeaders_XML.dtd.

10 years agoAdd SportInfo support for NFLTotalYardageXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:37:47 +0000 (10:37 -0400)]
Add SportInfo support for NFLTotalYardageXML.dtd.

10 years agoAdd SportInfo support for NFLTopPerformanceXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:33:32 +0000 (10:33 -0400)]
Add SportInfo support for NFLTopPerformanceXML.dtd.

10 years agoAdd SportInfo support for NFLTeamRankingsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:04:04 +0000 (10:04 -0400)]
Add SportInfo support for NFLTeamRankingsXML.dtd.

10 years agoAdd SportInfo support for nflstandxml.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 14:01:19 +0000 (10:01 -0400)]
Add SportInfo support for nflstandxml.dtd.

10 years agoAdd SportInfo support for NFLSackLeadersXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 13:57:56 +0000 (09:57 -0400)]
Add SportInfo support for NFLSackLeadersXML.dtd.

10 years agoAdd SportInfo support for NFLQBStartsXML.dtd.
Michael Orlitzky [Mon, 23 Jun 2014 13:50:43 +0000 (09:50 -0400)]
Add SportInfo support for NFLQBStartsXML.dtd.