eregs / regulations-parser

Parser for U.S. federal regulations and other regulatory information
Creative Commons Zero v1.0 Universal
37 stars 39 forks source link

Store "index" in the database rather than on the file system #297

Closed cmc333333 closed 8 years ago

cmc333333 commented 8 years ago

Builds on #296(diff)

Previously, we had been storing partially-processed parsing entries in a file-system based "index". This set of patches replaces that logic with an analogous, database-based version. It continues to use os path separators and continues to be prefixed with an irrelevant directory path, but I've reached a good stopping point. Everything should be working without any regressions. Stepping through individual changesets is probably the best approach to reviewing.

tadhg-ohiggins commented 8 years ago

Nice work! I had comments on restructuring some comprehensions, but they're pretty minor. Merging.