Commit Graph

81 Commits

Author SHA1 Message Date
Bryan Richter
810e0f3253
Warn and continue if orig.tar is 404 2025-03-18 14:47:23 +02:00
Bryan Richter
cbe4038c12
Don't error if hoogle inputs are missing 2025-03-18 14:01:29 +02:00
Bryan Richter
9523039dee
Make logs a little quieter 2025-03-18 14:00:59 +02:00
Bryan Richter
6771516cec
Remove stray temp file 2025-02-27 15:14:27 +02:00
Bryan Richter
c344ce21ce
Use non-permanent temp dir for intermediate files
This commit also removes some extraneous error checking in favor of just
crashing if things go wrong.
2025-02-27 15:05:44 +02:00
Bryan Richter
672099d68e
Document more stackage-server-cron steps 2025-02-27 15:05:44 +02:00
Bryan Richter
608cf0f4f6
Remove scary "handleAny"
Simply let the process die on exception. It's a one-shot process that
gets run on a timer, anyway.
2025-02-27 15:05:44 +02:00
Bryan Richter
885dd2a01e
Drop unused subdirectory 2025-02-27 15:05:44 +02:00
Bryan Richter
66c5361458
Document more learnings 2025-02-27 15:05:44 +02:00
Bryan Richter
d0eba4e31e
Add a warning when NoSnapshotFile 2025-02-27 15:05:44 +02:00
Bryan Richter
6bf160f210
Refactor decideOnSnapshotUpdate for understanding
Putting this in a separate commit since I'm actually refactoring code
rather than just changing names.
2025-02-27 15:05:44 +02:00
Bryan Richter
935a5012fe
Use names and Haddocks to improve understanding 2025-02-27 15:05:43 +02: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
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
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
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
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
Michael Snoyman
9a77dd3394
Disable latests 2020-11-10 15:00:53 +02: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
bfb01a7a92
yesod devel leverages SQLite for simplicity 2020-10-19 13:58:48 +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
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
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
b80a7f9a52
No HashMaps needed 2020-04-19 20:10:54 +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