Thu Nov 22 16:12:04 GMT 2012 Edsko de Vries
* Refactor: reify state components
Ignore-this: 4835f105d2a522c05d3158cb73aa0c02
This should make it harder to forget to provide backup methods (and easier to
check that they are provided, and which are provided). It also simplifies the
HackageFeature data type.
Next step is to see if we can change the definition of StateComponent so that
we can express better what the backup should do.
M ./Distribution/Server.hs -23 +28
M ./Distribution/Server/Features.hs +6
M ./Distribution/Server/Features/BuildReports.hs -15 +18
M ./Distribution/Server/Features/Check.hs -10 +17
M ./Distribution/Server/Features/Core.hs -27 +33
M ./Distribution/Server/Features/Distro.hs -29 +32
M ./Distribution/Server/Features/Documentation.hs -45 +48
M ./Distribution/Server/Features/DownloadCount.hs -23 +20
M ./Distribution/Server/Features/HaskellPlatform.hs -12 +21
M ./Distribution/Server/Features/Html.hs +1
M ./Distribution/Server/Features/LegacyRedirects.hs -2 +8
M ./Distribution/Server/Features/Mirror.hs -21 +16
M ./Distribution/Server/Features/NameSearch.hs -2 +8
M ./Distribution/Server/Features/PackageContents.hs -10 +26
M ./Distribution/Server/Features/PackageList.hs +1
M ./Distribution/Server/Features/Packages.hs -2 +9
M ./Distribution/Server/Features/PreferredVersions.hs -28 +34
M ./Distribution/Server/Features/ServerApiDoc.hs -7 +19
M ./Distribution/Server/Features/Tags.hs -22 +20
M ./Distribution/Server/Features/Upload.hs -48 +56
M ./Distribution/Server/Features/Users.hs -57 +59
M ./Distribution/Server/Framework/Feature.hs -33 +46
M ./hackage-server.cabal -1 +2