]>
gitweb.michael.orlitzky.com - dead/htsn-import.git/log
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.
Michael Orlitzky [Wed, 23 Jul 2014 03:20:36 +0000 (23:20 -0400)]
Add/rework picklers tests, and use the new picklers in TSN.XML.EarlyLine.
Michael Orlitzky [Wed, 23 Jul 2014 03:01:07 +0000 (23:01 -0400)]
Add a pickler for the weirdo EarlyLine date format.
Refactor a little bit in TSN.Picklers.
Michael Orlitzky [Wed, 23 Jul 2014 01:23:03 +0000 (21:23 -0400)]
Fix hlint suggestions.
Michael Orlitzky [Wed, 23 Jul 2014 01:22:25 +0000 (21:22 -0400)]
Add more tests for existing picklers.
Michael Orlitzky [Tue, 22 Jul 2014 22:55:38 +0000 (18:55 -0400)]
Add tests for existing picklers.
Michael Orlitzky [Tue, 22 Jul 2014 18:04:03 +0000 (14:04 -0400)]
Document weird date/time issues in the man page.
Michael Orlitzky [Tue, 22 Jul 2014 13:46:15 +0000 (09:46 -0400)]
Begin to add xp_ambiguous_time, still needs doctests.
Michael Orlitzky [Tue, 22 Jul 2014 02:49:50 +0000 (22:49 -0400)]
Begin to add EarlyLine (earlylineXML) support. Still very incomplete.
Michael Orlitzky [Tue, 22 Jul 2014 02:49:26 +0000 (22:49 -0400)]
Whitespace/comment formatting.
Michael Orlitzky [Tue, 22 Jul 2014 01:07:09 +0000 (21:07 -0400)]
Add the earlylineXML DTD and the sample used to generate it.
Michael Orlitzky [Tue, 15 Jul 2014 21:20:16 +0000 (17:20 -0400)]
Add support for the missing [AH]Starter elements in Odds.
Add a test for the missing [AH]Starter elements in Odds.
Remove the man page note about the (now supported) [AH]Starter elements.
Michael Orlitzky [Mon, 14 Jul 2014 13:54:36 +0000 (09:54 -0400)]
Add another Odds_XML oddity to the man page.
Michael Orlitzky [Mon, 7 Jul 2014 15:15:39 +0000 (11:15 -0400)]
Version bump to 0.0.8.
Michael Orlitzky [Mon, 7 Jul 2014 15:12:38 +0000 (11:12 -0400)]
Fix the unique auto racing results constraint name.
Michael Orlitzky [Mon, 7 Jul 2014 14:45:04 +0000 (10:45 -0400)]
Fix Game/SportInfo table names.
Bump to v0.0.7.
Michael Orlitzky [Mon, 7 Jul 2014 14:04:19 +0000 (10:04 -0400)]
Add game/sportinfo test XML files to the cabal file list.
Michael Orlitzky [Mon, 7 Jul 2014 13:53:11 +0000 (09:53 -0400)]
Tiny description change.
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.