Commit Graph

283 Commits

Author SHA1 Message Date
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
Michael Snoyman
45e7f50fea Allow uploading LTS and nightly snapshots 2014-12-10 10:32:13 +02:00
Michael Snoyman
529f9483cd /lts and /nightly routes are set up 2014-12-09 17:17:41 +02:00
Michael Snoyman
968805f01f Add WebsiteContent #48 2014-12-09 14:01:38 +02:00
Michael Snoyman
346cf7a8da Reverse dependencies #33 2014-12-08 16:15:56 +02:00
Michael Snoyman
cd53f7d0e5 Custom bundle names come from cabal file name #45 2014-12-02 16:28:14 +02:00
Michael Snoyman
a2697b1e27 Nicer bundle attachment names 2014-11-27 13:32:24 +02:00
Michael Snoyman
d111115b9c Fix upload-haddock to work with old-style PackageSetIdents 2014-11-25 10:36:12 +02:00
Michael Snoyman
a8911dbb3b Better URLs #37
URLs now look like /snapshot/2014-11-23-7.8hp-exc and similar.
2014-11-23 14:26:03 +02:00
Chris Done
a80ba1d7bf Select distinct tags from tags page
@snoyberg
2014-11-20 15:30:26 +01:00
Chris Done
190fef7adc Move tag part of slugs into own module, make tag banning use it (#34) 2014-11-20 14:55:54 +01:00
Chris Done
41a9160c19 Allow for empty banned tags list (#34) 2014-11-20 14:28:53 +01:00
Chris Done
f36df17c01 Add tag voting (#35) 2014-11-20 12:43:20 +01:00
Michael Snoyman
3fb5375230 Banned tag admin page
Pinging @chrisdone, decided to just bite the bullet and do it anyway
2014-11-20 12:44:39 +02:00
Michael Snoyman
985f48a6dc Banned tags #34 2014-11-20 12:26:45 +02:00
Michael Snoyman
fe4cda60f8 Clean up warnings 2014-11-19 11:08:45 +02:00
Michael Snoyman
01b86d368c Move to some newly added upstream functions 2014-11-19 09:36:16 +02:00
Michael Snoyman
8e610e35ae Be a bit more resilient to errors when compressing 2014-11-18 18:50:48 +02:00
Michael Snoyman
894f428a5b Better compressor-status termination messages 2014-11-18 18:37:20 +02:00
Michael Snoyman
b21694cbd6 Updated snapshot 2014-11-18 18:09:25 +02:00
Michael Snoyman
aae52c21e9 Better caching of package list 2014-11-17 12:22:20 +02:00
Michael Snoyman
8649e9d97b Cache-friendly headers #29 2014-11-15 20:25:58 +02:00
Chris Done
77a81b7a2f Display count for tags list/sort by that count (#26) 2014-11-14 13:54:50 +01:00
Chris Done
df66e5d982 Use same style as packages list for tag page (#17)
@DanBurton @snoyberg
2014-11-14 13:40:17 +01:00
Dan Burton
c5aef41fde Add tag pages and tags list with minimal styling. 2014-11-13 20:43:25 -08:00
Chris Done
e6fb29c9ee Fix stylesheet on all pages 2014-11-13 22:50:01 +01:00
Michael Snoyman
972fc5ae18 Minor cleanups from code review 2014-11-13 23:24:26 +02:00
Chris Done
c9671e7f3c Implement basic tagging (closes #16) 2014-11-13 22:20:57 +01:00
Michael Snoyman
d5989c8fbf Move liked classes into template
Per discussion with @DanBurton
2014-11-13 22:39:25 +02:00
Chris Done
436cdfb15e Like button tweaks (closes #15) 2014-11-13 20:30:44 +01:00
Dan Burton
9c229d2d4e Added like button functionality (#15) 2014-11-13 20:07:24 +01:00
Chris Done
a6bb737cc8 Restyle snapshots page 2014-11-13 15:53:18 +01:00
Chris Done
8f0e0e7aa3 Package list restyle (closes #18) 2014-11-13 15:53:18 +01:00
Chris Done
d705d63073 Restyle "recommended snapshots" list on homepage (closes #19) 2014-11-13 15:53:18 +01:00
Michael Snoyman
5b9ace6425 Show compressor status 2014-11-11 08:52:24 +02:00
Chris Done
b1d9b7e6d9 Show README and changelog from metadata table
@snoyberg

Check out these locally when your data is generated, they demonstrate
varying readme and changelog formats.

http://localhost:3000/package/yesod-core

http://localhost:3000/package/fay

http://localhost:3000/package/base

http://localhost:3000/package/conduit

http://localhost:3000/package/aeson

http://localhost:3000/package/bytestring

Pity there's no standard CHANGELOG format but it's better than
nothing and looks pretty in the conduit/base case.
2014-11-03 17:47:32 +01:00
Chris Done
d195dea789 Use getBy404 2014-11-03 16:37:47 +01:00
Michael Snoyman
f51e70c09e linkFor: use fpcomplete handle 2014-11-03 14:03:40 +02:00
Michael Snoyman
71d35bfa4f More concise recommended list
Problem: it's easy with the current "show four most recent" to run into
situations where- for example- only GHC 7.8 has had a successful build in
the past few days, and therefore it's the only snapshot that appears.
This gives a more consistent and useful listing of recommended
snapshots.

Styling of this is up for debate.
2014-11-03 14:03:40 +02:00
Chris Done
51744dc54d Pretty package page with metadata 2014-11-03 12:33:59 +01:00
Chris Done
0ac31b045f Add non-custom version of bootstrap for rest of pages 2014-11-03 12:33:59 +01:00
Michael Snoyman
20a95b4d24 Fix warnings 2014-10-24 13:51:26 +03:00
Michael Snoyman
3992ca4f38 Got the whole two thread system working 2014-10-24 13:51:26 +03:00
Dan Burton
cb3f1edffd Move and tweak impl of gzipHash 2014-10-24 13:51:26 +03:00
Michael Snoyman
904c3f3e70 Use suffix instead of fp (PEBKAC) 2014-10-24 13:51:26 +03:00
Michael Snoyman
8dc6c65b9d WIP: Planned fixes for the Haddock unpacking 2014-10-24 13:50:59 +03:00
Michael Snoyman
d299e1eef8 Don't recompress gz files 2014-10-24 13:50:59 +03:00
Michael Snoyman
2011967b08 Added some more FIXMEs 2014-10-24 13:50:59 +03:00
Michael Snoyman
0cfe2e8d41 Keep haddocks in a subdir 2014-10-24 13:50:59 +03:00
Michael Snoyman
9d6975aa55 Store cached, gzipped files
Pinging @manny-fp. This is similar to what we discussed. In a very rough
test, this brought the incremental disk usage for an extra set of docs
from 500MB to 20MB.
2014-10-24 13:50:59 +03:00
Michael Snoyman
765ed91767 Use cached widget for /package 2014-10-24 13:50:59 +03:00
Michael Snoyman
1d46dcf5d6 Display download stats on package page 2014-10-24 13:50:59 +03:00
Michael Snoyman
f42eb69498 Sanitize ident 2014-10-24 13:50:59 +03:00
Michael Snoyman
a68d05ad9f only exclusive links 2014-10-24 13:50:59 +03:00
Michael Snoyman
a1ed3d00ef Package list 2014-10-24 13:50:59 +03:00
Michael Snoyman
fc49565dd8 Silence a warning 2014-10-24 13:50:59 +03:00
Michael Snoyman
639e311093 Prototype package pages 2014-10-24 13:50:59 +03:00
Michael Snoyman
4cbf301051 Some tweaks for automated doc uploads 2014-10-24 13:50:59 +03:00
Michael Snoyman
5bed251284 Force Haddock unpacking right after upload 2014-10-24 13:50:59 +03:00
Michael Snoyman
5e4dcc090e Haddock uploading/display 2014-10-24 13:50:59 +03:00
Michael Snoyman
11f0d37904 cabal.config link 2014-10-24 13:50:59 +03:00
Michael Snoyman
25fa854a84 Track downloads 2014-10-24 13:50:51 +03:00
Chris Done
b041979b64 Include inclusive/exclusive as part of guide
@snoyberg Hopefully this'll ensure nobody "misses" the difference
2014-08-25 10:10:25 +02:00
Michael Snoyman
2b731f15fc Links for inclusive/exclusive Wiki page #3
Pinging @chrisdone
2014-08-25 10:10:22 +03:00
Chris Done
ff4e3457eb Simplify snapshot page 2014-08-24 11:49:56 +02:00
Chris Done
4f176c4c21 Getting started section 2014-08-21 13:46:51 +02:00
Chris Done
be5a3519c3 Use .==. for slug comparison
@snoyberg Okay, this type checks. E.like requires an IsString
constraint (pity, as Slug is technically string-like, but
smart-constructored)
2014-08-07 16:52:44 +02:00
Chris Done
13bb121027 Use user handle
@snoyberg Actually, rather, this?
2014-08-07 16:47:41 +02:00
Chris Done
617b14049e Use @fpcomplete (for local) or fpcomplete for production
@snoyberg
2014-08-07 16:45:55 +02:00
Michael Snoyman
92042ed193 Download bundles and metadata 2014-07-30 16:57:52 +03:00
Michael Snoyman
85939d1631 Fix all warnings 2014-07-30 12:10:45 +03:00
Chris Done
e2ca5dcfd6 Limit recommended snapshots to 4 results 2014-07-21 12:41:32 +02:00
Chris Done
a913a7dcd4 Restrict snapshots to fpcomplete-only 2014-07-21 12:41:32 +02:00
Michael Snoyman
673dad882d Automated alias settings on upload 2014-06-16 12:50:49 +03:00
Chris Done
4814d994dc Start of implementation of wireframe 2014-06-01 14:03:12 +02:00
Chris Done
6508d67fab Remove redundant imports 2014-05-20 17:31:31 +02:00
Michael Snoyman
09cf1b10a1 Remove some incriminating info from /system 2014-05-14 08:59:33 +03:00
Michael Snoyman
dab17dc988 A little more cleanup debugging 2014-05-14 08:46:02 +03:00
Michael Snoyman
ccfadfcee2 System monitor and /tmp cleanup 2014-05-14 08:28:00 +03:00
Michael Snoyman
7e3abca045 Less lazy I/O (use tar command line tool) 2014-05-12 08:48:13 +03:00
Michael Snoyman
d1ce84317d A little more progress 2014-04-17 20:48:12 +03:00
Michael Snoyman
8ae086ae08 Do uploads in background 2014-04-17 20:30:52 +03:00
Michael Snoyman
404fd47e7b Aliases 2014-04-17 19:50:01 +03:00
Michael Snoyman
51532cd4ee Some missing files 2014-04-16 10:43:26 +03:00
Michael Snoyman
b3a5c53a0b Some fixes 2014-04-13 09:16:05 +03:00
Michael Snoyman
33206e8dc1 Remove orphans 2014-04-10 19:39:09 +03:00
Michael Snoyman
e278bc65ca base16 encoding 2014-04-10 19:36:18 +03:00
Michael Snoyman
60e1de61a2 Working! 2014-04-10 13:48:01 +03:00
Michael Snoyman
613d47e129 Missing code 2014-04-10 12:57:53 +03:00
Michael Snoyman
95250c5b09 Blob storage and downloading from Hackage 2014-04-10 10:59:58 +03:00
Michael Snoyman
3c5637dc6d Authentication system 2014-04-09 14:38:54 +03:00
Michael Snoyman
714ee2b272 Scaffolding 2014-04-09 10:52:04 +03:00