1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
Commit graph

785 commits

Author SHA1 Message Date
nicoo 98ca068515 sha256-to-hash.py: Improve logging 2023-09-13 17:24:28 +00:00
nicoo a0b1f164af sha256-to-hash.py: Gracefully handles errors, like invalid hashes in examples 2023-09-13 17:24:28 +00:00
nicoo 9012e71c9b sha256-to-hash.py: Support other encodings than nix32 2023-09-13 17:24:27 +00:00
nicoo 735d2756b0 maintainers/scripts/sha256-to-SRI.py: init 2023-09-13 17:24:27 +00:00
github-actions[bot] a5158e8ace
Merge master into haskell-updates 2023-09-13 00:12:06 +00:00
nicoo 8dcbced52a maintainers/scripts/remove-old-aliases: Drop pkgs. prefix if present
This should provide nicer `throw` messages, and avoid back-and-forth like
	https://github.com/NixOS/nixpkgs/pull/254418#discussion_r1322076574
2023-09-12 11:41:36 +00:00
maralorn ba46866a27
maintainers/scripts/haskell: Fix a typo 2023-09-06 00:06:02 +02:00
sternenseemann 5a835f6742 maintainers/haskell/mark-broken.sh: allow passing --no-request-logs
This flag needs to be passed through to hydra-report.hs.
2023-09-03 22:15:15 +02:00
sternenseemann 71cbb538a5 maintainers/haskell/hydra-report.hs: increase timeout to 15min
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-03 21:56:38 +02:00
sternenseemann 76dc153544 maintainers/haskell/hydra-report.hs: work around bulk status timeout
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-03 21:54:03 +02:00
sternenseemann 00b0824635 maintainers/haskell/hydra-report.hs: allow disabling log requesting
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-09-03 21:39:04 +02:00
github-actions[bot] 658c5f1dcf
Merge master into haskell-updates 2023-08-14 00:11:47 +00:00
figsoda 90c4482d07 pluginupdate.py: format with black, fix comments 2023-08-12 11:41:04 -04:00
figsoda 32f6cfaae5 pluginupdate: don't rely on NIX_PATH
Nix does not respect `NIX_PATH` when the `nix-path` setting in nix.conf is set
2023-08-12 11:32:02 -04:00
Dennis Gosnell 6f41cccb9e
haskell: don't pin stack to version in LTS, but take the latest from hackage 2023-07-26 11:09:53 +09:00
Theodore Ni ac69020750
treewide: remove unused nix-prefetch-github from shebangs 2023-07-18 18:16:17 -07:00
Donovan Glover 895d66d915 luaPackages.magick: init at 1.6.0 2023-07-18 22:56:44 +02:00
James Williams 9aabc9f7f3 nix-generate-from-cpan: generate SRI hashes 2023-07-16 15:43:23 +01:00
Sandro 198bd0a4a7
Merge pull request #239622 from corngood/dotnet-misc
dotnet: misc fixes
2023-06-28 23:41:18 +02:00
Sandro 5bf962a80e
Merge pull request #233505 from SuperSandro2000/check-hydra-by-maintainer-no-alias
maintainers/scripts/check-hydra-by-maintainer: don't check aliases
2023-06-27 18:13:32 +02:00
David McFarland ee8ba995a7 buildDotnetModule: make fetch-deps find output path automatically 2023-06-24 19:13:16 -03:00
emilylange 756e89e6ef
maintainers/fix-maintainers.pl: ignore case
as this script would otherwise create a bunch of somewhat unnecessary/noisy renames that aren't "actual" renames
2023-06-04 16:26:25 +02:00
Sandro Jäckel 290820f2fa
maintainers/scripts/check-hydra-by-maintainer: remove pkgs.lib use 2023-05-22 23:28:53 +02:00
Sandro Jäckel 000000491e
maintainers/scripts/check-hydra-by-maintainer: don't check aliases 2023-05-22 23:28:51 +02: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
Arnout Engelen 0374d7897c
Merge pull request #223261 from xworld21/copy-tarballs-use-all-urls
copy-tarballs: use all the urls of each file
2023-05-11 16:20:07 +02:00
github-actions[bot] 5b55bccfe2
Merge master into haskell-updates 2023-05-10 00:11:58 +00:00
Arnout Engelen 33afedd108
Merge pull request #224690 from raboof/copy-tarballs-fix-debug-mode
copy-tarballs.pl: fix DEBUG mode
2023-05-09 17:17:30 +02:00
github-actions[bot] 81dc7d6709
Merge master into haskell-updates 2023-05-06 00:11:27 +00:00
Lily Foster 61c2c744a1
maintainers/scripts/remove-old-aliases.py: support quoted attrset keys 2023-05-04 19:08:47 -04:00
maralorn ef41eed24f maintainers/scripts/haskell/*transitive-broken*: Fix an error message 2023-05-02 12:07:16 +02:00
maralorn 05e9a22322 maintainers/scripts/haskell/regenerate-transitive-broken-packages.sh: Make more robust against eval errors 2023-05-01 02:36:37 +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 e4b66fa1a1 maintainers/scripts/haskell: Integrate transitive-broken into regeneration script 2023-04-23 10:47:36 +02:00
Matthieu Coudron c9873fdef0 lua/updater: fix a few issues
there were remaining tabs in file and the update member was not implemented
2023-04-22 15:17:44 +02:00
github-actions[bot] 147886c1b7
Merge master into haskell-updates 2023-04-15 00:12:49 +00:00
Matthieu Coudron 351cec5db3
use subcommands in plugin updaters (#223164)
* update.py: introduce subparsers for plugin updaters

This is preliminary work to help create more powerful plugin updaters.
Namely I would like to be able to "just add" plugins without refreshing
the older ones (helpful when github temporarily removes a user from
github due to automated bot detection).

Also concerning the lua updater, we pin some of the dependencies, and I
would like to be able to unpin the package without editing the csv
(coming in later PRs).

* doc/updaters: update command to update editor plugins

including vim, kakoune and lua packages

Co-authored-by: figsoda
2023-04-14 22:02:17 +02:00
sternenseemann b79286ea28 maintainers/haskell/upload-package-list: support 3.10 config dir
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-14 18:35:33 +02:00
github-actions[bot] 9bd1e62062
Merge master into haskell-updates 2023-04-14 00:12:05 +00:00
K900 0fac11230d
Merge pull request #225391 from K900/pob
path-of-building: init at 2.28.0-unstable-2023-04-09
2023-04-13 19:08:29 +03:00
K900 e333259769 luaPackages.lua-curl: init at 0.3.13 2023-04-13 18:29:49 +03:00
sternenseemann 35c00c639a haskellPackages.hackage-db: 2.1.2 -> 2.1.3
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-13 14:13:40 +02:00
github-actions[bot] 5291a9240e
Merge master into haskell-updates 2023-04-10 00:12:34 +00:00
Matthieu Coudron 619ca2064f luaPackages.luv: 1.43.0-0 -> 1.44.2-1
as requested by neovim
2023-04-10 01:27:33 +02:00
maralorn 632d358c64 maintainers/scripts/haskell: Add reference to manual to PR template 2023-04-08 00:24:31 +02:00
github-actions[bot] 6a7b8348a1
Merge master into haskell-updates 2023-04-06 00:11:55 +00:00
Vincenzo Mantova 8fd7b69da1 copy-tarballs: use all the urls of each file
If a file specifies multiple urls, try fetching all of them until
nix-prefetch-url is successful.
2023-04-05 21:05:22 +01:00
Ellie Hermaszewska d7c630ca17
maintainers/haskell/update-stackage.sh: Strip out with-compiler from stackage config
It was previously just being inserted alphabetically into the list
2023-04-05 15:21:47 +08:00
Stanisław Pitucha f42b9fd745 maintainers/scripts/update.nix: Remove unicode from message and comply with CONTRIBUTING.md
It's not used infrequently and the ascii version is nicer for automatic parsing.
```
git log --grep '->' --oneline --since '2022-01-01' | wc -l
   67791
git log --grep '→' --oneline --since '2022-01-01' | wc -l
    2914
```
2023-04-05 11:28:47 +10:00
Arnout Engelen 7cfcfdc4d4
copy-tarballs.pl: fix DEBUG mode
When DEBUG is defined, the script just prints the URL's without actually
checking whether they're already cached or downloading/uploading anything.

That got broken because connecting to S3 now fails fast. This PR makes sure
we skip connecting to s3 in DEBUG mode.
2023-04-04 20:33:11 +02:00
Dennis Gosnell c00dc0cf7d
Merge remote-tracking branch 'origin/master' into haskell-updates 2023-03-27 08:42:30 +09:00
Dennis Gosnell 35295aed71
haskellPackages: in hydra-report.hs, split Linux and Darwin build failures
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-26 18:10:08 +09:00
Dennis Gosnell bd9bb50ad2
haskellPackages: remove error about outstanding jobs on aarch64-darwin in hydra-report.hs 2023-03-26 18:08:30 +09:00
Yureka f4f4c8bca2 maintainers/scripts/convert-to-import-cargo-lock: fetch submodules 2023-03-26 00:02:16 +01:00
Yureka 34c848fe08 maintainers/scripts/convert-to-import-cargo-lock: don't add duplicate outputHashes 2023-03-26 00:02:15 +01:00
Winter 7130282976 maintainers/scripts/convert-to-import-cargo-lock: init 2023-03-26 00:02:15 +01:00
Dennis Gosnell 19b5676361
haskellPackages: add newtype for PkgName and PkgSet in hydra-report.hs
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-25 23:00:56 +09:00
Dennis Gosnell b2af201c0e
haskellPackages: add newtype for JobName in hydra-report.hs
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-25 19:24:13 +09:00
Dennis Gosnell 28f22d86d7
haskellPackages: slight refactoring of hydra-report.hs 2023-03-25 18:21:55 +09:00
Dennis Gosnell c574a8c37e
haskellPackages: add a little documentation to hydra-report.hs 2023-03-25 17:44:26 +09:00
Dennis Gosnell 265a3a3b15
haskellPackages: add types and some formatting to hydra-report.hs 2023-03-24 20:55:52 +09:00
Dennis Gosnell 3aea75b8fc
haskellPackages: fix indentiation in hydra-report.hs 2023-03-24 20:26:01 +09:00
Doron Behar 7a88e40dd6
Merge pull request #207359 from KarlJoad/octavePackages/auto-update-script
Octave packages: auto update script and fixes
2023-03-22 17:21:48 -07:00
Nick Cao f62e99a323
Merge pull request #221488 from NickCao/qt643
qt6: 6.4.2 -> 6.4.3
2023-03-18 10:04:52 +08:00
Bernardo Meurer 6e55733359
Merge pull request #219747 from Stunkymonkey/deprecate-isNull 2023-03-16 11:10:22 -03:00
Nick Cao 3c86f2eb23
maintainers/scripts/fetch-kde-qt.sh: fix handling of fallback file urls 2023-03-16 20:58:56 +08:00
Karl Hallsby 17ea94881f octavePackages: add automatic updating script based on Python's
This script is heavily based on the script used to update all python
libraries at
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py

The Octave Packages' website uses YAML as their basis, so we must
reformat to use YAML instead of JSON.
2023-03-15 15:58:01 +02:00
pennae 4a694fc500 maintainers: add script and workflows to check sortedness
the script can output a list of sed commands to create the order it
expects to find. this was mainly useful for initially sorting the list,
but we'll keep it here for later reference.

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2023-03-15 11:07:54 +01:00
sternenseemann 100d887968 release-haskell.nix: add aarch64-darwin
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-10 14:43:00 +01:00
Felix Buehler d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
Matthieu Coudron 358ca90b5f luaPackages: adding several neovim plugins
telescope.nvim, haskell-tools.nvim, telescope-manix
2023-03-06 09:58:53 +01:00
maralorn 994e845bd0
Merge pull request #217242 from maralorn/broken-reasons
maintainers/scripts/haskell/hydra-report: Add comments with error causes to broken list
2023-03-01 00:17:20 +01:00
github-actions[bot] ce1777b04a
Merge master into haskell-updates 2023-02-28 00:13:36 +00:00
Matthieu Coudron 75a2a4a389
Merge pull request #217706 from teto/add-haskell-tools
luaPackages: update
2023-02-27 09:08:34 +01:00
Martin Weinelt 706cae6532 update-python-libraries: Add support for fetchgit
Previously when packages that required the git fetcher were updated, we
would wrongly rely on `nix-prefetch-url`, which would reliable break the
hash.

Instead we need to use `nix-prefetch-git` to determine the proper hash,
when the relevant attributes are present.
2023-02-27 02:21:07 +00:00
Matthieu Coudron 62c632241b luaPackages: update
pinned lpeglabel else build failed
2023-02-27 01:38:45 +01:00
sternenseemann 80cff3a5b2 Merge remote-tracking branch 'origin/master' into haskell-updates 2023-02-26 20:45:50 +01:00
Robert Hensing d1aa2475eb maintainers/scripts/update.nix: Add comment, remove TODO 2023-02-26 16:01:20 +01:00
maralorn 0debf1453d maintainers/scripts/haskell/hydra-report: Add comments with error causes to broken list 2023-02-20 00:36:43 +01:00
sternenseemann b7e41b825e maintainers/haskell: generate core-pkgs hackage2nix configuration
`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-19 19:52:17 +01:00
Ingo Blechschmidt 168d9a5f1e agda: 2.6.2.2 -> 2.6.3 2023-02-14 14:45:39 +01:00
sternenseemann 3dfbe2b6a3 maintainers/haskell/test-configurations.nix: support ghcHEAD
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-02-13 14:42:03 +01:00
github-actions[bot] 615351069b
Merge master into haskell-updates 2023-02-02 00:13:38 +00:00
Robert Hensing 5cfdab8950 eval-release.nix: Tolerate null
This will allow tests.pkg-config.defaultPkgConfigPackages to run on
hydra without breaking the tarball job.

Regarding the use of null, I'll quote 473ac96 which does lib.hydraJob.

By allowing null, we allow code to avoid filterAttrs, improving
laziness in real world use cases.
Specifically, this strategy prevents infinite recursion errors,
performance issues and possibly other errors that are unrelated to
the user's code.
2023-01-31 15:12:04 +01:00
Dennis Gosnell 4be2c3acd5
haskellPackages: ignore maintainers without email
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-30 08:27:03 +09:00
Aaron Andersen 99341e0676 luaPackages.lualdap: init at 1.3.0-1 2023-01-23 18:04:52 -05:00
Felix Buehler 5156a73223 nix-generate-from-cpan: deprecate phases 2023-01-21 21:13:22 +01:00
github-actions[bot] 85bd0922b4
Merge master into haskell-updates 2023-01-10 00:13:54 +00:00
maralorn a8fa46a964 maintainers/../haskell/mark-broken: Insert eval info in commit msg 2023-01-10 00:49:56 +01:00
Naïm Favier a8d4cf149c
doc: separate manpage URLs from the Pandoc filter
Move the manpage-to-URL mapping to `doc/manpage-urls.json` so that we can
reuse that file elsewhere, and generate the `link-manpages.lua` filter from
that file.

Also modify the Pandoc filter so that it doesn't wrap manpages that are
already inside a link.

Keeping a Lua filter is essential for speed: a Python filter would
increase the runtime `md-to-db.sh` from ~20s to ~30s (but Python is not
to blame; marshalling Pandoc types to and from JSON is a costly operation).
Parsing in Lua seems tedious, so I went with the Nix way.
2023-01-02 14:11:22 +01:00
maralorn 931fef04f9
Merge pull request #207764 from qowoz/shellcheck
shellcheck: add override for newer version
2022-12-29 15:44:15 +01:00
zowoq 232b508059 haskellPackages.ShellCheck: unpin 2022-12-28 10:42:13 +10:00
Andy e677218d32
Haskell: Fix dead link in report 2022-12-27 14:59:25 +01:00
Naïm Favier 755d5259c7
maintainers/scripts/haskell: fix regenerate-transitive-broken
- 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-12-24 13:38:34 +01:00
Matthieu Coudron 27dd8e291d
add teal-language-server + update lua modules (#205856)
* luaPackages.teal-language-server: init at 2022-11-22

* luaPackages: update

init cyan and teal-language-server
2022-12-20 18:35:22 +01:00
Fabian Affolter dfd2b91e74 update-luarocks-shell: rename GitPython 2022-12-05 21:46:30 +01:00
Victor Engmark ea5fcc0204 maintainers/scripts: Use Bash shebang line for files with bashisms 2022-11-29 19:52:21 +13:00
figsoda d8426de146 scripts/pluginupdate: fix fetchgit indentation 2022-11-17 20:51:34 -05:00
Sandro d9c3f3c0dc
Merge pull request #196007 from wegank/fdl11-remove 2022-11-09 22:31:50 +01:00
figsoda c95706ac44 vimPlugins: also update nvim-treesitter grammars in the update script 2022-11-04 15:52:00 -04:00