Commit Graph

921 Commits

Author SHA1 Message Date
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
Michael Snoyman
c308e89a16
Merge pull request #293 from fpco/bench
Benchmark stackage queries
2020-07-24 08:01:22 +03:00
Sibi Prabakaran
4204ca90da
Add bench branch temporarily 2020-07-23 12:16:16 +05:30
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
a24d962151
Testing out some new indices 2020-07-07 18:40:23 +03:00
Michael Snoyman
6385fa6de4
Bump base-build 2020-07-07 15:02:18 +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
4ad7e421b2
Use newer base runtime image 2020-04-05 18:50:54 +03:00
Michael Snoyman
c0e6c9d091
Improve base image 2020-04-05 18:50:08 +03:00
Michael Snoyman
cd8e4ff345
Include Git history 2020-04-05 18:29:46 +03:00
Michael Snoyman
be582f4ced
Update base images 2020-04-05 18:23:23 +03:00
Michael Snoyman
a5562eea85
Add LANG env var 2020-04-05 16:51:04 +03:00
Michael Snoyman
f145417e06
Copy package.yaml instead 2020-04-05 16:29:19 +03:00
Michael Snoyman
3992038a27
Base on fpco/pid1 2020-04-05 16:22:54 +03:00
Michael Snoyman
5a6d02eb46
Revert "Use stack-build as base"
This reverts commit ef2595caf8.
2020-04-05 16:08:44 +03:00
Michael Snoyman
ef2595caf8
Use stack-build as base 2020-04-05 16:05:30 +03:00
Michael Snoyman
ec23962208
Move around Dockerfiles 2020-04-05 15:54:27 +03:00
Michael Snoyman
6afbf09892
Build/push runtime image using Github Actions 2020-04-05 15:38:33 +03:00
Michael Snoyman
dcc4ec7213
Base build 2020-04-05 15:29:33 +03:00
Michael Snoyman
d724878c2c
Turn off the all-cabal-* mirror checks 2020-04-05 15:18:16 +03:00
Michael Snoyman
25dcc40e70
Drop Helm 2020-03-23 13:04:33 +02:00
Michael Snoyman
bd40aeddd9
Retry downloading the deprecated.json file 2020-03-13 12:21:58 +02:00
Michael Snoyman
34ec0783c3
Merge pull request #286 from Magicloud/master
Increase memory limitation for stackage-server-cron
2020-03-08 09:59:26 +02:00
Magicloud
83b3fcc44a Increase memory limitation for stackage-server-cron
During process with hoogle, the memory usage excceeds 2GiB and causes pod crashing loop.
2020-03-08 15:37:45 +08:00
Michael Snoyman
c362dafc18
Merge pull request #285 from lehins/improve-hoogle-db-loading
Record available hoogle db files per snapshot + hoogle version
2020-02-15 18:19:50 +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
Michael Snoyman
227d8a9bc9
Use GHC-shipped Cabal 2020-02-13 10:41:19 +02:00
Michael Snoyman
0304353465
Set LANG for Gitlab build 2020-02-12 19:55:28 +02:00
Michael Snoyman
eb46df2050
Merge pull request #283 from lehins/external-cabal-files
External cabal files
2020-02-12 19:19:24 +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
Michael Snoyman
1455e63a97
Merge pull request #282 from igrep/fix-277
Try to fix #277 by deleting verbose info
2020-01-13 07:10:33 +02: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
806385c25f
Disable Disqus due to spam 2020-01-12 10:11:04 +02:00
Michael Snoyman
f3ee682725
Merge pull request #281 from develop7/feature-tweak_version_diff
Improve the snapshot diff view
2019-12-10 16:57:57 +02:00
Andrei Dziahel
b89c4195ef Improve the snapshot diff view
Replaced "package-name-1.2.3.4 package-2.3.4.5" representation with
"package-name 1.2.3.4 → 2.3.4.5", since package name is always the same.
2019-12-10 17:30:27 +03:00
Michael Snoyman
10d6f7fde7
Merge pull request #280 from stackbuilders/fix_status_badge
Update build status badge
2019-12-03 16:36:16 +02:00
Sebastián Estrella
a773f49dc5 Update build status badge 2019-12-03 08:53:18 -05:00