Commit Graph

113 Commits

Author SHA1 Message Date
Bryan Richter
cd621636eb
Disable /build-version
Closes #339
2024-12-31 14:37:39 +02:00
Preetham Gujjula
d3d0521890
Allow customizing badge color with query string
With this change, the /package/#PackageNameP/badge/#SnapshotBranch/
endpoint takes a new query string "color" that controls the badge color.
The color can be specified as a hex code or a named color from
Graphics.Badge.Barrier.Color in the barrier library. The badge color
defaults to "brightgreen", preserving default behavior when no query
string is supplied.
2024-05-20 14:24:53 -04:00
Bryan Richter
652b78ab6b
Hush hlint 2024-04-03 15:48:10 +03:00
Bryan Richter
9420272b55
Log unexpected HTTP response fetching Hoogle DB 2024-04-03 15:45:21 +03:00
Bryan Richter
b56aaf33fc
Add comments, change names for understanding 2024-04-03 15:44:06 +03:00
Bryan Richter
eebde8b817
Add a bunch of docs around Hoogle DBs
so I remember how it all works.
2024-02-16 13:14:45 +02:00
Bryan Richter
9f7d079cfe
Hack to support building with Cabal >=3.4
It remains to be seen if this has any user-visible change. Hopefully
not, but even if it does, it shouldn't cause any breakage: ">=0" is
forward and backward-compatible.
2024-02-13 14:50:01 +02:00
Bryan Richter
5cb5668295
Revert to previous pinned version of pantry
The new pantry version in lts-22.6 was not compatible with the database
and/or config on the stackage server.
2024-02-13 09:20:41 +02:00
Bryan Richter
33e5cb2589
Upgrade all the way to lts-22.6
I stopped at 22.6 because I'm using NixOS and ghc-9.6.3 is the last
version available on the stable channel right now. Later snapshots use
9.6.4.
2024-02-12 15:15:22 +02:00
Bryan Richter
c1c7d14e15
Upgrade some hoogle messages to warnings 2024-02-12 15:12:57 +02:00
Bryan Richter
6b4232b1c6
Add download-bucket-url option 2024-01-08 16:45:50 +02:00
Bryan Richter
a2f77219b6
Remove unused TRUNCATE
The LatestVersion cache table was removed in
f8a82ec511.
2023-12-27 15:18:47 +02:00
Bryan Richter
a4cacd6991
Enable overriding S3 endpoint with AWS_S3_ENDPOINT 2023-12-23 12:27:21 +02:00
Bryan Richter
6331131b68
Enable running stackage-server-cron on an empty DB
It did run migrations, but ran them in the wrong spot.
2023-12-22 18:48:30 +02:00
Jens Petersen
b3e7fcbfe1 fix diff/ ordering of cased packages with consistent use of toCaseFold
fixes #315

Thank you to @alaendle and @andreasabel
2023-06-25 20:54:45 +08:00
Jens Petersen
2f8e8ba95a update to lts-18
- Cabal 3.2 PackageDescription uses ShortText
- esqueleto module changes
- silence a few warnings
2023-06-25 15:40:17 +08:00
Janus Troelsen
03ca4b5255 Compatibility with newer aeson 2023-06-24 23:24:24 +02:00
Janus Troelsen
25e12579dd Compatibility with newer persistent 2023-06-24 23:23:54 +02:00
Janus Troelsen
af987be2ab Compatibility with newer haddock-library 2023-06-24 21:30:27 +02:00
Michael Snoyman
041255cc29
Merge pull request #312 from fpco/311-less-snapshots
Try showing less snapshots #311
2022-07-14 03:47:20 +03:00
Andrea Bedini
ab379c6cbe
Add with-compiler to snapshot's cabal.config file
This patch adds the specification of what compiler to use for a snapshot
using cabal's "with-compiler" option.
2022-06-08 20:06:33 +08:00
Michael Snoyman
add86d4417
Only show 50 entries 2022-04-21 13:32:12 +03:00
Michael Snoyman
f39c950448
Revert "Try showing less snapshots #311"
This reverts commit 4ef23fd0f5.
2022-04-21 13:31:54 +03:00
Michael Snoyman
3f7b642947
Revert "bar"
This reverts commit 12462dff95.
2022-04-21 13:31:29 +03:00
Michael Snoyman
12462dff95
bar 2022-04-21 13:13:21 +03:00
Michael Snoyman
4ef23fd0f5
Try showing less snapshots #311 2022-04-21 12:51:41 +03:00
Jens Petersen
070cbc6bf2 Home: only show News if post is from the last ~6 months 2021-03-26 12:22:49 +08:00
Michael Snoyman
af4ba4feae
Always take from latest snapshot published 2020-11-24 18:12:18 +02:00
Michael Snoyman
5f4edc17b3
Try sorting by ID instead 2020-11-24 16:17:28 +02:00
Michael Snoyman
f8a82ec511
Remove latest version cache 2020-11-24 15:53:52 +02:00
Michael Snoyman
3bf0d89985
Revert "Disabled /SnapName/docs/ page. See #300"
This reverts commit 098d5176d7.
2020-11-16 03:53:51 +02:00
Michael Snoyman
b44e9222de
Revert "Disabled /package/ page. See #299"
This reverts commit 6389b4468f.
2020-11-16 03:53:43 +02:00
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