ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
753 stars 137 forks source link

Use renameFile for generating all .hoo database with hoogle data #50

Closed ndmitchell closed 9 years ago

ndmitchell commented 10 years ago

That way you can hoogle data while someone is actively hitting the server and accessing files, maybe? Will existing clients continue to hit the old file?

ndmitchell commented 9 years ago

Bad idea, better to start a new server, but with zero downtime - that way upgrading the code also works. I now do that (or very close to it) in https://github.com/ndmitchell/hogle

ndmitchell commented 9 years ago

See https://github.com/ndmitchell/hogle/blob/master/script/Upgrade.hs for the exact details.