Commit Graph

241 Commits

Author SHA1 Message Date
Michael Snoyman
7758078625 GetStackageDatabase typeclass 2015-05-12 11:42:19 +03:00
Michael Snoyman
f08978fadf StackageHome mostly working 2015-05-12 08:37:29 +03:00
Michael Snoyman
c04686aad0 Initial Stackge.Database 2015-05-11 20:23:09 +03:00
Michael Snoyman
d956b074c0 Delete a whole bunch of stuff, nothing works 2015-05-11 17:46:07 +03:00
Michael Snoyman
06c5059392 DocsOnS3 table 2015-05-11 12:34:20 +03:00
Michael Snoyman
0992779e82 Clean up warnings 2015-05-11 10:39:46 +03:00
Michael Snoyman
13d93fc25e Fix an incomplete pattern match 2015-05-11 08:34:30 +03:00
Michael Snoyman
cb85530cfa Have uploader specify the nightly day 2015-05-11 07:47:42 +03:00
Michael Snoyman
9c57579caa Switch to stackage-build-plan 2015-05-10 12:06:02 +03:00
Dan Burton
025782be8d Add ghc-major-version to Stackage table #88 2015-05-01 21:37:53 -07:00
Michael Snoyman
511b1c21e9 Added /download/snapshots.json 2015-05-01 11:39:24 +03:00
Michael Snoyman
f03ada0f81 Add nightly to the list of snapshots
I also cleaned up the LTS code. It currently had the assumption that LTS
major versions would be monotonically increasing from 0 without gaps.
While likely to be true, that's slightly brittle, and did in fact break
in my testing (where I only had an lts-2.4 in the database).
2015-05-01 10:16:43 +03:00
Dan Burton
cdd059d9eb Address minor problems with download page #93 2015-04-28 11:53:53 -07:00
Michael Snoyman
7f26cc26a9 Shell script mime type 2015-04-28 15:23:50 +03:00
Michael Snoyman
cafa6b0496 Merge pull request #92 from fpco/download-handler
Download handler
2015-04-26 08:48:58 +03:00
Dan Burton
34d1d628e8 Reorganize hosting of stackage-setup binary and yaml 2015-04-24 13:43:52 -07:00
Dan Burton
2f1fb53537 stackage-setup prerelease download page #87 2015-04-23 21:28:57 -07:00
Michael Snoyman
ddfce6e551 Add JSON build plan (which includes flags #91) 2015-04-22 11:53:59 +03:00
Dan Burton
1117ca93c9 Adjusted design related to stackage-setup per #87 #88 2015-04-21 16:29:58 -07:00
Dan Burton
c837587609 Add sketch of 'environment.json' and 'lts-snapshots.json' 2015-04-15 18:26:26 -07:00
Dan Burton
80cb890dad Add sketch of 'stackage' executable download pages 2015-04-15 16:35:19 -07:00
Dan Burton
bfbe634e5f Add download link for hoogle database 2015-04-03 15:00:12 -07:00
Michael Snoyman
dd375bbbc1 Revert "Updated raw bundle URL"
This reverts commit d6ccfc04b9.
2015-03-30 13:21:13 +03:00
Michael Snoyman
5d5b9448ec Revert "Typo"
This reverts commit 027b562aa3.
2015-03-30 13:21:04 +03:00
Michael Snoyman
027b562aa3 Typo 2015-03-30 12:23:12 +03:00
Michael Snoyman
d6ccfc04b9 Updated raw bundle URL 2015-03-30 12:15:30 +03:00
Michael Snoyman
4ec9caab59 LTS update, warning cleanup 2015-03-26 18:50:38 +02:00
Michael Snoyman
55880e0f15 Treat package list instead as a set 2015-03-26 17:57:28 +02:00
Michael Snoyman
d69497ebf9 Workaround for missing HOME variable 2015-03-26 17:43:21 +02:00
Michael Snoyman
a3d679f2a3 Add BuildPlanR 2015-03-26 17:34:58 +02:00
Dan Burton
ad091514a7 sitemap now streams from the database 2015-03-23 14:35:54 -07:00
Dan Burton
980cf46690 Add sitemap #20 2015-03-23 12:02:05 -07:00
Michael Snoyman
e9aec442e9 stackage-types, simpler travis 2015-03-22 16:16:28 +02:00
Michael Snoyman
ec57908a63 Fix a build failure
Pinging @DanBurton @chrisdone
2015-03-19 13:45:32 +02:00
Michael Snoyman
706a977e19 Fix upload v2 core packages fpco/stackage#481
Simple fix: was only adding packages from the build plan, not from the
core libraries list. Most of the annoyance in the patch is just dealing
with the multiple PackageName and Version types.
2015-03-19 13:42:31 +02:00
Dan Burton
5c3e4adf10 cabal.config links should always be http; cabal doesn't support https. #83 2015-03-18 14:28:18 -07:00
Dan Burton
980aa4c484 Use persistent count instead of esqueleto countRows, as suggested by @chrisdone. 2015-03-18 11:10:39 -07:00
Michael Snoyman
fd89710c69 Better support for pre-existing snapshots 2015-03-18 13:00:58 +02:00
Michael Snoyman
2b4d9a667b Merge branch 'new-upload-v2'
Conflicts:
	Application.hs
2015-03-18 09:06:56 +02:00
Dan Burton
07fb2c9290 Snapshot list pagination now correctly uses row count to determine whether the last page has been reached. 2015-03-17 11:20:09 -07:00
Michael Snoyman
70a59af6c1 Stop tracking upload times from Hackage 2015-03-16 14:33:57 +02:00
Michael Snoyman
0bf235760b Complete (but untested) UploadV2 2015-03-16 14:20:01 +02:00
Michael Snoyman
3c4e132774 Remove some dead code 2015-03-16 13:36:31 +02:00
Michael Snoyman
6cf5be6ff1 Remove bundle links in preparation of much larger v2 bundles 2015-03-16 13:34:10 +02:00
Michael Snoyman
93f91708ca Make it compile 2015-03-16 11:40:44 +02:00
Michael Snoyman
4e4362f19b Remove unnecessary if hasBundle 2015-03-15 19:05:56 +02:00
Michael Snoyman
041d3aed21 Remove view code (fixes #79) 2015-03-15 18:27:35 +02:00
Michael Snoyman
0abc55d76e Store progress info in database (fixes #78) 2015-02-20 09:41:05 +02:00
Michael Snoyman
af28229971 Add /package-counts 2015-01-07 12:05:12 +02:00
Chris Done
a980c31371 Fix warnings; unused things mostly
@mgsloan just a heads up, pull before you start hacking, might save you
a merge
2015-01-06 13:41:09 +01:00
Michael Snoyman
2f0b328614 Add Handler.BuildVersion 2015-01-06 10:14:19 +02:00
Michael Snoyman
cb9736f50b Improve styling a bit 2015-01-05 10:46:36 +02:00
Michael Snoyman
cb2ef331e6 Do Hoogle database generation as a cron job #70 2015-01-05 09:00:45 +02:00
Michael Snoyman
7c94b008aa Persist Hoogle DBs 2015-01-04 21:28:30 +02:00
Michael Snoyman
ad28109f46 Disable cachedWidget to avoid memory exhaustion 2015-01-04 16:51:46 +02:00
Michael Snoyman
137453d9a2 Better unpacking code 2015-01-04 16:43:11 +02:00
Michael Snoyman
0b7d1e4bd0 Make Hoogle URLs more consistent with other URLs 2015-01-04 14:13:47 +02:00
Michael Snoyman
10e255c3cc Remove unnecessary dropExtension 2015-01-04 14:01:47 +02:00
Michael Sloan
95c5835266 Write hoogle DB generation errors to a file #47 2015-01-02 20:18:01 -08:00
Michael Snoyman
b007d36631 WIP changes to do Hoogle stuff in background 2014-12-30 08:51:57 +02:00
Michael Sloan
3229c1ef56 Create Hoogle DB on demand, if necessary #47 2014-12-27 23:35:13 -08:00
Michael Sloan
eeb0aae9d9 Avoid unnecessarily looking up StackageId in haddock unpacker 2014-12-27 20:40:05 -08:00
Michael Sloan
f635977b02 Tweak hoogle style and behavior #47 2014-12-27 20:12:06 -08:00
Michael Sloan
c791c81ede Copy + modify code from fpcomplete.com for hoogle #47 2014-12-27 20:12:06 -08:00
Michael Sloan
c0fed800cc Generate Hoogle DB when haddocks are unpacked #47 2014-12-27 20:12:06 -08:00
Michael Snoyman
125e7ea130 removeTreeIfExists 2014-12-26 10:16:11 +02:00
Michael Snoyman
cb36a196ba Module listing 2014-12-25 15:01:14 +02:00
Michael Snoyman
5cb2a6a296 Docs fallback 2014-12-24 09:23:38 +02:00
Michael Snoyman
a7254a0140 Workaround for non-present base 2014-12-24 09:07:31 +02:00
Michael Snoyman
7ac0fd8dbc Package pages per snapshot
This allows us to replace the Haddock-generate contents pages with our
snapshot/package pages.
2014-12-24 08:44:52 +02:00
Michael Snoyman
af2ea0952a Use a nullable column to speed up migration 2014-12-23 11:30:55 +02:00
Michael Snoyman
f0a8848456 Global configuration instructions #67 2014-12-23 10:36:51 +02:00
Michael Snoyman
9d745c9c42 Support for "installed" core packages #68 2014-12-22 23:04:13 +02:00
Dan Burton
b06424463e Add deprecation info to stackage (#42) 2014-12-21 13:48:15 -08:00
Dan Burton
edb4b93b49 Paginate 'all snapshots' list. (#41) 2014-12-19 18:33:58 -08:00
Michael Snoyman
d8925a9fed Clip package list to 5000 to avoid memory exhaustion 2014-12-19 10:12:55 +02:00
Michael Snoyman
3ee2110602 More sanity in docmap uploading 2014-12-18 10:24:19 +02:00
Michael Snoyman
e4937fca5d Include overwrite packages in cabal.config #65 2014-12-17 07:32:54 +02:00
Michael Snoyman
002192aed7 Add newline at end of cabal.config #63 2014-12-16 14:39:36 +02:00
Chris Done
2499b7b390 Fix compiler warnings 2014-12-16 12:03:25 +01:00
Chris Done
c39cd34765 Don't make a README section if the content's empty 2014-12-16 11:48:34 +01:00
Michael Snoyman
46c1b6e97f Initial older releases code 2014-12-15 18:13:48 +02:00
Chris Done
6f6c973d07 Fix up package where clause 2014-12-15 13:13:04 +01:00
Chris Done
1598423a6a Add LTS Haskell and Stackage Nightly links
Also made getPackageR slightly less horrific
2014-12-15 12:53:06 +01:00
Chris Done
b498d0a041 Separate page for all snapshots of a package 2014-12-15 11:49:37 +01:00
Michael Snoyman
4ab560e0c0 Snapshot page fixes 2014-12-15 11:45:42 +02:00
Chris Done
41307c3343 List packages in snapshot page 2014-12-14 21:53:00 +01:00
Chris Done
8010783064 Add hoempage link and collapse likes and tags 2014-12-14 20:55:24 +01:00
Chris Done
f7dde0a8e0 Add synopsis to package page 2014-12-14 20:41:17 +01:00
Chris Done
8d056968d0 Move snapshots and docs links to the top 2014-12-14 20:38:37 +01:00
Chris Done
f98e513f7a New homepage and new top nav (#52) 2014-12-14 20:18:40 +01:00
Michael Snoyman
0364b87aa1 Only admins can use the lts and nightly slug prefixes 2014-12-14 09:59:47 +02:00
Michael Snoyman
66bd8eb752 Add back old homepage 2014-12-14 08:10:15 +02:00
Michael Snoyman
046d3b6094 Support doc maps 2014-12-13 20:28:12 +02:00
Michael Snoyman
6732b2827a Changes for nice install page 2014-12-12 12:09:20 +02:00
Michael Snoyman
6b25df3e59 authors and install pages 2014-12-11 12:21:30 +02:00
Michael Snoyman
cab4e08fcc ?download=true on cabal.config 2014-12-11 12:19:00 +02:00
Michael Snoyman
861ca55fc8 More informative cabal.config 2014-12-11 07:42:10 +02:00
Michael Snoyman
522d2228a9 Package page per snapshot #36 #49
This is not yet live. We'll have a link for all packages in each
snapshot, which includes the version number, doc link if available, and
synopsis.
2014-12-10 12:06:55 +02:00
Michael Snoyman
6f4e9eb4fd Track whether an individual package has documentation #49 2014-12-10 11:12:53 +02:00