patch applied (/home/srv/code/hackage-server): "Un-hardcode the "/tmp" directory." and 35 others

duncan at lun.haskell.org duncan at lun.haskell.org
Fri Aug 12 09:58:03 CEST 2011


Fri Jul 22 19:33:15 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Un-hardcode the "/tmp" directory.
  Ignore-this: d9be80c40935d2407e3c3cfdd78495b9

    M ./Distribution/Server.hs -1 +2
Fri Jul 22 19:47:11 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Fix minor layout issue.
  Ignore-this: b28272a0634254d47f4af55966b9a8fb

    M ./Distribution/Server.hs -2 +2
Fri Jul 22 20:15:27 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Delete todo comment about hardcoded /tmp.
  Ignore-this: 5a8c59628c6c5aaf107e65b041bb5592

    M ./Distribution/Server.hs -1 +1
Fri Jul 22 20:17:19 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Add missing word in upload notes.
  Ignore-this: 8b84bd4104069b7fb92c78bf53cacec2

    M ./static/upload.html -1 +1
Fri Jul 22 21:42:41 BST 2011  Jeremy Shaw <jeremy at seereason.com>
  * migrate from happstack-data/happstack-state to safecopy/acid-state
  Ignore-this: 9daef014eb49d9efeeb337960016e6ad

    M ./Data/IntTrie.hs -6 +3
    M ./Data/StringTable.hs -6 +3
    M ./Data/TarIndex.hs -15 +5
    M ./Distribution/Server.hs -14 +11
    M ./Distribution/Server/Auth/Types.hs -8 +5
    M ./Distribution/Server/BuildReport/Backup.hs -1 +1
    M ./Distribution/Server/BuildReport/BuildReports.hs -14 +14
    M ./Distribution/Server/BuildReport/State.hs -43 +29
    M ./Distribution/Server/Distributions/Backup.hs -1 +1
    M ./Distribution/Server/Distributions/State.hs -9 +8
    M ./Distribution/Server/Distributions/Types.hs -14 +6
    M ./Distribution/Server/Features/Check.hs -1 +1
    M ./Distribution/Server/Features/Core.hs -1 +1
    M ./Distribution/Server/Features/Distro.hs -1 +1
    M ./Distribution/Server/Features/Documentation.hs -1 +1
    M ./Distribution/Server/Features/DownloadCount.hs -1 +1
    M ./Distribution/Server/Features/HaskellPlatform.hs -2 +1
    M ./Distribution/Server/Features/Html.hs -1 +1
    M ./Distribution/Server/Features/Mirror.hs -2 +1
    M ./Distribution/Server/Features/NameSearch.hs -1 +1
    M ./Distribution/Server/Features/PackageList.hs -2 +1
    M ./Distribution/Server/Features/Packages.hs -1 +1
    M ./Distribution/Server/Features/PreferredVersions.hs -1 +1
    M ./Distribution/Server/Features/Reports.hs -1 +1
    M ./Distribution/Server/Features/ReverseDependencies.hs -1 +1
    M ./Distribution/Server/Features/Tags.hs -1 +1
    M ./Distribution/Server/Features/Upload.hs -1 +1
    M ./Distribution/Server/Features/Users.hs -1 +1
    M ./Distribution/Server/Instances.hs -44 +21
    M ./Distribution/Server/Packages/Backup.hs -2 +1
    M ./Distribution/Server/Packages/Backup/Tags.hs -1 +1
    M ./Distribution/Server/Packages/Downloads.hs -15 +11
    M ./Distribution/Server/Packages/Platform.hs -12 +10
    M ./Distribution/Server/Packages/Preferred.hs -20 +17
    M ./Distribution/Server/Packages/Reverse.hs -18 +14
    M ./Distribution/Server/Packages/State.hs -96 +57
    M ./Distribution/Server/Packages/Tag.hs -20 +17
    M ./Distribution/Server/Packages/Types.hs -22 +22
    R ./Distribution/Server/State.hs
    M ./Distribution/Server/Users/Backup.hs -4 +9
    M ./Distribution/Server/Users/Group.hs -9 +8
    M ./Distribution/Server/Users/State.hs -42 +33
    M ./Distribution/Server/Users/Types.hs -18 +11
    M ./Distribution/Server/Users/Users.hs -3 +3
    M ./Distribution/Server/Util/BlobStorage.hs -2 +2
    M ./Distribution/Server/Util/NameIndex.hs -7 +2
    M ./Distribution/Server/Util/TarIndex.hs -10 +6
    M ./hackage-server.cabal -4 +5
