Skip to content

Tags and deps #551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
65c956c
Tags for review
Jun 13, 2016
87db09e
Browsable Package Index
Jun 15, 2016
6efcaa3
Smoothened rough edges in tag proposals
Jun 18, 2016
138731c
Tag Aliasing
Jun 20, 2016
5c132eb
Cleaning up earlier code
Jun 21, 2016
aa5138d
Addresses #440 and #511
Jun 23, 2016
e5a512d
Polished voting interface
Jun 23, 2016
465f158
Miscalleneous
Jul 14, 2016
7c65c71
Maintainers link
Jul 16, 2016
329ca61
Minor Fixes
Jul 19, 2016
0ac3ce2
Multiple Maintaners
Jul 22, 2016
694f7cb
Array Doubling
Jul 22, 2016
098f35b
Ajax(ed?) package page redirects
Aug 1, 2016
078dd71
HLinted
Aug 3, 2016
e2e0138
Related packages
Aug 4, 2016
879a1c7
WebGL graph of packages and dependencies
Aug 13, 2016
a7494a1
Tabular search interface
Aug 30, 2016
4cc6547
Cleaned up HTML Templates
Aug 30, 2016
2a8a049
whole lotta cleanup for summer of haskell project
Oct 23, 2016
1ca833f
cleanup default index
Oct 23, 2016
270d3b4
change a remaining 'votes' to 'ratings'
Oct 23, 2016
abcfbe8
add missing datafiles
Oct 23, 2016
190c0a3
fix silly sdist datafiles error
Oct 23, 2016
2c3e31c
viewport fix
Oct 23, 2016
b4c4f35
one more datafiles tweak
gbaz Oct 23, 2016
30bcf5a
viewport fix for old template pages
gbaz Oct 23, 2016
cba1489
table sorting by name will now properly push deprecated packages to t…
gbaz Oct 23, 2016
6fae681
Move tagInPath from Core to where it's used
dcoutts Nov 25, 2016
fd6087d
Drop redundant results in revdep update transactions
dcoutts Nov 25, 2016
7a07d3b
Remove unused Chan of package id changes in revdep feature
dcoutts Nov 25, 2016
f0313de
Remove unused MemState ReverseIndex in revdeps feature
dcoutts Nov 25, 2016
613a160
Make the ReverseIndex fields strict
dcoutts Nov 25, 2016
70b24cf
constructReverseIndex doesn't need to use emptyReverseIndex
dcoutts Nov 25, 2016
0a8d0ea
Add a few cacheControls to the revdep feature GETs
dcoutts Nov 25, 2016
7bc6340
major reverse cleanup -- remove persistent state, do it all at init t…
gbaz Nov 26, 2016
8cea2c8
refactor auth handling and related for tags -- don't add new function…
gbaz Nov 26, 2016
9471d1f
drop ghc 7.6.3. from build matrix for travis
gbaz Nov 26, 2016
aaf0267
Wall cleanup, add functor constraints for ghc 7.8
gbaz Nov 26, 2016
923fd6b
further wall cleanup and 7.8 compat
gbaz Nov 26, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ notifications:

matrix:
include:
- env: CABALVER=1.24 GHCVER=7.6.3
compiler: ": #GHC 7.6.3"
addons: {apt: {packages: [cabal-install-1.24,ghc-7.6.3,alex-3.1.7,happy-1.19.5], sources: [hvr-ghc]}}
- env: CABALVER=1.24 GHCVER=7.8.4
compiler: ": #GHC 7.8.4"
addons: {apt: {packages: [cabal-install-1.24,ghc-7.8.4,alex-3.1.7,happy-1.19.5], sources: [hvr-ghc]}}
Expand Down
19 changes: 11 additions & 8 deletions Distribution/Server/Features.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import Distribution.Server.Features.Documentation (initDocumentationFeatur
import Distribution.Server.Features.BuildReports (initBuildReportsFeature)
import Distribution.Server.Features.LegacyRedirects (legacyRedirectsFeature)
import Distribution.Server.Features.PreferredVersions (initVersionsFeature)
-- [reverse index disabled] import Distribution.Server.Features.ReverseDependencies (initReverseFeature)
import Distribution.Server.Features.ReverseDependencies (initReverseFeature)
import Distribution.Server.Features.DownloadCount (initDownloadFeature)
import Distribution.Server.Features.Tags (initTagsFeature)
import Distribution.Server.Features.Search (initSearchFeature)
Expand Down Expand Up @@ -127,8 +127,8 @@ initHackageFeatures env@ServerEnv{serverVerbosity = verbosity} = do
initTagsFeature env
mkVersionsFeature <- logStartup "versions" $
initVersionsFeature env
-- mkReverseFeature <- logStartup "reverse deps" $
-- initReverseFeature env
mkReverseFeature <- logStartup "reverse deps" $
initReverseFeature env
mkListFeature <- logStartup "list" $
initListFeature env
mkSearchFeature <- logStartup "search" $
Expand Down Expand Up @@ -241,24 +241,27 @@ initHackageFeatures env@ServerEnv{serverVerbosity = verbosity} = do
tagsFeature <- mkTagsFeature
coreFeature
uploadFeature
usersFeature

versionsFeature <- mkVersionsFeature
coreFeature
uploadFeature
tagsFeature

{- [reverse index disabled]
reverseFeature <- mkReverseFeature
coreFeature
versionsFeature
-}


listFeature <- mkListFeature
coreFeature
-- [reverse index disabled] reverseFeature
reverseFeature
downloadFeature
votesFeature
tagsFeature
versionsFeature
usersFeature
uploadFeature

searchFeature <- mkSearchFeature
coreFeature
Expand All @@ -273,7 +276,7 @@ initHackageFeatures env@ServerEnv{serverVerbosity = verbosity} = do
uploadFeature
candidatesFeature
versionsFeature
-- [reverse index disabled] reverseFeature
reverseFeature
tagsFeature
downloadFeature
votesFeature
Expand Down Expand Up @@ -338,7 +341,7 @@ initHackageFeatures env@ServerEnv{serverVerbosity = verbosity} = do
, getFeatureInterface downloadFeature
, getFeatureInterface tagsFeature
, getFeatureInterface versionsFeature
-- [reverse index disabled] , getFeatureInterface reverseFeature
, getFeatureInterface reverseFeature
, getFeatureInterface searchFeature
, getFeatureInterface listFeature
, getFeatureInterface platformFeature
Expand Down
1 change: 0 additions & 1 deletion Distribution/Server/Features/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ data CoreResource = CoreResource {

-- | Find a PackageId or PackageName inside a path.
packageInPath :: forall m a. (MonadPlus m, FromReqURI a) => DynamicPath -> m a,

-- | Find a tarball's PackageId from inside a path, doing some checking
-- for consistency between the package and tarball.
--
Expand Down
Loading