patch applied (hackage-server): "Use -threaded for the doc client " and 2 others

2013-08-19 Thread devnull
Mon Aug 19 16:43:08 BST 2013 Edsko de Vries * Use -threaded for the doc client Ignore-this: 6bdd91218f06fd259e1b0cf2fc5cb20f This seems to be necessary for correct handling of CTRL-C, although I do not understand why. M ./hackage-server.cabal -1 +3 Mon Aug 19 16:49:59 BST 2013

patch applied (hackage-server): "Remove redundant check"

2013-08-19 Thread devnull
Mon Aug 19 14:14:56 BST 2013 ed...@well-typed.com * Remove redundant check Ignore-this: 9e9ecc306bf94d1d6b70557f9af5b176 M ./BuildClient.hs -13 +10 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/ca

patch applied (hackage-server): "Improve statistics reported by doc builder"

2013-08-19 Thread devnull
Mon Aug 19 14:04:49 BST 2013 ed...@well-typed.com * Improve statistics reported by doc builder Ignore-this: f7008bfcd8221e7f4c465aad4189f62e Previous the doc builter reported which packages had their most recent package built (yes/no) and which packages had all versions built (yes/no).

patch applied (hackage-server): "Fix typo"

2013-08-19 Thread devnull
Mon Aug 19 12:45:21 BST 2013 Edsko de Vries * Fix typo Ignore-this: 65dfaaf27baa1f185403dd554e8212db M ./MirrorClient.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (hackage-server): "Fix build for older bytestring" and 6 others

2013-08-18 Thread devnull
Sun Aug 18 18:38:46 BST 2013 Duncan Coutts * Fix build for older bytestring Ignore-this: 6002c26bc51805e4a05433714aa3d676 M ./Distribution/Server/Framework/Instances.hs -2 +7 Sun Aug 18 18:39:53 BST 2013 Duncan Coutts * Mirror client should still handle http code 400 Ignore-this:

patch applied (hackage-server): "Use new http session for every package doc upload"

2013-08-17 Thread devnull
Sat Aug 17 14:11:45 BST 2013 Edsko de Vries * Use new http session for every package doc upload Ignore-this: 3e9e1c5daead27fa8b8a8d6efd2cb561 Before this patch we would use a single http session for the entire doc builder execution. However, since doc building can take quite a long ti

patch applied (hackage-server): "Build docs for most recent packages first"

2013-08-17 Thread devnull
Sat Aug 17 12:28:28 BST 2013 Edsko de Vries * Build docs for most recent packages first Ignore-this: 2eeb53a1f5b1c583f1a28972ef2811a4 This is a slightly subtle change to the doc builder: before the patch, we would find all packages that needed their docs build and then order them so t

patch applied (hackage-server): "Have the mirror client upload the .cabal first" and 2 others

2013-08-17 Thread devnull
Sat Aug 17 11:04:54 BST 2013 ed...@well-typed.com * Have the mirror client upload the .cabal first Ignore-this: de7b3a0e30054ec54566b1ca75012f26 This brings the mirror client in line with the import client. Uploading the .cabal file sets the metadata for the package, after which we can

patch applied (hackage-server): "Add 'updateAddTarball' "

2013-08-15 Thread devnull
Thu Aug 15 15:40:01 BST 2013 ed...@well-typed.com * Add 'updateAddTarball' Ignore-this: 7420c85083f6f9b56f23eff14e038bb0 This avoids the use of mergePkg during import, which was forcing us to update the metadata when updating the tarball, and causing the 'Uploaded by' field of a pack

patch applied (hackage-server): "More accurate check for doc building success" and 1 others

2013-08-14 Thread devnull
Wed Aug 14 15:46:45 BST 2013 Edsko de Vries * More accurate check for doc building success Ignore-this: 94c3fd6f242c686326fbd90d10b3752d M ./BuildClient.hs -5 +7 Wed Aug 14 15:46:59 BST 2013 Edsko de Vries * Notify user if docs fail to build Ignore-this: baa4686eea29f8ec7586472fa2

patch applied (hackage-server): "Add --force option to the build client"

2013-08-14 Thread devnull
Wed Aug 14 14:05:53 BST 2013 Edsko de Vries * Add --force option to the build client Ignore-this: 34fb9542154785886a685b4c856e96c0 M ./BuildClient.hs -5 +21 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/l

patch applied (hackage-server): "Have the doc builder output detailed stats"

2013-08-14 Thread devnull
Wed Aug 14 11:49:54 BST 2013 Edsko de Vries * Have the doc builder output detailed stats Ignore-this: 4ecf855a10863e95f1dd50e5c32678ed M ./BuildClient.hs -12 +44 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mail

patch applied (hackage-server): "Avoid compiler warnings in mirror client for ghc > 7.6"

2013-08-14 Thread devnull
Wed Aug 14 10:11:10 BST 2013 Edsko de Vries * Avoid compiler warnings in mirror client for ghc > 7.6 Ignore-this: 98373bd85ac54405c49de4c08c3dd369 M ./MirrorClient.hs -2 +7 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haske

patch applied (hackage-server): "Fix nbsp in code template"

2013-08-14 Thread devnull
Wed Aug 14 09:52:53 BST 2013 Edsko de Vries * Fix nbsp in code template Ignore-this: 956152b70ff60f6d8b2d0d3260822cae M ./Distribution/Server/Pages/Template.hs -1 +1 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/

patch applied (hackage-server): "Ignore BOM and be lenient during UTF8 decoding"