Fri Jul 22 22:23:58 BST 2011  Jeremy Shaw <jeremy at seereason.com>
  * added missing Distribution.Server.Acid
  Ignore-this: 1692c0b788ec2f0efd697e8c3c0c3772

    A ./Distribution/Server/Acid.hs
Fri Jul 22 23:24:57 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Fix mungeRequest (thanks to Jeremy).
  Ignore-this: 72483da60ccf900e5fcb6ae66652e71d

    M ./Distribution/Server.hs -1 +1
Sat Jul 23 00:46:23 BST 2011  Thomas.DuBuisson at gmail.com
  * Fix the tags edit capability
  Ignore-this: e0ed903d62b6f067ab4ddb0a05afe45f

    M ./Distribution/Server/Features/Html.hs -5 +20
    M ./Distribution/Server/Features/Tags.hs +2
Sat Jul 23 01:16:14 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Improve deprecation form.
  Ignore-this: ebcd1fff01fecf29366108f024f959c3

    M ./Distribution/Server/Features/Html.hs -3 +3
Sat Jul 23 01:16:35 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Change how we handle exceptions that result in error pages
  Ignore-this: 7ebf7080445454ec9e252f8529e3dd0f
  Instead of returning (Either ErrorResponse a) everywhere, use an
  error monad layered on top of ServerPartT.
  So now we can throw ErrorResponse as exceptions and not clutter up
  the code with error checking. We can also still do nicely formatted
  html error pages by using an exception handler.

    M ./Distribution/Server/Auth/Basic.hs -18 +15
    M ./Distribution/Server/Error.hs -56 +89
    M ./Distribution/Server/Features/Check.hs -50 +42
    M ./Distribution/Server/Features/Core.hs -23 +23
    M ./Distribution/Server/Features/Documentation.hs -15 +16
    M ./Distribution/Server/Features/Html.hs -102 +99
    M ./Distribution/Server/Features/LegacyRedirects.hs -6 +3
    M ./Distribution/Server/Features/PreferredVersions.hs -16 +16
    M ./Distribution/Server/Features/Reports.hs -35 +64
    M ./Distribution/Server/Features/Tags.hs -3 +3
    M ./Distribution/Server/Features/Upload.hs -23 +20
    M ./Distribution/Server/Features/Users.hs -32 +32
    M ./Distribution/Server/Util/ActionLog.hs -2 +2
    M ./Distribution/Server/Util/Happstack.hs -2 +2
    M ./Distribution/Server/Util/Serve.hs -3 +4
Sat Jul 23 05:17:23 BST 2011  Thomas.DuBuisson at gmail.com
  * Fix build error, probably from the Either/Error patch
  Ignore-this: b5eb91ea00e0d139d0a92042454ab4d6

    M ./Distribution/Server/Util/Happstack.hs -1 +2
Sat Jul 23 10:47:42 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Clarify the top level quota stuff and the http method hack
  Ignore-this: c4c671221a799a3b63a2b712678a2d3d

    M ./Distribution/Server.hs -20 +36
Sat Jul 23 10:48:44 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Add a TODO about clean shutdowns
  Ignore-this: 942ce02c27c447188250df0b59e6da7e

    M ./Distribution/Server.hs +2
Sat Jul 23 10:49:14 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Add consumeRequestBody utility and use it to replace takeRequestBody
  Ignore-this: a380baaad71e7236b075e18609c65476
  It simplifies the error handling.

    M ./Distribution/Server/Features/Distro.hs -7 +5
    M ./Distribution/Server/Features/Documentation.hs -8 +6
    M ./Distribution/Server/Features/Reports.hs -18 +13
    M ./Distribution/Server/Util/Happstack.hs -1 +16
Sat Jul 23 11:28:51 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Fix to the user group editor resource: fix removal of users
  Ignore-this: 84df907391174af1fd500f046d4c829f
  The groupResourceAt function makes a user group into a resource.
  It was not handling the remove correctly.

    M ./Distribution/Server/Features/Users.hs -1 +1
Sat Jul 23 17:58:29 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Fix the 401 not authorised response in the basic & digest auth code
  Ignore-this: 10d776ccffa2aeaa99a3f285372b4665

    M ./Distribution/Server/Auth/Basic.hs -1 +1
    M ./Distribution/Server/Error.hs -3 +3
