Skip to content

Commit

Permalink
Reconfigure stack.yaml files
Browse files Browse the repository at this point in the history
1. Use stack-all, and follow its major-only naming convention

   There's no reason to care about minor, and keeping the file names
   stable if/when it changes means we don't have to change required
   statuses on GitHub (which are named after the matrix values).

2. Remove all lockfiles except `stack.yaml.lock`

   These lockfiles are important for reproducibility, which, if it
   matters at all for this project, only matters for the `stack.yaml`
   build. Builds of other resolvers almost-always only occur on CI. And
   when they occur locally, they may or may not generate/update lock
   files (they won't if using `stack-all`). To avoid confusion from that
   inconsistency, we'll git-ignore them so their [non]presence becomes a
   local concern.
  • Loading branch information
pbrisbin committed Jan 6, 2025
1 parent 2e67ec2 commit 4456943
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 316 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.stack-work
dist-newstyle
stack-*.yaml.lock
2 changes: 2 additions & 0 deletions .stack-all
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[versions]
oldest = lts-16
61 changes: 0 additions & 61 deletions stack-lts-16.31.yaml.lock

This file was deleted.

61 changes: 0 additions & 61 deletions stack-lts-18.28.yaml.lock

This file was deleted.

61 changes: 0 additions & 61 deletions stack-lts-19.33.yaml.lock

This file was deleted.

61 changes: 0 additions & 61 deletions stack-lts-20.26.yaml.lock

This file was deleted.

54 changes: 0 additions & 54 deletions stack-lts-21.25.yaml.lock

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions stack-lts22.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resolver: lts-22.43
1 change: 1 addition & 0 deletions stack-lts23.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resolver: lts-23.3
12 changes: 0 additions & 12 deletions stack-nightly.yaml.lock

This file was deleted.

2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-22.4
resolver: lts-23.3
10 changes: 5 additions & 5 deletions stack.yaml.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
# https://docs.haskellstack.org/en/stable/topics/lock_files

packages: []
snapshots:
- completed:
sha256: 8b211c5a6aad3787e023dfddaf7de7868968e4f240ecedf14ad1c5b2199046ca
size: 714097
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/4.yaml
original: lts-22.4
sha256: dd89d2322cb5af74c6ab9d96c0c5f6c8e6653e0c991d619b4bb141a49cb98668
size: 679282
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/3.yaml
original: lts-23.3

0 comments on commit 4456943

Please sign in to comment.