2013-08-13 Thread devnull
Tue Aug 13 16:13:38 BST 2013 Edsko de Vries * Ignore BOM and be lenient during UTF8 decoding Ignore-this: d5a95d64580ca793d90900df7df0965e M ./Distribution/Client.hs -3 +2 M ./Distribution/Server/Features/BuildReports/Backup.hs -2 +2 M ./Distribution/Server/Framework/BackupDump.h

patch applied (hackage-server): "Audit for UTF8 safety (and remove json)"

2013-08-13 Thread devnull
Tue Aug 13 12:19:07 BST 2013 ed...@well-typed.com * Audit for UTF8 safety (and remove json) Ignore-this: 5731a4833f3fae0ed329f7794672759 This is a longish commit which removes a lot of uses of Data.ByteString.Char8 and Data.ByteString.Lazy.Char8 in favour of UTF8 safe functions. There a

patch applied (hackage-server): "Support online backup through USR2"

2013-08-12 Thread devnull
Mon Aug 12 13:00:57 BST 2013 ed...@well-typed.com * Support online backup through USR2 Ignore-this: d4430807e8344bacb009a12251cc725a M ./Main.hs -45 +73 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listin

patch applied (hackage-server): "Add TODOs"

2013-08-12 Thread devnull
Mon Aug 12 11:51:09 BST 2013 Edsko de Vries * Add TODOs Ignore-this: ae44b9d3a946f9c12cfc1846582f3360 M ./TODO +4 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel

patch applied (hackage-server): "Use UTF8 encoding when encoding CSV files"

2013-08-12 Thread devnull
Mon Aug 12 11:21:17 BST 2013 ed...@well-typed.com * Use UTF8 encoding when encoding CSV files Ignore-this: d44a9e4e40520efdb9f7113724f1b5be M ./Distribution/Server/Framework/BackupDump.hs -5 +6 ___ cabal-devel mailing list cabal-devel@haskell.

patch applied (hackage-server): "Fix bug in Core.State.mergePkg"

2013-08-09 Thread devnull
Fri Aug 9 15:41:14 BST 2013 ed...@well-typed.com * Fix bug in Core.State.mergePkg Ignore-this: d28cb3e4bc86cfe480f16fc1ca1e84b5 There were a number of bugs in this function: - pkgUploadData of the package was not set at all - Sorting was incorrect - It incorrectly combined pkgDa

patch applied (hackage-server): "More informative exceptions when using GZip.decompress" and 3 others

2013-08-08 Thread devnull
Mon Aug 5 16:11:41 BST 2013 Edsko de Vries * More informative exceptions when using GZip.decompress Ignore-this: 60ec605e4feb2324682a6b11cb45684 M ./Distribution/Client.hs -3 +3 M ./Distribution/Client/PkgIndex.hs -2 +2 M ./Distribution/Server/Features/Core/Backup.hs -3 +4 M

patch applied (hackage-server): "Only remove old state dir if it exists" and 1 others

2013-08-05 Thread devnull
Mon Aug 5 12:44:25 BST 2013 Edsko de Vries * Only remove old state dir if it exists Ignore-this: 6e6bc8d65a825108cd042aac9a1a9bac M ./Distribution/Server/Features/DownloadCount/State.hs -3 +7 Mon Aug 5 12:56:40 BST 2013 Edsko de Vries * Fix inconsistent use of loginfo vs lognotice

patch applied (hackage-server): "Make it possible to test-backup for specific features only"

2013-08-05 Thread devnull
Mon Aug 5 12:10:35 BST 2013 Edsko de Vries * Make it possible to test-backup for specific features only Ignore-this: aa8332ecff09b7446d4bd8837504df72 M ./Distribution/Server/Features/DownloadCount.hs -2 M ./Main.hs -5 +17 ___ cabal-devel

patch applied (hackage-server): "Add CSV GET/PUT for download counts" and 1 others

2013-08-02 Thread devnull
Fri Aug 2 08:07:12 BST 2013 Edsko de Vries * Add CSV GET/PUT for download counts Ignore-this: 6197edc61503a140f00e678819162eda The on-disk stats can now be accessed (GET/PUT) through http://example.com/packages/downloads.csv PUTting download counts also updates the recent d

patch applied (hackage-server): "Insert space between 'Search' and the search terms input box"

2013-08-01 Thread devnull
Thu Aug 1 08:57:27 BST 2013 Edsko de Vries * Insert space between 'Search' and the search terms input box Ignore-this: 5ba9712828646831a6dd82b523d22f3f M ./Distribution/Server/Pages/Template.hs -1 +1 M ./datafiles/templates/hackagePageHeader.st -1 +1 __

patch applied (hackage-server): "Make lexer monadic (avoid use of 'error')"

2013-07-31 Thread devnull
Wed Jul 31 11:55:59 BST 2013 Edsko de Vries * Make lexer monadic (avoid use of 'error') Ignore-this: 18ade47907e883b16d1ba5fadd6b6b4d Importing package metadata was failing because the packageAddHook added by the Search feature was parsing the package description, and if this had a lex

patch applied (hackage-server): "Make 'hackage-build build' take advantage of the new JSON resource"

2013-07-29 Thread devnull
Mon Jul 29 10:31:04 BST 2013 ed...@well-typed.com * Make 'hackage-build build' take advantage of the new JSON resource Ignore-this: cc1d8f88eac21d18b1b0134a3d5dcd3c M ./BuildClient.hs -43 +53 ___ cabal-devel mailing list cabal-devel@haskell.or