Sat Jul 23 22:18:04 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Allow listing specific packages to mirror on the command line
  Ignore-this: 5cf915250f68b74786f842251905f3bf

     ./MirrorMain.hs -> ./MirrorClient.hs
    M ./MirrorClient.hs -11 +40
    M ./hackage-server.cabal -1 +1
Sat Jul 23 20:55:32 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Prevent packages from being deprecated in favor of themselves.
  Ignore-this: 12fd7511b1e486dd54e8cc9be1884dd5

    M ./Distribution/Server/Features/PreferredVersions.hs -3 +5
Sat Jul 23 22:25:56 BST 2011  Thomas.DuBuisson at gmail.com
  * Calculate the immutable tags on package upload
  Ignore-this: 71d495a7dbf48174f18ae448ac07bb4

    M ./Distribution/Server/Features/Html.hs -6 +3
    M ./Distribution/Server/Features/Tags.hs -18 +28
Sat Jul 23 22:48:29 BST 2011  Thomas.DuBuisson at gmail.com
  * Clean up Tags related cruft due to an inattentive developer
  Ignore-this: 740ec1302b026c6a594ebd89e1a19687

    M ./Distribution/Server/Features/Tags.hs -11 +5
Sat Jul 23 23:08:46 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Rework the Mirror upload feature
  Ignore-this: d251e00d329db4e342a7e03a3643cb22
  So it now does not use multi-part format, just PUT the raw .cabal
  or .tar.gz file directly.

    M ./Distribution/Server/Features/Mirror.hs -74 +86
    M ./Distribution/Server/Packages/Unpack.hs -4 +19
Sat Jul 23 23:36:30 BST 2011  David Lazar <lazar6 at illinois.edu>
  * Link to the user registration page from the User accounts page.
  Ignore-this: 8a2b280e6911aecaadae19339b7c9ff7

    M ./static/accounts.html -1 +2
Sat Jul 23 23:49:40 BST 2011  Matthew Gruen <wikigracenotes at gmail.com>
  * Correct inconsistency in auth realm
  Ignore-this: 7790a4a19af198a8fc5febff806bcc6f
  Realms do likely need more customization/coordination

    M ./Distribution/Server/Features/Users.hs -1 +1
Sun Jul 24 03:24:22 BST 2011  Matthew Gruen <wikigracenotes at gmail.com>
  * Fix PackageList not recognizing newly uploaded packages
  Ignore-this: edac02156481c0b9b5f25dbe54938f9

    M ./Distribution/Server/Features/PackageList.hs -17 +25
    M ./Distribution/Server/Features/Tags.hs -2 +2
Sun Jul 24 19:38:29 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Use digest auth by default
  Ignore-this: b607227f21d8a67bf01f2e5dea6a4d81

    M ./Distribution/Server/Auth/Basic.hs -1 +1
Sun Jul 24 19:41:14 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Warn but do not fail on packages that are rejected
  Ignore-this: 2af4c4176a2d79de58203a3135f1f4ec

    M ./MirrorClient.hs -2 +1
