]> gitweb.michael.orlitzky.com - dead/htsn-import.git/log
dead/htsn-import.git
10 years agoAdd a DbImport class implementing the import interface.
Michael Orlitzky [Tue, 31 Dec 2013 14:19:23 +0000 (09:19 -0500)]
Add a DbImport class implementing the import interface.
Write import_injuries, import_injuries_detail, and import_news for the new type class.
Move DbImport instances into the module where the type is defined.
Get the News import working (temporarily) via unsafeCoerce.

10 years agoReorganize the import_foo functions so that the database choice comes sooner and...
Michael Orlitzky [Mon, 30 Dec 2013 20:03:37 +0000 (15:03 -0500)]
Reorganize the import_foo functions so that the database choice comes sooner and everything afterwards runs in a Groundhog monad.

10 years agoGet pickling (but not insertion) working for TSN.News.
Michael Orlitzky [Mon, 30 Dec 2013 17:42:03 +0000 (12:42 -0500)]
Get pickling (but not insertion) working for TSN.News.

10 years agoAdd a TSN.News module and get it to compile.
Michael Orlitzky [Mon, 30 Dec 2013 15:09:48 +0000 (10:09 -0500)]
Add a TSN.News module and get it to compile.

10 years agoAdd a weatherxml file from the feed.
Michael Orlitzky [Mon, 30 Dec 2013 14:15:39 +0000 (09:15 -0500)]
Add a weatherxml file from the feed.

10 years agoAdd two more DTDs for tables we'll create in the future.
Michael Orlitzky [Mon, 30 Dec 2013 13:42:10 +0000 (08:42 -0500)]
Add two more DTDs for tables we'll create in the future.

10 years agoAdd DTDs for the three existing XML files.
Michael Orlitzky [Mon, 30 Dec 2013 13:34:21 +0000 (08:34 -0500)]
Add DTDs for the three existing XML files.

10 years agoAdd a tasty test suite and two tests for the existing XML modules.
Michael Orlitzky [Mon, 30 Dec 2013 03:55:50 +0000 (22:55 -0500)]
Add a tasty test suite and two tests for the existing XML modules.

10 years agoAdd a special pickler for the wacky team_ids.
Michael Orlitzky [Mon, 30 Dec 2013 03:55:06 +0000 (22:55 -0500)]
Add a special pickler for the wacky team_ids.

10 years agoProvide a default connection string (for sqlite).
Michael Orlitzky [Sun, 29 Dec 2013 23:55:30 +0000 (18:55 -0500)]
Provide a default connection string (for sqlite).
Implement the backend choice; you can now really choose your database.

10 years agoMake it really import the XML files from the command line.
Michael Orlitzky [Sun, 29 Dec 2013 07:16:52 +0000 (02:16 -0500)]
Make it really import the XML files from the command line.
Jump through a bunch of hoops to get proper status messages (and error reporting) from the arrow composition.

10 years agoAdd a backend configuration option.
Michael Orlitzky [Sun, 29 Dec 2013 01:19:39 +0000 (20:19 -0500)]
Add a backend configuration option.
Add command-line parsing.
Depend on the new library htsn-common.
Remove the TODO since it was empty.

10 years agoAdd a TODO.
Michael Orlitzky [Sat, 28 Dec 2013 17:36:19 +0000 (12:36 -0500)]
Add a TODO.

10 years agoAdd copies of htsn's Logging and Terminal modules (to be replaced later).
Michael Orlitzky [Sat, 28 Dec 2013 17:35:34 +0000 (12:35 -0500)]
Add copies of htsn's Logging and Terminal modules (to be replaced later).

10 years agoBump the cabal file with new deps.
Michael Orlitzky [Sat, 28 Dec 2013 17:35:14 +0000 (12:35 -0500)]
Bump the cabal file with new deps.

10 years agoAdd (Optional)Configuration modules.
Michael Orlitzky [Sat, 28 Dec 2013 17:35:01 +0000 (12:35 -0500)]
Add (Optional)Configuration modules.

10 years agoRename to htsn-import for simplicity.
Michael Orlitzky [Sat, 28 Dec 2013 17:12:02 +0000 (12:12 -0500)]
Rename to htsn-import for simplicity.

10 years agoImplement database insertion (generically!).
Michael Orlitzky [Sat, 28 Dec 2013 03:14:29 +0000 (22:14 -0500)]
Implement database insertion (generically!).

10 years agoUncomment DTDs for test XML.
Michael Orlitzky [Sat, 28 Dec 2013 03:14:05 +0000 (22:14 -0500)]
Uncomment DTDs for test XML.

10 years agoRemove pretty-show and transformers dependencies.
Michael Orlitzky [Sat, 28 Dec 2013 03:13:22 +0000 (22:13 -0500)]
Remove pretty-show and transformers dependencies.

10 years agoComment out the DTD in Injuries_Detail_XML.xml.
Michael Orlitzky [Fri, 27 Dec 2013 14:03:54 +0000 (09:03 -0500)]
Comment out the DTD in Injuries_Detail_XML.xml.
Switch from persistent to groundhog.
Remove Uncurry.hs in favor of Data.Tuple.Curry.
Add TSN.InjuriesDetail parsing.
Add a TSN.Picklers module to (un)pickle various stuffs.

10 years agoCommit persistent stuff.
Michael Orlitzky [Thu, 26 Dec 2013 20:25:03 +0000 (15:25 -0500)]
Commit persistent stuff.

10 years agoAdd two more test XML files.
Michael Orlitzky [Thu, 26 Dec 2013 20:24:34 +0000 (15:24 -0500)]
Add two more test XML files.

10 years agoAdd Uncurry.hs.
Michael Orlitzky [Thu, 26 Dec 2013 20:23:36 +0000 (15:23 -0500)]
Add Uncurry.hs.

10 years agoInitial commit, proof-of-concept with Persistent and HXT.
Michael Orlitzky [Wed, 25 Dec 2013 23:10:19 +0000 (18:10 -0500)]
Initial commit, proof-of-concept with Persistent and HXT.