patch applied (hackage-server): "Add a CacheableAction type, and use it for the index page" and 5 others
devnull at community.haskell.org
devnull at community.haskell.org
Sat Aug 4 23:46:34 CEST 2012
Fri Aug 3 23:42:13 BST 2012 Ian Lynagh <ian at well-typed.com>
* Add a CacheableAction type, and use it for the index page
Ignore-this: 84ef37b4f33f0d875a9380873e9dd07b
M ./Distribution/Server/Features/Html.hs -10 +10
M ./Distribution/Server/Framework/Cache.hs -1 +53
M ./Distribution/Server/Util/AsyncVar.hs +2
Sat Aug 4 00:13:07 BST 2012 Ian Lynagh <ian at well-typed.com>
* Enable CacheableActions to be disabled
Ignore-this: 9d0fed17a888e3b94f8aefb16d8f7bcd
When they are disabled, any requests for them actually compute the value.
This is normally much less efficient, but
* when running tests, it makes the test result more consistent, as there's
no possibility of an out-of-date cache
* When making a Hackage mirror, it means we don't keep regenerating the
index page cache
M ./Distribution/Server.hs -3 +3
M ./Distribution/Server/Features.hs -3 +3
M ./Distribution/Server/Features/Html.hs -3 +5
M ./Distribution/Server/Framework/Cache.hs -13 +17
M ./Main.hs -12 +19
Sat Aug 4 00:17:28 BST 2012 Ian Lynagh <ian at well-typed.com>
* Disable caches when running the HighLevelTest
Ignore-this: c2b561b8c4cd5fe6ea7d16fc90e601bc
M ./tests/HighLevelTest.hs -1 +1
Sat Aug 4 00:35:05 BST 2012 Ian Lynagh <ian at well-typed.com>
* Bugfix
Ignore-this: 7480fa2b2cab01e9ccfd42e6e4e8cd60
M ./Distribution/Server/Features/Html.hs -1 +1
Sat Aug 4 01:15:48 BST 2012 Ian Lynagh <ian at well-typed.com>
* Make the indextar a CacheableAction too
Ignore-this: 2b8904d1d11e74099426d9e265dd51f7
M ./Distribution/Server/Features.hs -1 +1
M ./Distribution/Server/Features/Core.hs -9 +7
Sat Aug 4 02:31:41 BST 2012 Ian Lynagh <ian at well-typed.com>
* Disable the reverse index for now
Ignore-this: 3e6d29f45bac370653f8c127a7f68d94
It has some performance problems
M ./Distribution/Server/Acid.hs -11 +13
M ./Distribution/Server/Features.hs -4 +6
M ./Distribution/Server/Features/Html.hs -12 +25
M ./Distribution/Server/Features/PackageList.hs -9 +19
M ./hackage-server.cabal -3 +3
More information about the cabal-devel
mailing list