patch applied (hackage-server): "Make documentation statistics available as JSON resource"

2013-07-28 Thread devnull
Sun Jul 28 09:12:48 BST 2013 Edsko de Vries * Make documentation statistics available as JSON resource Ignore-this: a3d475cd31445f2ae3e962ca65b4da17 This is available at http://example.com/packages/docs.json for the regular packages and http://example.com/packages

patch applied (hackage-server): "Add option to import for converting Apache log files"

2013-07-19 Thread devnull
Fri Jul 19 10:22:10 BST 2013 ed...@well-typed.com * Add option to import for converting Apache log files Ignore-this: d9e4c8abfadf586c460e6233aa8f923b See import-client download help for usage info. M ./ImportClient.hs -26 +157 M ./hackage-server.cabal -1 +1 ___

patch applied (hackage-server): "Reconstruct global log on import"

2013-07-18 Thread devnull
Thu Jul 18 14:31:22 BST 2013 ed...@well-typed.com * Reconstruct global log on import Ignore-this: 6f9a58f952576826e37171ef9c1c2e9e M ./Distribution/Server/Features/DownloadCount.hs -8 +9 M ./Distribution/Server/Features/DownloadCount/State.hs -2 +7 __

patch applied (hackage-server): "Pave the way for supporting StateComponents that don't use AcidState" and 2 others

2013-07-18 Thread devnull
Tue Jul 2 16:13:24 BST 2013 ed...@well-typed.com * Pave the way for supporting StateComponents that don't use AcidState Ignore-this: 20511c3152c4f37cf73e13bdb1e83a70 M ./Distribution/Server/Features/BuildReports.hs -4 +4 M ./Distribution/Server/Features/Core.hs -4 +4 M ./Distribu

patch applied (hackage-server): "Integrate new package search feature" and 2 others

