Commit graph

11 commits

Author SHA1 Message Date
sternenseemann 34c51b70fb maintainers/scripts/haskell: unify pkg set update into single commit
Currently, every package set consists of three commits, generated by
update-hackage.sh, update-stackage.sh and
regenerate-hackage-packages.sh, respectively. This is suboptimal, as it
necessarly causes intermediate states of Nixpkgs where the generated
hackage-packages.nix and all-cabal-hasehs and/or the hackage2nix
configuration files are out of sync. Ideally, running
regenerate-hackage-packages.sh is a no-op for every Nixpkgs revision.

This is achieved by adding a wrapper script, update-package-set.sh,
which runs the individual moving parts and commits the result.
2025-07-10 18:06:02 +02:00
sternenseemann b3d74de2a1 maintainers/haskell/merge-and-open-pr.sh: target staging
We can't update the package list after the merge since it may be weeks
until the changes propagate to master and the channels.
2025-02-12 12:34:15 +01:00
Naïm Favier 1a1a8d2559
maintainers/scripts/merge-and-open-pr: fix error handling
Calling `die` in a subshell hides the error message.
2023-12-04 19:06:30 +01:00
sternenseemann 6dcc0ab9b5 maintainers/haskell/merge-and-open-pr: only push haskell-updates
If we want to push only one branch, we'll have to specify branch and
remote explicitly. Pushing to origin doesn't work for everyone, since
some of us have a origin remote that can't be pushed to. Using plain
`git push` has the problem that it'll try pushing all checked out
branchs which fails e.g. if some branches (staging, staging-next, …) are
behind their remote counterparts.

The solution is to require everyone to configure a per branch pushRemote
for haskell-updates which will then be used by merge-and-open-pr.sh.
2023-05-19 16:33:56 +02:00
maralorn 1cfb18d793 maintainers/scripts/haskell/merge-and-open-pr.sh: Pass --fast to regeneration script 2023-05-01 02:23:54 +02:00
maralorn 632d358c64 maintainers/scripts/haskell: Add reference to manual to PR template 2023-04-08 00:24:31 +02:00
Dennis Gosnell 2e8743b8e5
haskell: update link to calendar for maintainer rotation 2022-04-05 09:16:20 +09:00
(cdep)illabout e2603c4db2
haskell: add link to Hydra build report for haskell-updates branch to PR message 2021-09-21 10:19:28 +09:00
(cdep)illabout 64511038ff
haskell: small improvements to script for merging haskell-updates PR 2021-09-20 09:55:22 +09:00
(cdep)illabout 5ecf510833
haskell: update script for merging haskell-updates PR to upload package versions to Hackage 2021-09-20 09:54:51 +09:00
(cdep)illabout ecce26dd5a
haskell: Add a maintainer script for opening a new haskell-updates PR 2021-09-18 14:34:49 +09:00