Michael Snoyman
54e475e43e
Remove the timeouts, hope for the best
2020-11-13 11:08:02 +02:00
Michael Snoyman
dcb1485e50
Revert "Disable latests"
...
This reverts commit 9a77dd3394 .
2020-11-13 10:54:20 +02:00
Alexey Kuleshevich
af20bc6291
Infer pg pool size from number of caps by default
2020-11-15 00:21:21 +03:00
Alexey Kuleshevich
6389b4468f
Disabled /package/ page. See #299
2020-11-11 02:47:03 +03:00
Alexey Kuleshevich
098d5176d7
Disabled /SnapName/docs/ page. See #300
2020-11-11 02:47:03 +03:00
Michael Snoyman
9a77dd3394
Disable latests
2020-11-10 15:00:53 +02:00
Jens Petersen
a726444afd
home: move recent snapshots from News to Releases/ghc section
...
(rendering untested)
2020-11-02 18:23:15 +08:00
Michael Snoyman
44dd6a5c5d
Merge pull request #296 from juhp/website-tweaks
...
homepage rework and other improvements
2020-11-01 17:12:44 +02:00
Jens Petersen
e086b058f6
put latest nightly and lts in News: drop rows and Recent Snapshots
2020-10-31 21:37:43 +08:00
Jens Petersen
a33bcceb41
drop redundant import of bimap
2020-10-31 21:28:03 +08:00
Jens Petersen
7bc469c5f3
homepage layout changes and more [wip draft]
...
- enable navbar for homepage
- more navbar entries
- lts-16
- drop /?page
- [q] can hoogle be updated to 5.0.18?
- improve /snapshots "buttons"
- improve snapshot top matter
- [q] better to use haskellstack.org ?
2020-10-31 20:04:08 +08:00
Michael Snoyman
722f441d65
More timeouts
2020-10-27 14:11:55 +02:00
Michael Snoyman
615667401f
Add a timeout on the package page
2020-10-27 13:50:29 +02:00
Michael Snoyman
bfb01a7a92
yesod devel leverages SQLite for simplicity
2020-10-19 13:58:48 +03:00
Michael Snoyman
14c4924281
Post title on homepage
2020-10-19 09:48:18 +03:00
Michael Snoyman
98df84df28
/stats endpoint
2020-10-16 04:21:08 +03:00
Michael Snoyman
88f951a0b8
Don't vacuum
2020-09-07 09:00:52 +03:00
Michael Snoyman
0680b420e9
Revert "Try deleting Hoogle DBs to save disk space"
...
This reverts commit ebc27e0746 .
2020-09-03 18:52:32 +03:00
Michael Snoyman
3d8cd6a115
Remove Hoogle lock
2020-09-03 16:03:01 +03:00
Michael Snoyman
68fa14a4bb
Force using only latest Hoogle DBs
2020-09-02 17:39:52 +03:00
Michael Snoyman
4e7e62c3dc
Revert "Recover from Hoogle creation errors"
...
This reverts commit 42f4f7e586 .
2020-08-27 13:33:09 +03:00
Michael Snoyman
42f4f7e586
Recover from Hoogle creation errors
2020-08-27 10:41:02 +03:00
Michael Snoyman
26d4a2312e
Cache latest version
2020-08-27 10:25:06 +03:00
Michael Snoyman
ebc27e0746
Try deleting Hoogle DBs to save disk space
2020-08-27 09:44:59 +03:00
Michael Snoyman
fbbf169e58
Revert "TEMP: gut out expensive queries"
...
This reverts commit 220a57da4c .
I just tested this against the live database, and everything seems to
work now.
2020-08-20 07:22:54 +03:00
Michael Snoyman
6eb463f20c
Remove dropdowns on diff page
2020-08-20 05:58:50 +03:00
Sibi Prabakaran
a960196e02
Combine three transactions into a single one
2020-07-23 11:28:10 +05:30
Sibi Prabakaran
e16fb64620
Benchmark stackage queries
2020-07-09 16:10:05 +05:30
Michael Snoyman
220a57da4c
TEMP: gut out expensive queries
2020-07-07 22:07:13 +03:00
Michael Snoyman
0823066401
Configurable poolsize, longer timeout
2020-07-07 13:58:55 +03:00
Michael Snoyman
3393217f66
Keep using old Stack versions on API failures
2020-04-24 12:41:33 +03:00
Michael Snoyman
b80a7f9a52
No HashMaps needed
2020-04-19 20:10:54 +03:00
Michael Snoyman
98f2fa250f
Add a bunch of caching
2020-04-19 18:41:14 +03:00
Michael Snoyman
f5056a2b8c
Less memory intensive diff, block robots
2020-04-19 16:35:40 +03:00
Michael Snoyman
d724878c2c
Turn off the all-cabal-* mirror checks
2020-04-05 15:18:16 +03:00
Michael Snoyman
bd40aeddd9
Retry downloading the deprecated.json file
2020-03-13 12:21:58 +02:00
Alexey Kuleshevich
fe25b2fa2f
Record available hoogle db files per snapshot + hoogle version combination:
...
* Make sure hoogle db is marked as available, when there is a copy on S3
* Create db even with `--do-no-upload` flag (useful for testing)
* Make sure home page uses latest lts with hoogle db available
2020-02-14 22:19:16 +03:00
Michael Snoyman
96973cac11
More snapshots for Hoogle
2020-02-13 18:02:43 +02:00
Michael Snoyman
ef0247d3bb
Newest Hoogle first
2020-02-13 10:41:19 +02:00
Alexey Kuleshevich
bdcdd1887a
Store fallback cabal files into pantry. And few follow up improvements:
...
* Fix atomic durable writing, since issue in RIO was fixed
* Log information about falling back onto the core-cabal-files repo
* Convert conduit pipe to Maybe fishes.
* Make sure module names, package name and version are added for fallback
cabal files
2020-02-12 19:44:34 +03:00
Alexey Kuleshevich
8e247dde03
Update to ghc-8.8, pantry-0.2 and Cabal-3.0
2020-02-12 02:10:14 +03:00
Alexey Kuleshevich
722260e1d4
Addition of fallback repository with core cabal files
2020-02-12 00:40:31 +03:00
YAMAMOTO Yuji
cc7b12dcd7
Try to fix #277 by deleting verbose info
...
Problem
====
Too slow response from stackage.org/feed/.
So slow that my favorite RSS client (Slack's RSS integration) doesn't work due to timeout.
See https://github.com/fpco/stackage-server/issues/277 for details.
How?
====
Delete the content of the feed if stackage.org/feed is given `withDiff=False` as its query parameter.
Why?
====
I can't confirm it's the true cause of the slowdown (because the server is too hard to run on my machine!).
But anyway I think the html content of the feed is too much:
I just want to know the new LTS Haskell is released by the feed.
I'll click the link if I do want to see the detailed updates.
In addition, there's a reason generating the content causes the slowdown:
Other pages using `getSnapshots` (e.g. https://www.stackage.org/snapshots , https://www.stackage.org/ )
are not as slow as https://www.stackage.org/feed/ .
So the `getSnapshots` query dosen't seem to be the biggest cause.
And the left possible cause is `mkFeed`.
NOTE
====
I've tested nothing because it's too hard to run this app
without configuring my AWS account.
2020-01-13 11:48:53 +09:00
Michael Snoyman
ab8d383cd5
Disable custom Haddock style by default #278
2019-10-15 09:55:10 +03:00
Michael Snoyman
2701f186ca
Try to avoid chunkedFile #275
2019-09-25 14:43:31 +03:00
Michael Snoyman
dfe0122edf
Cron job: more Hoogle debug info
2019-09-25 12:02:18 +03:00
Alexey Kuleshevich
cbfb68bdc8
Implemented automatic undeprecation of previously deprecated packages, also:
...
* Made sure update of deprecated is done each run, independently of Hackage update
2019-07-30 13:28:17 +03:00
Alexey Kuleshevich
39d1e0c867
Make sure links to haddocks are not generated for modules that have no haddock
2019-07-11 14:07:42 +03:00
Alexey Kuleshevich
05307bded8
Fix priority of core packages:
...
* `global-hints.yaml` is now used as a fallback for packages that
are not included in the snapshot
* Fix ordering of dependencies on the package page
2019-07-06 20:52:52 +03:00
Alexey Kuleshevich
3d426e1e9d
Fix the query for selecting the newest package version. Related to 07f3ef293f
2019-06-26 14:06:48 +03:00