]>
gitweb.michael.orlitzky.com - dead/htsn-import.git/log
Michael Orlitzky [Fri, 2 Jan 2015 21:21:38 +0000 (16:21 -0500)]
Migrate TSN.XML.Injuries to fixed-vector-hetero.
Michael Orlitzky [Fri, 2 Jan 2015 21:19:20 +0000 (16:19 -0500)]
Migrate TSN.XML.AutoRacingSchedule to fixed-vector-hetero.
Michael Orlitzky [Fri, 2 Jan 2015 21:18:44 +0000 (16:18 -0500)]
Migrate TSN.XML.AutoRacingResults to fixed-vector-hetero.
Michael Orlitzky [Fri, 2 Jan 2015 21:18:18 +0000 (16:18 -0500)]
Migrate TSN.XML.AutoRacingDriverList to fixed-vector-hetero.
Michael Orlitzky [Fri, 2 Jan 2015 21:17:50 +0000 (16:17 -0500)]
Remove the Generics module from .ghci; it's going away.
Michael Orlitzky [Fri, 2 Jan 2015 18:39:27 +0000 (13:39 -0500)]
Use Generics.prepend in TSN.XML.AutoRacingSchedule.
Michael Orlitzky [Fri, 2 Jan 2015 18:29:29 +0000 (13:29 -0500)]
Fix unused field warnings in TSN.XML.AutoRacingResults.
Michael Orlitzky [Fri, 2 Jan 2015 18:26:09 +0000 (13:26 -0500)]
Fix unused field warnings in TSN.XML.AutoRacingDriverList.
Michael Orlitzky [Fri, 2 Jan 2015 18:25:14 +0000 (13:25 -0500)]
Strip leading underscores in our Groundhog codegen.
Michael Orlitzky [Fri, 2 Jan 2015 17:59:59 +0000 (12:59 -0500)]
Use Generics.prepend in TSN.XML.AutoRacingResults.
Michael Orlitzky [Fri, 2 Jan 2015 17:55:57 +0000 (12:55 -0500)]
Use Generics.prepend in TSN.XML.AutoRacingDriverList.
Michael Orlitzky [Fri, 2 Jan 2015 17:50:27 +0000 (12:50 -0500)]
Add the generic 'prepend' function to the Generics module.
Michael Orlitzky [Fri, 2 Jan 2015 00:57:03 +0000 (19:57 -0500)]
TSN.XML.MLBBoxScore: Add database code for the miscellaneous pitching stats.
Michael Orlitzky [Thu, 1 Jan 2015 22:27:27 +0000 (17:27 -0500)]
Add database code for some existing TSN.XML.MLBBoxScore types.
Michael Orlitzky [Thu, 1 Jan 2015 00:24:02 +0000 (19:24 -0500)]
Add more DB code to TSN.XML.MLBBoxScore.
Michael Orlitzky [Wed, 31 Dec 2014 20:51:14 +0000 (15:51 -0500)]
Add SportInfo support for Cbask_Team_Shooting_Pct_XML.dtd.
Michael Orlitzky [Wed, 31 Dec 2014 20:46:54 +0000 (15:46 -0500)]
Add SportInfo support for Cbask_Team_Scoring_XML.dtd.
Michael Orlitzky [Wed, 31 Dec 2014 19:20:01 +0000 (14:20 -0500)]
Add SportInfo support for Cbask_Team_Scoring_Rebound_Margin_XML.dtd.
Michael Orlitzky [Wed, 31 Dec 2014 19:02:48 +0000 (14:02 -0500)]
Add SportInfo support for Cbask_Indv_Shooting_XML.dtd.
Michael Orlitzky [Wed, 31 Dec 2014 18:55:44 +0000 (13:55 -0500)]
Add another TODO (broken doctests in Generics.hs).
Michael Orlitzky [Wed, 31 Dec 2014 18:55:41 +0000 (13:55 -0500)]
Add SportInfo support for Cbask_Indv_No_Avg_XML.dtd.
Michael Orlitzky [Tue, 30 Dec 2014 20:40:30 +0000 (15:40 -0500)]
Use Generics.to_tuple in TSN.XML.MLBBoxScore.
This is similar to the last few commits, except some instances had to
be added and a compiler flag passed to GHC to get everything to
compile.
Michael Orlitzky [Tue, 30 Dec 2014 20:13:00 +0000 (15:13 -0500)]
Use Generics.to_tuple in TSN.XML.Weather.
Michael Orlitzky [Tue, 30 Dec 2014 19:25:48 +0000 (14:25 -0500)]
Whitespace.
Michael Orlitzky [Tue, 30 Dec 2014 19:18:44 +0000 (14:18 -0500)]
Use Generics.to_tuple in TSN.XML.Scores.
Michael Orlitzky [Tue, 30 Dec 2014 19:14:51 +0000 (14:14 -0500)]
Use Generics.to_tuple in TSN.XML.ScheduleChanges.
Michael Orlitzky [Tue, 30 Dec 2014 19:03:40 +0000 (14:03 -0500)]
Use Generics.to_tuple in TSN.XML.Odds.
Michael Orlitzky [Tue, 30 Dec 2014 19:03:26 +0000 (14:03 -0500)]
Use Generics.to_tuple in TSN.XML.News.
Michael Orlitzky [Tue, 30 Dec 2014 18:38:48 +0000 (13:38 -0500)]
Use Generics.to_tuple in TSN.XML.JFile.
Michael Orlitzky [Tue, 30 Dec 2014 18:38:33 +0000 (13:38 -0500)]
Add Generic instance for TSN.Team.
Michael Orlitzky [Mon, 29 Dec 2014 21:35:41 +0000 (16:35 -0500)]
Use Generics.to_tuple in TSN.XML.InjuriesDetail.
Michael Orlitzky [Mon, 29 Dec 2014 21:35:24 +0000 (16:35 -0500)]
Use Generics.to_tuple in TSN.XML.Injuries.
Michael Orlitzky [Mon, 29 Dec 2014 21:34:59 +0000 (16:34 -0500)]
Use Generics.to_tuple in TSN.XML.Heartbeat.
Michael Orlitzky [Mon, 29 Dec 2014 21:34:41 +0000 (16:34 -0500)]
Use Generics.to_tuple in TSN.XML.EarlyLine.
Michael Orlitzky [Mon, 29 Dec 2014 21:33:57 +0000 (16:33 -0500)]
Use Generics.to_tuple in TSN.XML.AutoRacingSchedule.
Michael Orlitzky [Mon, 29 Dec 2014 21:33:32 +0000 (16:33 -0500)]
Use Generics.to_tuple in TSN.XML.AutoRacingResults.
Michael Orlitzky [Mon, 29 Dec 2014 21:32:59 +0000 (16:32 -0500)]
Use Generics.to_tuple in TSN.XML.AutoRacingDriverList.
Michael Orlitzky [Mon, 29 Dec 2014 20:05:49 +0000 (15:05 -0500)]
Add a Generics module with a generic to_tuple function.
Michael Orlitzky [Mon, 29 Dec 2014 20:05:49 +0000 (15:05 -0500)]
Add a Generics module with a generic to_tuple function.
Michael Orlitzky [Fri, 26 Dec 2014 19:11:20 +0000 (14:11 -0500)]
Implement a few more (un)picklers.
Michael Orlitzky [Wed, 19 Nov 2014 15:12:06 +0000 (10:12 -0500)]
Add sample XML and DTDs for MLB_Boxscore_XML.dtd.
Michael Orlitzky [Fri, 7 Nov 2014 14:52:18 +0000 (09:52 -0500)]
Add stub for TSN.XML.MLBBoxScore.
Michael Orlitzky [Fri, 7 Nov 2014 14:51:02 +0000 (09:51 -0500)]
Add generated schema for MLB_Boxscore_XML.dtd.
Michael Orlitzky [Fri, 7 Nov 2014 01:29:15 +0000 (20:29 -0500)]
Complete TSN.XML.AutoRacingDriverList.
Remove AutoRacingDriverList.dtd from the TODO.
Add a dbschema diagram for AutoRacingDriverList.dtd.
Update the cabal/.ghci files with the new module name.
Add tests for the new module.
Michael Orlitzky [Thu, 6 Nov 2014 20:47:41 +0000 (15:47 -0500)]
Create a stub for TSN.XML.AutoRacingDriverList.
Michael Orlitzky [Thu, 6 Nov 2014 19:44:28 +0000 (14:44 -0500)]
Add all recent SportInfo additions to the man page.
Michael Orlitzky [Thu, 6 Nov 2014 19:40:23 +0000 (14:40 -0500)]
Add SportInfo support for NFL_PuntingLeaders_XML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 19:36:04 +0000 (14:36 -0500)]
Add SportInfo support for NFLYardsXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 19:28:58 +0000 (14:28 -0500)]
Add SportInfo support for NFLTopPuntReturnXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 19:24:24 +0000 (14:24 -0500)]
Add SportInfo support for NFLTopKickoffReturnXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 19:19:33 +0000 (14:19 -0500)]
Add SportInfo support for NFLTackleFFLeadersXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 19:03:23 +0000 (14:03 -0500)]
Add SportInfo support for NFLRushingLeadersXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 13:55:56 +0000 (08:55 -0500)]
Add SportInfo support for NFLReceivingLeadersXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 13:49:12 +0000 (08:49 -0500)]
Add SportInfo support for NFLPassingLeadersXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 13:30:22 +0000 (08:30 -0500)]
Add SportInfo support for NFLInterceptionLeadersXML.dtd.
Michael Orlitzky [Thu, 6 Nov 2014 13:23:07 +0000 (08:23 -0500)]
Add SportInfo support for NFLGrassTurfDomeOutsideXML.dtd.
Michael Orlitzky [Wed, 29 Oct 2014 01:29:22 +0000 (21:29 -0400)]
Make the team rotation number optional in TSN.XML.EarlyLine.
Update the earlylineXML dbschema diagram.
Michael Orlitzky [Wed, 29 Oct 2014 01:23:41 +0000 (21:23 -0400)]
Allow empty game <time> elements (with a test case) in TSN.XML.EarlyLine.
Michael Orlitzky [Sat, 25 Oct 2014 16:31:39 +0000 (12:31 -0400)]
Bump to version 0.2.0.
Remove the NewsTeams and replace them with the common TSN.Teams.
Parse the team id attribute in newsxml.
Add a database CHANGES file with (manual) migration information.
Update the newsxml dbschema diagram.
Michael Orlitzky [Sat, 25 Oct 2014 16:16:09 +0000 (12:16 -0400)]
Add a new newsxml sample with the new required team "id" attribute.
Update our two copies of newsxml.dtd with the new team "id" attribute.
Update all existing XML test cases with faked team ids.
Michael Orlitzky [Sat, 25 Oct 2014 16:05:48 +0000 (12:05 -0400)]
Update a comment in import-duplicates.test.
Michael Orlitzky [Sat, 18 Oct 2014 13:48:41 +0000 (09:48 -0400)]
Bump version to 0.1.3 in the cabal file.
Michael Orlitzky [Fri, 17 Oct 2014 17:17:47 +0000 (13:17 -0400)]
Update the scoresxml schema diagram.
Michael Orlitzky [Fri, 17 Oct 2014 17:12:44 +0000 (13:12 -0400)]
Make the Scores status numeral optional.
Enable parsing of present-but-empty Scores status type.
Michael Orlitzky [Fri, 17 Oct 2014 17:12:16 +0000 (13:12 -0400)]
Add two more samples of weird scoresxml.
Michael Orlitzky [Fri, 17 Oct 2014 16:51:24 +0000 (12:51 -0400)]
Handle (ignore) empty casinos in TSN.XML.Odds.
Michael Orlitzky [Fri, 17 Oct 2014 16:50:13 +0000 (12:50 -0400)]
Fix an hlint suggestion.
Michael Orlitzky [Fri, 17 Oct 2014 15:37:04 +0000 (11:37 -0400)]
Add sample of Odds_XML with an empty casino.
Michael Orlitzky [Mon, 6 Oct 2014 14:04:02 +0000 (10:04 -0400)]
Make the JFile <Game_Time> elements optional (they can contain "TBA").
Add a test case for a JFile with "TBA" game time.
Update the jfilexml dbschema diagram.
Michael Orlitzky [Mon, 6 Oct 2014 13:36:23 +0000 (09:36 -0400)]
Update dbschema diagrams for Odds and News.
Michael Orlitzky [Fri, 3 Oct 2014 16:06:58 +0000 (12:06 -0400)]
Bump cabal version to 0.1.2.
Michael Orlitzky [Fri, 3 Oct 2014 16:06:07 +0000 (12:06 -0400)]
Make the News SMS field optional.
Add a News test case with an empty SMS element.
Michael Orlitzky [Fri, 3 Oct 2014 15:38:29 +0000 (11:38 -0400)]
Make the Odds game_time optional for when the <Game_Time> element is "TBA".
Add an Odds test case with a "TBA" <Game_Time>.
Michael Orlitzky [Wed, 24 Sep 2014 14:49:41 +0000 (10:49 -0400)]
Bump version to 0.1.1.
Michael Orlitzky [Wed, 24 Sep 2014 02:26:49 +0000 (22:26 -0400)]
Bump to v0.1.0 in the cabal file.
Michael Orlitzky [Wed, 24 Sep 2014 02:25:36 +0000 (22:25 -0400)]
Make <weather> and <Description> elements optional in TSN.XML.Weather.
Add a test case for the newly-optional elements and update a shelltest.
Update the weatherxml dbschema diagram.
Michael Orlitzky [Wed, 24 Sep 2014 01:57:51 +0000 (21:57 -0400)]
Make the MostLapsLeading embedded fields of AutoRacingResults optional.
Add a test case for the newly-optional fields and fix a shelltest.
Update the AutoRacingResultsXML dbschema diagram.
Michael Orlitzky [Wed, 24 Sep 2014 01:56:33 +0000 (21:56 -0400)]
Add a new AutoRacingResultsXML sample and test case.
Replace the AutoRacingResultsXML DTDs with a newly-generated one.
Michael Orlitzky [Wed, 24 Sep 2014 00:00:45 +0000 (20:00 -0400)]
Move around some whitespace to make doctest happy.
Michael Orlitzky [Wed, 24 Sep 2014 00:00:19 +0000 (20:00 -0400)]
Fix the time_stamp_format and the timestamp pickler for time-1.4.2.
Michael Orlitzky [Wed, 30 Jul 2014 08:29:25 +0000 (04:29 -0400)]
Update the game_info dbschema diagram.
Michael Orlitzky [Wed, 30 Jul 2014 08:26:15 +0000 (04:26 -0400)]
Make the game_info schedule_id optional and add a test case for it.
Michael Orlitzky [Wed, 30 Jul 2014 07:27:43 +0000 (03:27 -0400)]
Add game_id/schedule_id parsers to TSN.Parse.
Define a new ParseError type to be returned from the TSN.Parse parsers.
Add tests for the TSN.Parse module.
Update SportInfo with the new ParseError type signature.
Add an optional game_id and required schedule_id field to GameInfo.
Michael Orlitzky [Wed, 30 Jul 2014 07:22:56 +0000 (03:22 -0400)]
Fix hlint suggestions.
Michael Orlitzky [Wed, 30 Jul 2014 07:01:22 +0000 (03:01 -0400)]
Move the FromXmlFkTeams class out of Xml and into TSN.Team.
Michael Orlitzky [Wed, 30 Jul 2014 06:33:13 +0000 (02:33 -0400)]
Update the Matchup_NBA_NHL_XML sample/DTD using real XML from the feed.
Michael Orlitzky [Fri, 25 Jul 2014 20:59:59 +0000 (16:59 -0400)]
Use UTC instead of EST to store the timestamps; they're both wrong anyway.
Michael Orlitzky [Fri, 25 Jul 2014 19:48:15 +0000 (15:48 -0400)]
Fix a haddock comment and doc building in the makefile.
Michael Orlitzky [Fri, 25 Jul 2014 19:30:24 +0000 (15:30 -0400)]
Update the earlylineXML dbschema diagram.
Michael Orlitzky [Fri, 25 Jul 2014 19:16:59 +0000 (15:16 -0400)]
Update the TODO.
Michael Orlitzky [Fri, 25 Jul 2014 19:15:12 +0000 (15:15 -0400)]
Add a new pickler for Double values that have no leading integer.
Use the new pickler to fix an unhandled AutoRacingResultsXML document.
Add a test case for the aforementioned fix.
Michael Orlitzky [Fri, 25 Jul 2014 07:24:11 +0000 (03:24 -0400)]
Add a makefile rule to generate doc/dbschema/MLB_earlylineXML.png.
Michael Orlitzky [Fri, 25 Jul 2014 03:23:03 +0000 (23:23 -0400)]
Add a new module, TSN.XML.MLBEarlyLines supporting MLB_earlylinesXML.dtd.
Add TSN.XML.MLBEarlyLines to the .ghci and cabal files.
Mention all TSN.XML.MLBEarlyLines-related weirdness in the man page.
Add test cases for TSN.XML.MLBEarlyLines to the test suite.
Enable import of MLB_earlyinesXML.dtd documents in Main.
Bump the file counts in import-duplicates.test.
Michael Orlitzky [Fri, 25 Jul 2014 03:10:41 +0000 (23:10 -0400)]
Modify TSN.XML.EarlyLine so it can support MLB_earlylineXML.dtd as well.
Michael Orlitzky [Wed, 23 Jul 2014 19:36:40 +0000 (15:36 -0400)]
Add MLB_earlylineXML.dtd and the sample XML used to generate it.
Michael Orlitzky [Wed, 23 Jul 2014 19:26:13 +0000 (15:26 -0400)]
Rename some unique constraints for consistency.
Michael Orlitzky [Wed, 23 Jul 2014 19:17:09 +0000 (15:17 -0400)]
Add the dbschema diagram for earlylineXML.dtd.
Michael Orlitzky [Wed, 23 Jul 2014 19:12:06 +0000 (15:12 -0400)]
Add more comments to TSN.XML.EarlyLine.
Remove earlylineXML.dtd from the TODO.
Add earlylineXML.dtd to the man page as a supported type.
Bump version in the cabal file.
Michael Orlitzky [Wed, 23 Jul 2014 15:44:26 +0000 (11:44 -0400)]
Minor comment fix.
Michael Orlitzky [Wed, 23 Jul 2014 15:44:12 +0000 (11:44 -0400)]
Add tests and database code for EarlyLine.