Sun Jul 24 21:28:55 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Move and rename a number of modules
  Ignore-this: 892c67234f999d3ed29cfd964a5121c8
  Trying to get a handle on what goes together logically
  and what the module dependencies are.

     ./Distribution/Server/Backup -> ./Distribution/Server/LegacyImport
     ./Distribution/Server/BuildReport -> ./Distribution/Server/Features/BuildReports
     ./Distribution/Server/Cache.hs -> ./Distribution/Server/Framework/Cache.hs
     ./Distribution/Server/Distributions -> ./Distribution/Server/Features/Distro
     ./Distribution/Server/Error.hs -> ./Distribution/Server/Framework/Error.hs
     ./Distribution/Server/Feature.hs -> ./Distribution/Server/Framework/Feature.hs
     ./Distribution/Server/Features/Reports.hs -> ./Distribution/Server/Features/BuildReports.hs
     ./Distribution/Server/Hook.hs -> ./Distribution/Server/Framework/Hook.hs
     ./Distribution/Server/Instances.hs -> ./Distribution/Server/Framework/Instances.hs
     ./Distribution/Server/LegacyImport/Export.hs -> ./Distribution/Server/Framework/BackupDump.hs
     ./Distribution/Server/LegacyImport/Import.hs -> ./Distribution/Server/Framework/BackupRestore.hs
     ./Distribution/Server/PackageIndex.hs -> ./Distribution/Server/Packages/PackageIndex.hs
     ./Distribution/Server/Resource.hs -> ./Distribution/Server/Framework/Resource.hs
     ./Distribution/Server/ResourceTypes.hs -> ./Distribution/Server/Framework/ResourceTypes.hs
     ./Distribution/Server/Types.hs -> ./Distribution/Server/Framework/Types.hs
     ./Distribution/Server/Util/BlobStorage.hs -> ./Distribution/Server/Framework/BlobStorage.hs
     ./Distribution/Server/Util/Serve.hs -> ./Distribution/Server/Util/ServeTarball.hs
    M ./Data/IntTrie.hs -1 +1
    M ./Data/StringTable.hs -1 +1
    M ./Distribution/Server.hs -10 +9
    M ./Distribution/Server/Acid.hs -3 +3
    M ./Distribution/Server/Auth/Basic.hs -1 +1
    M ./Distribution/Server/Features.hs -56 +124
    M ./Distribution/Server/Features/BuildReports.hs -19 +14
    M ./Distribution/Server/Features/BuildReports/Backup.hs -10 +10
    M ./Distribution/Server/Features/BuildReports/BuildReport.hs -1 +1
    M ./Distribution/Server/Features/BuildReports/BuildReports.hs -5 +5
    M ./Distribution/Server/Features/BuildReports/State.hs -4 +3
    M ./Distribution/Server/Features/Check.hs -11 +6
    M ./Distribution/Server/Features/Core.hs -14 +8
    M ./Distribution/Server/Features/Distro.hs -9 +4
    M ./Distribution/Server/Features/Distro/Backup.hs -6 +6
    M ./Distribution/Server/Features/Distro/Distributions.hs -2 +2
    M ./Distribution/Server/Features/Distro/State.hs -3 +3
    M ./Distribution/Server/Features/Distro/Types.hs -2 +2
    M ./Distribution/Server/Features/Documentation.hs -12 +7
    M ./Distribution/Server/Features/DownloadCount.hs -5 +2
    M ./Distribution/Server/Features/HaskellPlatform.hs -3 +1
    M ./Distribution/Server/Features/Html.hs -11 +6
    M ./Distribution/Server/Features/Json.hs -1 +1
    M ./Distribution/Server/Features/LegacyRedirects.hs -5 +1
    M ./Distribution/Server/Features/Mirror.hs -8 +3
    M ./Distribution/Server/Features/NameSearch.hs -9 +5
    M ./Distribution/Server/Features/PackageList.hs -5 +3
    M ./Distribution/Server/Features/Packages.hs -8 +5
    M ./Distribution/Server/Features/PreferredVersions.hs -8 +3
    M ./Distribution/Server/Features/ReverseDependencies.hs -7 +3
    M ./Distribution/Server/Features/StaticFiles.hs -5 +3
    M ./Distribution/Server/Features/Tags.hs -10 +5
    M ./Distribution/Server/Features/Upload.hs -10 +5
    M ./Distribution/Server/Features/Users.hs -6 +2
    A ./Distribution/Server/Framework/
    M ./Distribution/Server/Framework/BackupDump.hs -4 +4
    M ./Distribution/Server/Framework/BackupRestore.hs -4 +7
    M ./Distribution/Server/Framework/BlobStorage.hs -1 +1
    M ./Distribution/Server/Framework/Cache.hs -1 +1
    M ./Distribution/Server/Framework/Error.hs -1 +1
    M ./Distribution/Server/Framework/Feature.hs -4 +4
    M ./Distribution/Server/Framework/Hook.hs -1 +1
    M ./Distribution/Server/Framework/Instances.hs -1 +1
    M ./Distribution/Server/Framework/Resource.hs -2 +2
    M ./Distribution/Server/Framework/ResourceTypes.hs -3 +3
    M ./Distribution/Server/Framework/Types.hs -2 +2
    M ./Distribution/Server/LegacyImport/BulkImport.hs -4 +4
    M ./Distribution/Server/LegacyImport/UploadLog.hs -1 +1
    R ./Distribution/Server/LegacyImport/Utils.hs
    M ./Distribution/Server/Packages/Backup.hs -6 +5
    M ./Distribution/Server/Packages/Backup/Tags.hs -1 +1
    M ./Distribution/Server/Packages/Downloads.hs -1 +1
    M ./Distribution/Server/Packages/Index.hs -1 +1
    M ./Distribution/Server/Packages/PackageIndex.hs -2 +2
    M ./Distribution/Server/Packages/Platform.hs -1 +1
    M ./Distribution/Server/Packages/Preferred.hs -1 +1
    M ./Distribution/Server/Packages/Reverse.hs -2 +2
    M ./Distribution/Server/Packages/State.hs -4 +4
    M ./Distribution/Server/Packages/Tag.hs -1 +1
    M ./Distribution/Server/Packages/Types.hs -2 +2
    M ./Distribution/Server/Pages/BuildReports.hs -3 +3
    M ./Distribution/Server/Pages/Distributions.hs -1 +1
    M ./Distribution/Server/Pages/Index.hs -1 +1
    M ./Distribution/Server/Users/Backup.hs -1 +1
    M ./Distribution/Server/Users/State.hs -1 +1
    M ./Distribution/Server/Users/Users.hs -1 +1
    M ./Distribution/Server/Util/ActionLog.hs -1 +1
    M ./Distribution/Server/Util/Index.hs -2 +2
    M ./Distribution/Server/Util/ServeTarball.hs -2 +2
    M ./Distribution/Server/Util/TarIndex.hs -1 +1
    M ./MirrorClient.hs -1 +1
    M ./hackage-server.cabal -25 +24