2013-07-05 Thread devnull
Fri Jul 5 20:10:24 BST 2013 Duncan Coutts * Integrate new package search feature Ignore-this: 8948d663270a60cb7a032dd114b25c41 Old search did just substring search in the package name and the description and did no ranking of results. New search is keyword based (rather than substri

patch applied (hackage-server): "Reduce memory footprint of DownloadCounts (2/n)"

2013-07-01 Thread devnull
Mon Jul 1 15:22:06 BST 2013 ed...@well-typed.com * Reduce memory footprint of DownloadCounts (2/n) Ignore-this: 9c9e10b17e0a8d05a2ff307d6e47674 I seem to have managed to commit an older version, sorry. This fixes the build. M ./Distribution/Server/Features/DownloadCount.hs -3 M

patch applied (hackage-server): "Reduce memory footprint of DownloadCounts (1/n)"

2013-07-01 Thread devnull
Mon Jul 1 14:51:31 BST 2013 ed...@well-typed.com * Reduce memory footprint of DownloadCounts (1/n) Ignore-this: 19e9a724564b3c6e5ca88859da883fb3 Change the DownloadCounts feature so that it only keeps today's statistics in memory, and everything else on disk (and simplify the API at th

patch applied (hackage-server): "Compatibility with happstack-server 7.1.7"

2013-06-27 Thread devnull
Thu Jun 27 15:50:22 BST 2013 ed...@well-typed.com * Compatibility with happstack-server 7.1.7 Ignore-this: b785ffe4499352dc530226fd19245b3 'escape' disappeared. Added as 'uriEscape' in Util.Happstack. M ./Distribution/Server/Framework/Resource.hs -7 +6 M ./Distribution/Server/Uti

patch applied (hackage-server): "Remove the basic html package pages from the core and candidate features" and 4 others

2013-04-08 Thread devnull
Fri Mar 29 18:14:30 GMT 2013 Duncan Coutts * Remove the basic html package pages from the core and candidate features Ignore-this: d1d21177dadd082d176d78130db247a2 M ./Distribution/Server/Features/Core.hs -39 +1 M ./Distribution/Server/Features/PackageCandidates.hs -20 +1 Sat Mar 30

patch applied (hackage-server): "Add link to cabal file editing to maintainers page"

2013-03-27 Thread devnull
Wed Mar 27 12:50:51 GMT 2013 Duncan Coutts * Add link to cabal file editing to maintainers page Ignore-this: 99bf7ccf84a4cfeab89406c672fa1d7f M ./datafiles/templates/Html/maintain.html.st +5 ___ cabal-devel mailing list cabal-devel@haskell.or

patch applied (hackage-server): "Remove the google search from the package page" and 5 others

2013-03-26 Thread devnull
Thu Mar 14 17:37:47 GMT 2013 Duncan Coutts * Remove the google search from the package page Ignore-this: 7c0346431aec1bc7f195cdd2037991c6 M ./Distribution/Server/Pages/Index.hs -8 Tue Mar 26 14:43:11 GMT 2013 Duncan Coutts * Tweak page css based on feedback Ignore-this: 6b91314fa8

patch applied (hackage-server): "Fix data files wildcard" and 1 others

2013-03-12 Thread devnull
Tue Mar 12 22:52:33 GMT 2013 Duncan Coutts * Fix data files wildcard Ignore-this: 1b975f7ba945befd15a16526a469af4d M ./hackage-server.cabal -1 +1 Wed Mar 13 00:41:42 GMT 2013 Duncan Coutts * Change the host-URI handling so it is independent of the port we serve on Ignore-this: 7c9

patch applied (hackage-server): "Revert to --static-dir and --state-dir flag names"

2013-03-12 Thread devnull
Tue Mar 12 22:48:52 GMT 2013 Duncan Coutts * Revert to --static-dir and --state-dir flag names Ignore-this: a232d4ef02db77555703650d8bb930bc M ./Main.hs -2 +2 ___ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman

patch applied (hackage-server): "Tidy up the command line flags code, make sure all commands have a -v flag" and 7 others

2013-03-12 Thread devnull
Thu Mar 7 22:43:10 GMT 2013 Duncan Coutts * Tidy up the command line flags code, make sure all commands have a -v flag Ignore-this: 817fc3128b7aa928a376b366b6fba58b The backup and restore commands in particular really need that verbosity control, if only for testing/debugging. M ./M

patch applied (hackage-server): "Add things missing from the last patch" and 2 others

2013-03-11 Thread devnull
Sat Mar 9 17:38:46 GMT 2013 Duncan Coutts * Add things missing from the last patch Ignore-this: b0d49238d7a159681e0958d2b50ea67b Update the data-files list in the .cabal file and add the little haskell png logo A ./datafiles/static/hslogo-16.png M ./hackage-server.cabal -4 Mon

patch applied (hackage-server): "Change site theme to the haddock Ocean theme, with a few modifications"

2013-03-09 Thread devnull
Fri Mar 8 21:26:03 GMT 2013 Duncan Coutts * Change site theme to the haddock Ocean theme, with a few modifications Ignore-this: 667e3d06d9f09473af27b7744275e212 So now the whole site has a consistent style. Previously we were using the Ocean theme for the per-package pages, and the old h

patch applied (hackage-server): "Fix up the legacy redirects"

2013-02-27 Thread devnull
Wed Feb 27 23:01:19 GMT 2013 Duncan Coutts * Fix up the legacy redirects Ignore-this: 477b32e4722783c00ece39435757290b For the moment, have to list the top level templates explicitly since otherwise we clash with the legacy redirects. M ./Distribution/Server/Features/LegacyRedirects.

patch applied (hackage-server): "Import the original user account creation times" and 8 others

2013-02-27 Thread devnull
Tue Feb 26 22:20:24 GMT 2013 Duncan Coutts * Import the original user account creation times Ignore-this: b24a2eedb45478a79fc34ae4e65bcb5a M ./Distribution/Client/UploadLog.hs -12 +2 M ./Distribution/Client/UserAddressesDb.hs -18 +32 M ./ImportClient.hs -15 +19 Tue Feb 26 22:21:

patch applied (hackage-server): "Move the handy "oh noes" ?! operator so it can be used more widely" and 7 others

2013-02-19 Thread devnull
Mon Feb 18 23:34:06 GMT 2013 Duncan Coutts * Move the handy "oh noes" ?! operator so it can be used more widely Ignore-this: 7b1a2194a9f319a68ee588db2ff89754 M ./Distribution/Server/Features/LegacyPasswds/Auth.hs -5 M ./Distribution/Server/Framework/Auth.hs -5 M ./Distribution/Se

patch applied (hackage-server): "Make the recent upload cache async" and 1 others

2013-02-18 Thread devnull
Sat Feb 16 16:31:16 GMT 2013 Duncan Coutts * Make the recent upload cache async Ignore-this: cdb0883ecfac788a78ee7936c5b7393f M ./Distribution/Server/Features/RecentPackages.hs +2 Mon Feb 18 15:52:17 GMT 2013 Duncan Coutts * Add initial support for templating and use it in the user

patch applied (hackage-server): "Slight code clarity/sanity cleanup" and 1 others

2013-02-15 Thread devnull
Thu Feb 14 18:04:12 GMT 2013 Duncan Coutts * Slight code clarity/sanity cleanup Ignore-this: 8fea6d8d0e2b9b1c70cb97bed4550015 M ./Distribution/Server.hs -10 +15 M ./Distribution/Server/Framework/Resource.hs -1 +3 Fri Feb 15 18:42:57 GMT 2013 Duncan Coutts * Implement sending ema

patch applied (hackage-server): "Switch language from Haskell98 to Haskell2010 and fix a few things" and 3 others

2013-02-13 Thread devnull
Wed Feb 13 20:29:56 GMT 2013 Duncan Coutts * Switch language from Haskell98 to Haskell2010 and fix a few things Ignore-this: 3880caec4c1cc9cdf22fe183fff3f1a5 Mostly indentation issues with 'do' blocks. Also update to Cabal-1.10 semantics. M ./Distribution/Server/Features/Mirror.hs -1

patch applied (hackage-server): "Switch html user list from enabled to active users" and 1 others

2013-02-12 Thread devnull
Tue Feb 12 22:10:00 GMT 2013 Duncan Coutts * Switch html user list from enabled to active users Ignore-this: fb053d04d1f80529e1f8333923d77c76 Users accounts imported from the old hackage will be in the disabled state and we still want to list them. So now only exclude deleted users.

patch applied (hackage-server): "Overhaul the user account and authentication code" and 1 others

2013-02-08 Thread devnull
Sat Feb 9 05:38:30 GMT 2013 Duncan Coutts * Overhaul the user account and authentication code Ignore-this: 92f6c35cd9beba748a53bf809113628d Remove the htpasswd feature, simplifying the UserAuth stuff so that there is now just one way to store password hashes. The legacy htpasswd stuff

patch applied (hackage-server): "Finish backup for PreferredVersions" and 3 others

2013-02-06 Thread devnull
Wed Feb 6 10:44:22 GMT 2013 ed...@well-typed.com * Finish backup for PreferredVersions Ignore-this: aee7351de1a57c0da699710a288b5b31 M ./Distribution/Server/Features/PreferredVersions.hs -3 +1 M ./Distribution/Server/Features/PreferredVersions/Backup.hs -8 +80 M ./Distribution/Se

patch applied (hackage-server): "Backup candidate specific info" and 4 others

2013-02-05 Thread devnull
Tue Feb 5 09:21:44 GMT 2013 ed...@well-typed.com * Backup candidate specific info Ignore-this: 260636351afe9c0ba92d069ab8a15e7a M ./Distribution/Server/Features/Core/Backup.hs -8 +10 M ./Distribution/Server/Features/PackageCandidates/Backup.hs -6 +23 Tue Feb 5 10:45:42 GMT 2013 ed

patch applied (hackage-server): "Support build reports for candidates" and 6 others

2013-02-04 Thread devnull
Mon Feb 4 11:40:00 GMT 2013 ed...@well-typed.com * Support build reports for candidates Ignore-this: c105a4ea682efd9515c6ab9e59b14113 M ./Distribution/Server/Features.hs -2 +8 M ./Distribution/Server/Features/BuildReports.hs -27 +63 Mon Feb 4 11:53:43 GMT 2013 ed...@well-typed.com

patch applied (hackage-server): "Tidy up the user authorisation code" and 2 others

2013-02-01 Thread devnull
Fri Feb 1 21:09:55 GMT 2013 Duncan Coutts * Tidy up the user authorisation code Ignore-this: 81f003c21c2edf3ad563faf5a86ec004 Instead of authorisation functions that take user groups by value, take them by reference which reduces the code at call sites considerably. Also extend the

patch applied (hackage-server): "We now have support for candidate documentation"

2013-02-01 Thread devnull
Fri Feb 1 12:32:16 GMT 2013 ed...@well-typed.com * We now have support for candidate documentation Ignore-this: ca23e3e17e2929b5d5f0b40f71f35483 M ./Distribution/Server/Features.hs -4 +11 M ./Distribution/Server/Features/Documentation.hs -16 +31 M ./Distribution/Server/Features/H

patch applied (hackage-server): "PackageCandidates now implements the full CoreResource" and 2 others

2013-02-01 Thread devnull
Fri Feb 1 09:45:28 GMT 2013 ed...@well-typed.com * PackageCandidates now implements the full CoreResource Ignore-this: 2fb05eb2b31ed883273b0ba3c810eb6 This means that with a bit of luck we should now be able to use documentation and build reports with candidates. Also got rid of t

patch applied (hackage-server): "Start cleanup of PackageCandidates (1/N)" and 1 others

2013-01-31 Thread devnull
Thu Jan 31 16:13:23 GMT 2013 ed...@well-typed.com * Start cleanup of PackageCandidates (1/N) Ignore-this: 9603f6b9d7e569c61dfd2f9bb40bc887 Remove redundant arguments from the withXXX functions, to make their purpose clearer. Next up: bring in line with core. M ./Distribution/Server

patch applied (hackage-server): "Fix Restore monad" and 15 others

2013-01-31 Thread devnull
Thu Jan 24 09:46:43 GMT 2013 Edsko de Vries * Fix Restore monad Ignore-this: d64b04545adb4af8c80b75c67f8c88ff The presence of an explicit RestoreBind constructor meant that the monad laws were violated. M ./Distribution/Server/Framework/BackupRestore.hs -23 +56 Thu Jan 24 10:04:0

patch applied (hackage-server): "Restrict uploads to members of the package maintainer group" and 4 others

2013-01-25 Thread devnull
Fri Jan 25 17:31:02 GMT 2013 Duncan Coutts * Restrict uploads to members of the package maintainer group Ignore-this: c7e40d08b81e18d3d52e6c39c0426a0 We can do this now that we can pre-populate the groups when we import from the old hackage server. M ./Distribution/Server/Features/Pa

patch applied (hackage-server): "Add the tarIndexCacheFeature to the list of features"

2013-01-24 Thread devnull
Thu Jan 24 22:09:07 GMT 2013 Duncan Coutts * Add the tarIndexCacheFeature to the list of features Ignore-this: 7b300d7026741cb130afc99f70fd5dbc M ./Distribution/Server/Features.hs -1 +2 ___ cabal-devel mailing list cabal-devel@haskell.org htt

patch applied (hackage-server): "Fix a couple minor content type issues" and 3 others

2013-01-24 Thread devnull
Wed Jan 9 21:46:16 GMT 2013 Duncan Coutts * Fix a couple minor content type issues Ignore-this: b8d62ee739230922efe0db9bc85d92b1 M ./Distribution/Server/Framework/ResponseContentTypes.hs -1 +1 M ./Distribution/Server/Util/ServeTarball.hs -1 +3 Wed Jan 9 21:46:42 GMT 2013 Duncan C

patch applied (hackage-server): "Have the Documentation use the TarIndexCache"

2013-01-23 Thread devnull
Wed Jan 23 17:15:07 GMT 2013 Edsko de Vries * Have the Documentation use the TarIndexCache Ignore-this: b58eda75c156c31b316723965eaa5412 This means that we don't keep all the tar indices in memory but deserializable them on every request, thereby saving memory (and the Documentation fe

patch applied (hackage-server): "Factor out common PackageContents/PackageCandidates code"

2013-01-23 Thread devnull
Wed Jan 23 15:10:44 GMT 2013 Edsko de Vries * Factor out common PackageContents/PackageCandidates code Ignore-this: 5d0e3699077e3943eecfa391b3faeaf9 There is still a bit of duplication, but this is "uninteresting" code (in the sense that there are no real design decisions involved, jus

patch applied (hackage-server): "Make PackageCandidates use TarIndexCache"

2013-01-23 Thread devnull
Wed Jan 23 12:14:32 GMT 2013 Edsko de Vries * Make PackageCandidates use TarIndexCache Ignore-this: f36901d0ab55d1f1625b97ef5b0471c3 M ./Distribution/Server/Features.hs +1 M ./Distribution/Server/Features/PackageCandidates.hs -68 +63 ___

patch applied (hackage-server): "Introduce TarIndexCache feature"

2013-01-23 Thread devnull
Wed Jan 23 11:40:35 GMT 2013 Edsko de Vries * Introduce TarIndexCache feature Ignore-this: 9450fc9a76131a0fa21329f67d4a6540 This provides generic support for caching tarball indices. The package contents feature now uses this to get access to the tar index. We no longer reconstruct

patch applied (hackage-server): "Remove dependency of PackageContents on PackageCandidates" and 2 others

2013-01-22 Thread devnull
Tue Jan 22 14:40:39 GMT 2013 Edsko de Vries * Remove dependency of PackageContents on PackageCandidates Ignore-this: f6eb56b31f5e55cd3078dfdd0e4560c3 This means there is a bit of duplication between PackageCandidates and PackageCandidates (serveTarball and friends), but we can factor t

patch applied (hackage-server): "Rename functions to that tarindex creation is more explicit" and 2 others

2013-01-22 Thread devnull
Tue Jan 22 10:57:26 GMT 2013 Edsko de Vries * Rename functions to that tarindex creation is more explicit Ignore-this: 2792e75ff8113a067e4c7a0a5c521298 In particular, readTarIndex is now called constructTarIndexFromFile, and lookupTarball is now given the (intentionally unwieldy) name

patch applied (hackage-server): "Rename Packages to RecentPackages and Check to PackageCandidates" and 1 others

2013-01-11 Thread devnull
Fri Jan 11 14:43:34 GMT 2013 Edsko de Vries * Rename Packages to RecentPackages and Check to PackageCandidates Ignore-this: 5b75163b27213b904d4d27616db714d8 ./Distribution/Server/Features/Check -> ./Distribution/Server/Features/PackageCandidates ./Distribution/Server/Features/Chec

patch applied (hackage-server): "Improve the utils for validating and consuming the request body" and 2 others

2013-01-09 Thread devnull
Wed Jan 9 20:25:36 GMT 2013 Duncan Coutts * Improve the utils for validating and consuming the request body Ignore-this: b217bd39e4245315dcf48ef034544f2e Check the mime type better, do transparent gzip decoding and also return the actual content. Also rename the module and equiv respon

patch applied (hackage-server): "Add a log timing function and use it in the package state loading"

2012-12-16 Thread devnull
Sun Dec 16 14:51:20 GMT 2012 Duncan Coutts * Add a log timing function and use it in the package state loading Ignore-this: c29a834df997c2bb0720fb6036c764a5 M ./Distribution/Server/Features/Core.hs -5 +7 M ./Distribution/Server/Framework/Cache.hs -16 +7 M ./Distribution/Server/Fr

patch applied (hackage-server): "Make a few feature's expensive cache init operations asynchronous"

2012-12-16 Thread devnull
Sun Dec 16 14:27:22 GMT 2012 Duncan Coutts * Make a few feature's expensive cache init operations asynchronous Ignore-this: 3272cd4c79d739bfa6919e9e7c874374 Should parallelise startup a bit M ./Distribution/Server/Features/Core.hs +2 M ./Distribution/Server/Features/Html.hs +2

patch applied (hackage-server): "Extend debug and logging infrastructure"

2012-12-16 Thread devnull
Sun Dec 16 14:05:47 GMT 2012 Duncan Coutts * Extend debug and logging infrastructure Ignore-this: e8618d92e85f8a5af4aa13de90d9b507 Add better log functions and pass verbosity into each feature. Add logging to feature initialisation. M ./Distribution/Server.hs -4 +3 M ./Distributi

patch applied (hackage-server): "Don't parse all the .cabal files when loading the data"

2012-12-16 Thread devnull
Sun Dec 16 10:33:22 GMT 2012 Duncan Coutts * Don't parse all the .cabal files when loading the data Ignore-this: d9596e748145330dd552c3298d66ef94 M ./Distribution/Server/Packages/Types.hs -4 +1 ___ cabal-devel mailing list cabal-devel@haskell

patch applied (hackage-server): "Oops, add the crucial MemSize module, missing from previous patch."

2012-12-13 Thread devnull
Fri Dec 14 02:52:38 GMT 2012 Duncan Coutts * Oops, add the crucial MemSize module, missing from previous patch. Ignore-this: 2f0c8ee118eef7ae1a64c4b2f5f530cf A ./Distribution/Server/Framework/MemSize.hs ___ cabal-devel mailing list cabal-deve

patch applied (hackage-server): "Add memory accounting, per state component and cache component" and 1 others

2012-12-13 Thread devnull
Thu Dec 13 11:33:14 GMT 2012 Duncan Coutts * Add memory accounting, per state component and cache component Ignore-this: ddd9c793b83e63a0f28dfa3885ca1a0f New page to monitor the current memory use of all the various in-memory data stores and caches. Ranks them by size. ./Distributio

patch applied (hackage-server): "Use pure restore for build reports" and 2 others

2012-12-03 Thread devnull
Mon Dec 3 09:23:07 GMT 2012 Edsko de Vries * Use pure restore for build reports Ignore-this: 20c2365b3052a865266be10a57654e27 This is the last feature to be converted. Next up: remove all the scaffolding and the now obsolete impure restore types. M ./Distribution/Server/Features/

patch applied (hackage-server): "Allow building with ghc-7.0.x"

2012-11-30 Thread devnull
Fri Nov 30 22:55:25 GMT 2012 Duncan Coutts * Allow building with ghc-7.0.x Ignore-this: 4fd2e1ea85b072cbdaf99264b2f162c8 One of the servers I want to run it on only has ghc 7.0.4 M ./BuildClient.hs -2 +1 M ./Distribution/Server/Framework/Instances.hs +9 M ./hackage-server.cabal

patch applied (hackage-server): "Add script to get all the old hackage data"

2012-11-30 Thread devnull
Fri Nov 30 17:46:53 GMT 2012 Duncan Coutts * Add script to get all the old hackage data Ignore-this: 513c7f1645078a8c7823e05e9b835ea7 ./hackage-import-script.sh -> ./old-hackage-import.sh A ./old-hackage-download.sh ___ cabal-devel maili

patch applied (hackage-server): "Deal with restoring blobs generically" and 5 others

2012-11-30 Thread devnull
Fri Nov 30 11:00:21 GMT 2012 Edsko de Vries * Deal with restoring blobs generically Ignore-this: 28e695ea22637a21c1cf1af019df53e M ./Distribution/Server.hs -1 +2 M ./Distribution/Server/Features/BuildReports/Backup.hs -6 +9 M ./Distribution/Server/Features/Core/Backup.hs -17 +27

patch applied (hackage-server): "Expose the mirrorers group resource" and 3 others

2012-11-30 Thread devnull
Fri Nov 30 17:10:15 GMT 2012 Duncan Coutts * Expose the mirrorers group resource Ignore-this: faa27af54953057bb3846b715fec7112 M ./Distribution/Server/Features/Mirror.hs +3 Fri Nov 30 17:10:51 GMT 2012 Duncan Coutts * Switch to digest auth by default Ignore-this: 313caf73aef646b40

patch applied (hackage-server): "Fix import for build reports"

2012-11-29 Thread devnull
Thu Nov 29 11:16:07 GMT 2012 Edsko de Vries * Fix import for build reports Ignore-this: c29ac5975354c117184b101e848272d4 Next up: try to do this in a pure fashion M ./Distribution/Server/Features/BuildReports/Backup.hs -2 +2 ___ cabal-de

patch applied (hackage-server): "Fix comparison on tarballs"

2012-11-29 Thread devnull
Thu Nov 29 10:36:19 GMT 2012 Edsko de Vries * Fix comparison on tarballs Ignore-this: 648378d5c1cdccfb8db791fe524f64ce If the tarballs didn't contain the exact same entries, in the exact same order, then `equalTarBall` would report lots of superfluous errors due to a call to `mergeB

patch applied (hackage-server): "Remove two old unused utils modules" and 5 others

2012-11-27 Thread devnull
Fri Nov 23 14:25:40 GMT 2012 Duncan Coutts * Remove two old unused utils modules Ignore-this: 15dcb6047f16fd05610359fac8ef0114 R ./Distribution/Server/Util/ActionLog.hs R ./Distribution/Server/Util/TimeLogger.hs Tue Nov 27 17:01:52 GMT 2012 Duncan Coutts * Simplify import client

patch applied (hackage-server): "Add 'resetState' to StateComponent" and 2 others

2012-11-27 Thread devnull
Tue Nov 27 10:11:58 GMT 2012 Edsko de Vries * Add 'resetState' to StateComponent Ignore-this: a4dcd475cc01e6593f8fe735cfed171 resetState has type StateComponent -> BlobStorage -> FilePath -> IO (StateComponent st) and basically creates a new state component with the initial s

patch applied (hackage-server): "Make import pure for Tags"

2012-11-26 Thread devnull
Mon Nov 26 14:29:41 GMT 2012 Edsko de Vries * Make import pure for Tags Ignore-this: 3f973d3f9708e04bbb9289fc426325fa M ./Distribution/Server/Features/Tags/Backup.hs -20 +21 M ./Distribution/Server/Framework/BackupRestore.hs -5 +38 ___ ca

patch applied (hackage-server): "Fix the 'restore' process"

2012-11-26 Thread devnull
Mon Nov 26 14:30:48 GMT 2012 Edsko de Vries * Fix the 'restore' process Ignore-this: 5199ad4a1f430bd4c338f42054ecd0b2 - Not all features implemented 'restore' after the refactoring, causing restore to fail - 'importTar' assumed a single RestoreBackup per feature, while we now have

patch applied (hackage-server): "Remove obsolete code" and 2 others

2012-11-23 Thread devnull
Thu Nov 22 16:25:53 GMT 2012 Edsko de Vries * Remove obsolete code Ignore-this: 80f0a57579216f3bad55e8159b30a3e1 M ./Distribution/Server/Features/ServerApiDoc.hs -8 Fri Nov 23 12:48:44 GMT 2012 Edsko de Vries * Make export pure Ignore-this: d7404f43bbb30bf13791b6fb75657ffb Th

patch applied (hackage-server): "Fix a stray use of update' which should be updateState"

2012-11-22 Thread devnull
Thu Nov 22 18:50:41 GMT 2012 Duncan Coutts * Fix a stray use of update' which should be updateState Ignore-this: 9858c081438a8f8349ce6c2b6f5cca53 M ./Distribution/Server/Features/PreferredVersions.hs -1 +1 ___ cabal-devel mailing list cabal-d

patch applied (hackage-server): "Refactor: reify state components"

2012-11-22 Thread devnull
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 Hac

patch applied (hackage-server): "Fix the import of package deprecation info" and 1 others

2012-11-21 Thread devnull
Wed Nov 21 14:58:56 GMT 2012 Duncan Coutts * Fix the import of package deprecation info Ignore-this: c4b7f4bb7bfc0ac6ffadd86e56b05cf0 M ./Distribution/Server/Features/PreferredVersions.hs -4 +31 M ./Distribution/Server/Framework/Validation.hs +16 M ./ImportClient.hs -1 +1 Wed No

patch applied (hackage-server): "Add descriptions of what each feature backs up"

2012-11-21 Thread devnull
Wed Nov 21 13:49:19 GMT 2012 Edsko de Vries * Add descriptions of what each feature backs up Ignore-this: 8e5390238ec1d5d4d129c8da2daa04 M ./Distribution/Server.hs -8 +8 M ./Distribution/Server/Features/BuildReports.hs -9 +14 M ./Distribution/Server/Features/Core.hs -1 +5 M .

patch applied (hackage-server): "Improve feature/resource descriptions"

2012-11-21 Thread devnull
Wed Nov 21 12:46:50 GMT 2012 Edsko de Vries * Improve feature/resource descriptions Ignore-this: b45d88f2e718036f811615761409f0e4 M ./Distribution/Server/Features/Upload.hs -5 +10 M ./Distribution/Server/Features/Users.hs -8 +12 ___ cabal

patch applied (hackage-server): "Document (almost) all the features of 'users'" and 1 others

2012-11-21 Thread devnull
Wed Nov 21 10:06:19 GMT 2012 Edsko de Vries * Document (almost) all the features of 'users' Ignore-this: 6596974e93d29360c930e7faae075f1f M ./Distribution/Server/Features/Html.hs -3 +15 M ./Distribution/Server/Features/ServerApiDoc.hs -4 +7 M ./Distribution/Server/Features/Users.

patch applied (hackage-server): "Fix tarball upload in import-client" and 1 others

2012-11-20 Thread devnull
Tue Nov 20 19:48:30 GMT 2012 Duncan Coutts * Fix tarball upload in import-client Ignore-this: b4b871f4ec20d39d92ea503b8f1761 M ./ImportClient.hs -5 +9 Tue Nov 20 19:53:18 GMT 2012 Duncan Coutts * Add concurrent upload support for tarballs to import-client Ignore-this: 1f0cf6f59cf4

patch applied (hackage-server): "Use :path instead of {path}" and 1 others

2012-11-20 Thread devnull
Tue Nov 20 17:31:55 GMT 2012 Edsko de Vries * Use :path instead of {path} Ignore-this: 6c62295abbfc0b631dafa43fc306972d M ./Distribution/Server/Features/ServerApiDoc.hs -2 +2 Tue Nov 20 17:32:11 GMT 2012 Edsko de Vries * Increase descriptions of Users feature Ignore-this: 86897c5a

patch applied (hackage-server): "Split resource descriptions per method"

2012-11-20 Thread devnull
Tue Nov 20 17:15:25 GMT 2012 Edsko de Vries * Split resource descriptions per method Ignore-this: 4f8a55645852b7571e3a0b05a5bd422e M ./Distribution/Server/Features/Html.hs -10 +16 M ./Distribution/Server/Features/ServerApiDoc.hs -12 +12 M ./Distribution/Server/Features/Users.hs -

patch applied (hackage-server): "Fix (some) layout" and 1 others

2012-11-20 Thread devnull
Tue Nov 20 14:20:23 GMT 2012 Edsko de Vries * Fix (some) layout Ignore-this: 5d5122a73dfa552f91332add689abac2 M ./Distribution/Server/Features/Html.hs -84 +190 Tue Nov 20 16:26:01 GMT 2012 Edsko de Vries * Modify api/ to show extensions of resources Ignore-this: 3cdcbcb79b94ff3ed8

patch applied (hackage-server): "Remove trailing whitespace"

2012-11-20 Thread devnull
Tue Nov 20 13:14:03 GMT 2012 Edsko de Vries * Remove trailing whitespace Ignore-this: aad2d0d4b0c3e5bdf7e7b4d25db59fd in order to make subsequent patches more readable and merge conflicts less likely M ./BuildClient.hs -1 +1 M ./Data/IntTrie.hs -5 +5 M ./Data/StringTable.h

patch applied (hackage-server): "Support alex >= 3" and 2 others

2012-11-20 Thread devnull
Mon Nov 12 13:40:07 GMT 2012 Edsko de Vries * Support alex >= 3 Ignore-this: 9cc786fe9919abdfb0d4e62bdebe1e0a M ./Distribution/Server/Pages/Package/HaddockLex.x +12 M ./hackage-server.cabal -1 +1 Tue Nov 20 11:35:23 GMT 2012 Edsko de Vries * Remove bounds on Cabal for test Ign

  1   2   >