summary refs log tree commit diff
path: root/maintainers/scripts/haskell
AgeCommit message (Collapse)AuthorFilesLines
2023-11-11treewide: fix redirected and broken URLsAnthony Roussel1-1/+1
Using the script in maintainers/scripts/update-redirected-urls.sh
2023-11-02haskell hydra-report: bump timeout for all requests to HydraDennis Gosnell1-9/+10
In practice, almost all requests to Hydra take longer than the default timeout of 30 seconds. This commit bumps all requests to the max timeout of 15 minutes. This should hopefully make the hdyra-report.hs script more reliable and fail less.
2023-09-06maintainers/scripts/haskell: Fix a typomaralorn1-1/+1
2023-09-03maintainers/haskell/mark-broken.sh: allow passing --no-request-logssternenseemann1-2/+20
This flag needs to be passed through to hydra-report.hs.
2023-09-03maintainers/haskell/hydra-report.hs: increase timeout to 15minsternenseemann1-1/+1
This seems to be the server side Hydra timeout as well, so it makes sense waiting as long as Hydra will try to give a response.
2023-09-03maintainers/haskell/hydra-report.hs: work around bulk status timeoutsternenseemann1-7/+19
This change adds a flag --slow to hydra-report.sh get-report which causes it to fetch the cheap evaluation overview endpoint (which only contains build ids and meta data). The gathered information is then used to request each build's status individually instead of in bulk which is very slow, but useful as a last resort if the bulk endpoint times out.
2023-09-03maintainers/haskell/hydra-report.hs: allow disabling log requestingsternenseemann1-7/+14
Since every failure in the jobset means one request to get the log when generating the list of newly broken packages, we need to add an option to disable log requesting in case a lot of new breakage needs to be entered.
2023-07-26haskell: don't pin stack to version in LTS, but take the latest from hackageDennis Gosnell1-0/+1
2023-07-18treewide: remove unused nix-prefetch-github from shebangsTheodore Ni2-2/+2
2023-05-19maintainers/haskell/merge-and-open-pr: only push haskell-updatessternenseemann1-2/+6
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-02maintainers/scripts/haskell/*transitive-broken*: Fix an error messagemaralorn1-1/+1
2023-05-01maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh: Make ↵maralorn1-2/+13
more robust against eval errors
2023-05-01maintainers/scripts/haskell/merge-and-open-pr.sh: Pass --fast to ↵maralorn1-1/+2
regeneration script
2023-04-23maintainers/scripts/haskell: Integrate transitive-broken into regeneration ↵maralorn3-26/+88
script
2023-04-14maintainers/haskell/upload-package-list: support 3.10 config dirsternenseemann1-2/+23
cabal-install 3.10 has some quirky new logic for config, cache, … directory discovery. We reimplement this in this simple bash script, additionally respecting the CABAL_DIR environment variable.
2023-04-13haskellPackages.hackage-db: 2.1.2 -> 2.1.3sternenseemann1-0/+1
This update adds support for $CABAL_DIR as well as the new $XDG_CACHE_HOME location of the hackage db. Since we maintain hackage-db, having the latest version always is nice even though it has more reverse dependencies than the other libraries we maintain.
2023-04-08maintainers/scripts/haskell: Add reference to manual to PR templatemaralorn1-0/+2
2023-04-05maintainers/haskell/update-stackage.sh: Strip out with-compiler from ↵Ellie Hermaszewska1-0/+1
stackage config It was previously just being inserted alphabetically into the list
2023-03-26haskellPackages: in hydra-report.hs, split Linux and Darwin build failuresDennis Gosnell1-11/+56
This commit changes hydra-report.hs to split up Linux and Darwin build failures into two different sections. Darwin failures are hidden by default.
2023-03-26haskellPackages: remove error about outstanding jobs on aarch64-darwin in ↵Dennis Gosnell1-2/+4
hydra-report.hs
2023-03-25haskellPackages: add newtype for PkgName and PkgSet in hydra-report.hsDennis Gosnell1-41/+180
Add a newtype for a package name and a package set. This is less for correctness, and more just to make the code a little easier to read through without having to keep in mind what each Text refers to.
2023-03-25haskellPackages: add newtype for JobName in hydra-report.hsDennis Gosnell1-13/+26
This commits changes the `job` field in `Build` to a newtype. This is mostly just to have a place to document exactly what a job name consists of.
2023-03-25haskellPackages: slight refactoring of hydra-report.hsDennis Gosnell1-28/+35
2023-03-25haskellPackages: add a little documentation to hydra-report.hsDennis Gosnell1-1/+28
2023-03-24haskellPackages: add types and some formatting to hydra-report.hsDennis Gosnell1-3/+34
2023-03-24haskellPackages: fix indentiation in hydra-report.hsDennis Gosnell1-68/+68
2023-03-16Merge pull request #219747 from Stunkymonkey/deprecate-isNullBernardo Meurer1-1/+1
2023-03-10release-haskell.nix: add aarch64-darwinsternenseemann1-1/+3
nixpkgs:trunk also builds aarch64-darwin these days, so this forces our hand a little bit. We can still refuse to care about failures _too_ much, but at least we will stop merging as big a rebuilds as we are currently.
2023-03-06treewide: deprecate isNullFelix Buehler1-1/+1
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-02-20maintainers/scripts/haskell/hydra-report: Add comments with error causes to ↵maralorn1-31/+71
broken list
2023-02-19maintainers/haskell: generate core-pkgs hackage2nix configurationsternenseemann1-1/+10
`ghc-pkg list` tells us everything hackage2nix needs to know. In the past the core-packages list and compiler setting in hackage2nix was maintained manually which inevitably leads to it being forgot once in a while – this will then mess with flag resolution when generating the package set in some cases. Luckily, we can just let a simple derivation do this for us. Resolves #202621.
2023-02-14agda: 2.6.2.2 -> 2.6.3Ingo Blechschmidt1-0/+2
2023-02-13maintainers/haskell/test-configurations.nix: support ghcHEADsternenseemann1-2/+24
Since we now have a versioned configuration-ghc-*.nix file for GHC HEAD, we don't need to add a super special case to the package set logic in test-configurations.nix anymore. We can just create a versioned attribute for the ghcHEAD package set (which is not exposed) and keep using the normal discovery logic. The only tricky bit is that GHC HEAD's configuration file is named after the GHC release that will be branched off from it, so a little bit of arithmetic is involved.
2023-01-30haskellPackages: ignore maintainers without emailDennis Gosnell1-1/+15
The Haskell Hydra report generator (`maintainers/scripts/haskell/hydra-report.hs`) uses this `maintainer-handles.nix` script for generating a mapping of email addresses to GitHub handles. This `maintainer-handles.nix` script is necessary because the Haskell Hydra report generator gets Hydra job status info as input, but needs to ping users on GitHub. Hydra job status info only contains user emails (not GitHub handles). So the `maintainer-handles.nix` script is necessary for looking up GitHub handles from email addresses. This commit fixes the `maintainers-handles.nix` code to ignore maintainers that don't have email addresses. The code was originally assuming that all maintainers have email addresses, but there was recently a maintainer added without an email address.
2023-01-10maintainers/../haskell/mark-broken: Insert eval info in commit msgmaralorn2-21/+29
2022-12-29Merge pull request #207764 from qowoz/shellcheckmaralorn1-0/+2
shellcheck: add override for newer version
2022-12-28haskellPackages.ShellCheck: unpinzowoq1-0/+2
2022-12-27Haskell: Fix dead link in reportAndy1-1/+1
2022-12-24maintainers/scripts/haskell: fix regenerate-transitive-brokenNaïm Favier2-3/+3
- use `restrict-eval` so that we're not affected by the user's environment - use jq instead of the horrible echo+sed hack The second point also fixes the indentation before each line to be two spaces instead of one, so I set it back to one space to avoid a diff.
2022-10-12haskellPackages.cabal2nix-unstable: 2022-07-22 -> 2022-10-10sternenseemann1-1/+1
2022-09-21haskell-language-server: 1.7.0.0 -> 1.8.0.0maralorn1-0/+7
2022-08-02maintainers/scripts/haskell/hydra-report: fix capitalisationMalte Brandy1-2/+2
2022-07-22maintainers/scripts/haskell/hydra-report: Add hint about eval errorsMalte Brandy1-2/+2
2022-05-20maintainers/scripts/haskell/hydra-report.hs: remove redundant pragmasMalte Brandy1-3/+1
2022-05-20maintainers/scripts/haskell/hydra-report.hs: fix outdated hydra-unstable ↵Malte Brandy1-1/+1
reference
2022-05-10hydra-unstable -> hydra_unstableRick van Schijndel1-1/+1
2022-04-05haskell: update link to calendar for maintainer rotationDennis Gosnell1-1/+1
2022-03-23maintainers/scripts/haskell: add script to find broken maintained packagesMalte Brandy1-0/+22
2022-03-20haskellPackages: stackage Nightly 2022-03-17 -> LTS 19.0sternenseemann1-1/+1
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2022-03-20maintainers/haskell/update-stackage.sh: always mktemp for tmp filessternenseemann1-5/+8
In theory, another program would be free to create "$tmpfile.new".