Mon Jul 25 01:42:17 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Stop exporting various internals of features
  Ignore-this: 588ae6524965706bbcb44a73447a0609

    M ./Distribution/Server/Features/BuildReports.hs -1 +2
    M ./Distribution/Server/Features/Check.hs -1 +3
    M ./Distribution/Server/Features/Core.hs -2 +13
    M ./Distribution/Server/Features/Distro.hs -1 +3
    M ./Distribution/Server/Features/Documentation.hs -1 +1
    M ./Distribution/Server/Features/DownloadCount.hs -1 +12
    M ./Distribution/Server/Features/HaskellPlatform.hs -1 +2
    M ./Distribution/Server/Features/Html.hs -3 +4
    M ./Distribution/Server/Features/Json.hs -1 +1
    M ./Distribution/Server/Features/Mirror.hs -2 +3
    M ./Distribution/Server/Features/NameSearch.hs -1 +2
    M ./Distribution/Server/Features/PackageList.hs -2 +3
    M ./Distribution/Server/Features/Packages.hs -1 +14
    M ./Distribution/Server/Features/PreferredVersions.hs -1 +6
    M ./Distribution/Server/Features/ReverseDependencies.hs -1 +3
    M ./Distribution/Server/Features/Tags.hs -1 +4
    M ./Distribution/Server/Features/Upload.hs -3 +7
    M ./Distribution/Server/Features/Users.hs -34 +40
Mon Jul 25 02:48:51 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Support conditional/cached downloads
  Ignore-this: 790049ba617d69379c51ab457d66a73b
  Requires another patch to the HTTP lib

    M ./MirrorClient.hs -2 +50
Mon Jul 25 03:30:21 BST 2011  Duncan Coutts <duncan at well-typed.com>
  * Handle old hackage URLs in the mirror client
  Ignore-this: 601eb58403a7a1d6b74ef0d6ba786e8f

    M ./MirrorClient.hs -7 +14
Fri Jul 29 11:49:32 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Remove unused dependency on the uri package
  Ignore-this: 937aa41b93536d2c5dec696cdb39b756

    M ./Distribution/Server/Pages/Distributions.hs -2
    M ./hackage-server.cabal -2
Fri Jul 29 11:51:24 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Update author, maintainer and copyright info in .cabal file
  Ignore-this: c0d05aebd6954a7af85b3bda0e1ecc0e

    M ./hackage-server.cabal -7 +9
Fri Jul 29 12:08:40 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Tidy up the .cabal file
  Ignore-this: 5d71117dbad46b249baf0f5b62097bae

    M ./hackage-server.cabal -42 +45
Sat Aug  6 12:12:31 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Add the missing Framework module
  Ignore-this: 9a1c9474edd077a0d451d19635da3b33

    A ./Distribution/Server/Framework.hs
    M ./hackage-server.cabal +1
Sat Aug  6 12:36:12 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Add a cabal flag for a build configuration with a minimal featureset
  Ignore-this: 9e9c46dc434a33b7545e6d9909a8e42d

    M ./Distribution/Server/Features.hs -7 +12
    M ./hackage-server.cabal -25 +39
Sun Aug  7 11:39:54 BST 2011  Duncan Coutts <duncan at community.haskell.org>
  * Move to Cabal-1.8 rules for component deps
  Ignore-this: 33eeb44a6a1fe84a465f9ae4e24b75e5

    M ./hackage-server.cabal -15 +8



More information about the cabal-devel mailing list