Commit Graph

1081 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
0205d03302
Add a nix shell 2025-03-18 13:59:53 +02:00
Bryan Richter
a384248d68
Merge pull request #343 from commercialhaskell/b/disk-cleanup
Post Hoogle generation disk cleanup
2025-03-18 10:45:03 +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
c4676e524c
Merge pull request #340 from juhp/diff-fpco-time
add snapshot diff previous link and time to snapshot date
2025-02-04 11:02:03 +02:00
Jens Petersen
c4c8241fc3 stackage-diff: add a previous diff link
allowing navigating back to earlier consecutive diffs

Arguably we could also navigate name1 and name2 separately

Thanks to @chreekat for reviewing and improving the code (#340)
2025-02-03 23:39:45 +08:00
Bryan Richter
8001335ed3
Merge pull request #342 from juhp/add-build-ci
add GH action to build the project
2025-02-03 16:10:13 +02:00
Jens Petersen
d5cc9bd923 add GH action to build the project
use enable-stack, stack-no-global
2025-02-03 18:24:08 +08:00
Jens Petersen
ec5d5e7b92 replace remaining references to github.com/fpco/ 2025-02-02 23:15:31 +08:00
Jens Petersen
866fc23f79 include time in the date of a snapshot
(the time may actually be when the snapshot build started)
2025-02-02 23:15:31 +08:00
Bryan Richter
baddf10194
Remove outdated badge 2025-01-31 13:02:51 +02:00
Bryan Richter
7a26c17e32
Include runtime files in output 2025-01-31 11:39:10 +02:00
Bryan Richter
20951c584a
Add flake
Care was taken to ensure Nix uses the same Haskell deps as Stack.
2025-01-31 10:36:54 +02:00
Bryan Richter
b3ee4cc6c2
Switch to upstream amazonka repo 2025-01-31 10:30:33 +02:00
Bryan Richter
6abeba8268
Bump to lts-22.43 2025-01-31 10:30:18 +02:00
Bryan Richter
c8a6a622e1
Let pantry use newer deps 2025-01-31 10:29:54 +02:00
Bryan Richter
ab2c96a2ba
Move to a LTS found in Nixpkgs 2025-01-24 17:48:43 +02:00
Bryan Richter
cd621636eb
Disable /build-version
Closes #339
2024-12-31 14:37:39 +02:00
Bryan Richter
83f6bd9467
Finish the downgrade to lts-22.6 2024-12-12 17:10:27 +02:00
Bryan Richter
c01f1ab2ad
Remove unused workflows
These should be replaced with.. something..
2024-12-12 16:59:25 +02:00
Bryan Richter
f7b7a61a0a
Downgrade back to lts-22.6 2024-12-12 16:53:36 +02:00
Bryan Richter
bd01a31af8
Merge pull request #338 from juhp/patch-1
a fix and a url update
2024-12-12 14:01:30 +02:00
Jens Petersen
7e795ed052 bump stack to lts-22.43 2024-12-12 18:37:42 +08:00
Jens Petersen
6539721be1 blog archive: fix tooltip timestamps
should not all be the displayed post's timestamp
2024-12-12 17:45:00 +08:00
Jens Petersen
7c495bb481 package: update add-your-package url 2024-12-12 17:44:13 +08:00
Bryan Richter
6d6b20e63f
Merge pull request #331 from pgujjula/customize-badge-color
Allow customizing badge color with query string
2024-06-18 15:12:38 +03: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
22977c3475
Add missing space back 2024-04-17 13:56:19 +03:00
Bryan Richter
0a181b6339
Add forgotten lockfile entries 2024-04-17 13:12:20 +03:00
Bryan Richter
09405c186f
Hamlet fixups
Fixes #325
2024-04-17 13:11:40 +03:00
Bryan Richter
2cafc53abf
Merge pull request #318 from juhp/ubuntu20
* update docker base images to pid1:20.04

Committer comment: I am not currently using Docker to deploy stackage-server, but merging this is harmless, so I will do so.
2024-04-17 09:32:53 +03:00
Bryan Richter
cbdc933e6e
Fix underspecified package 2024-04-12 15:15:15 +03:00
Bryan Richter
c5c0f58a84
Clean up and reword footer 2024-04-12 15:05:43 +03:00
Bryan Richter
0774e445f8
Hamlet fixups
Gets rid of some extraneous closing tags and some overlapping tags.
Perhaps due to Hamlet changes?
2024-04-12 15:05:31 +03:00
Bryan Richter
9f3bf32b76
Include cacert and lock file
cacert is needed for `stack run` on NixOS.
2024-04-11 18:32:10 +03:00
Bryan Richter
cd2aff1b5d
Reword footer 2024-04-11 18:31:22 +03:00
Michael Snoyman
6ff1ee7d15
Merge pull request #324 from chreekat/b/handover-patches
Handover patches
2024-04-03 18:10:58 +03:00
Bryan Richter
a62a2a8cb4
Ensure correct version of HLS used in nix shell 2024-04-03 15:48:26 +03: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