Commit Graph

1074 Commits

Author SHA1 Message Date
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
Bryan Richter
b56aaf33fc
Add comments, change names for understanding 2024-04-03 15:44:06 +03:00
Bryan Richter
0dcb101b34
Transfer attribution to Haskell Foundation
By agreement, FP Complete's name and link to their website will remain
indefinitely! :)
2024-03-28 15:04:16 +02:00
Bryan Richter
c568b5f173
Clean up OpenSearchDescriptions
The Attribution tag "contains a list of all sources or entities that
should be credited for the content contained in the search feed." Since
the search feed has package descriptions, I think it's murky who should
actually be attributed. Removing it since I don't know who should be
there.

https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-attribution-element
2024-03-28 15:00:20 +02: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
22ef976f05
Reintroduce my patched amazonka
Lol
2024-02-15 12:41:51 +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