Commit graph

560 commits

Author SHA1 Message Date
github-actions[bot]
03106b0236
Merge master into haskell-updates 2022-03-29 00:12:40 +00:00
Sandro
2f1e03cb2b
Merge pull request #165691 from lucc/github-removed-unencrypted-git 2022-03-28 12:47:42 +02:00
Lucas Hoffmann
21120194ee
luarocks-packages: replace git://github.com with https:// 2022-03-28 12:23:10 +02:00
github-actions[bot]
f0839d8bcd
Merge master into haskell-updates 2022-03-28 00:11:42 +00:00
Artturin
52aa495303 maintainers/scripts/remove-old-aliases.py: add option to only operate on
throws
2022-03-27 19:47:48 +03:00
sternenseemann
372d0a707e Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-26 09:59:28 +01:00
Artturi
4152377b66
Merge pull request #162511 from Artturin/add-alias-keep-feature 2022-03-25 20:28:37 +02:00
Malte Brandy
fa552e76e6 maintainers/scripts/haskell: add script to find broken maintained packages 2022-03-23 13:03:31 +01:00
sternenseemann
9b8dfcd9bf haskellPackages: stackage Nightly 2022-03-17 -> LTS 19.0
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2022-03-20 11:11:10 +01:00
sternenseemann
57b1c86e74 maintainers/haskell/update-stackage.sh: always mktemp for tmp files
In theory, another program would be free to create "$tmpfile.new".
2022-03-20 11:09:58 +01:00
sternenseemann
cd0ddefb43 maintainers/haskell/update-stackage.sh: make shellcheck happy
* Annotate shell type
* Make trap expansion safer
2022-03-20 11:09:38 +01:00
sternenseemann
22ced213c0 maintainers/haskell/update-stackage.sh: make solver configurable
Accept either Nightly or LTS as the solver configuration variable in the
script. The Stackage version is now considered a tuple of solver and
version, allowing the script to handle updates and switches between
solvers gracefully.

Tested updating Nightly and updating from Nightly to LTS.
2022-03-20 11:02:58 +01:00
sternenseemann
f5c34205ad Merge remote-tracking branch 'origin/master' into haskell-updates 2022-03-11 16:47:23 +01:00
Profpatsch
a23d59e2ed regenerate-hackage-packages.sh: use runCommandLocal
Running tar will not benefit from running on a builder (it’s mostly
I/O load and cannot be parallelized), and the network will dominate.
2022-03-11 14:32:36 +01:00
github-actions[bot]
05e2709249
Merge master into haskell-updates 2022-03-09 00:10:37 +00:00
Artturin
6ebf051cc0 maintainers/scripts/remove-old-aliases.py: ignore lines which have 'preserve, reason:' in them 2022-03-08 21:18:22 +02:00
Matthieu Coudron
a383bcb3c4 luaPackages.luv: 1.42.0 -> 1.43.0 2022-03-08 10:53:11 +01:00
Matthieu Coudron
6f3482f640 update.py: fix for kakoune/luarocks 2022-03-08 10:53:11 +01:00
sternenseemann
f10a7e5a3b haskellPackages.cabal-install: ignore stackage bound
We have generally shipped the latest cabal-install version. Stackage has
re-added cabal-install recently which caused cabal-install to get
downgraded to 3.4 to match the Cabal version shipped by GHC 9.0.2. This
commit reverts that change.
2022-02-27 11:47:32 +01:00
github-actions[bot]
3a93e7e23e
Merge master into haskell-updates 2022-02-26 00:09:51 +00:00
Bruno BELANYI
75e1bb15fa vim/update.py: make '--add' option work 2022-02-25 11:54:07 +01:00
AndersonTorres
3f19fc37a3 Move misc/vim-plugins to applications/editors/vim/plugins 2022-02-24 20:26:07 -03:00
github-actions[bot]
befe838e87
Merge master into haskell-updates 2022-02-24 00:09:57 +00:00
Jan Tojnar
2427ba619c
Merge pull request #161260 from jtojnar/gnome-update-bump
gnome.updateScript: Various improvements
2022-02-23 21:17:45 +01:00
Stig
28c4ea1115
Merge pull request #152162 from Artturin/oldaliascheckscript
maintainers/scripts/remove-old-aliases.py: script to remove aliases older than $date
2022-02-23 10:28:55 +01:00
github-actions[bot]
eb29acff14
Merge master into haskell-updates 2022-02-22 00:10:07 +00:00
Jan Tojnar
5b8320d446 gnome.updateScript: Use experimental support for custom commit messages 2022-02-21 19:12:35 +01:00
Jan Tojnar
3cce255fc1 maintainers/scripts/update.nix: Add experimental support for customizing commit message 2022-02-21 19:12:35 +01:00
Artturin
0db4ecb8af maintainers/scripts/remove-old-aliases.py: script to remove old aliases
usage
'./maintainers/scripts/remove-old-aliases.py --year 2018 --file ./pkgs/top-level/aliases.nix'
first the matched lines are converted to throws with the comment
'Converted to throw $CURRENT_DATE'

then the throws older than the passed date are removed.
2022-02-21 08:40:39 +02:00
sternenseemann
b5489b75ee haskellPackages: Stackage LTS 18.25 -> Stackage Nightly 2022-02-07 2022-02-18 18:24:22 +01:00
Matthieu Coudron
db693baf19 vim/update.py: accept github token as argument
I find it more practical (can run update.py --github-token=$(pass gihtub-token)" rather than putting token in ENV). Also makes it more discoverable. I introduced a FetchConfig variable to pass editor agnostic configuration.
2022-02-17 12:19:45 +01:00
Matthieu Coudron
9d9b5b321e vim/update.py: add dummy nixpkgs_repo to shutdown pyright warnings 2022-02-17 11:51:16 +01:00
Lily Foster
b6718ec0aa pluginupdate.py: fix regression with plugin line splitting
Before 46c68ad both "@" and " as " could be used in the same line like
the following:

    vimwiki/vimwiki@dev as vimwiki-dev

After 46c68ad this gives an error due to the split URI still erroneously
including the " as [name]" at the end, due to splitting from the wrong
variable.
2022-01-21 14:18:21 +01:00
Matthieu Coudron
4f0cb8a071 update.py: mention GITHUB_API_TOKEN in the help 2022-01-20 22:45:42 +01:00
Matthieu Coudron
46c68ad418 update.py: support remotes other than github
right now we can only refer to repositories hosted on github.
This allows to give random git repo uris like for instance:
https://git.sr.ht/~whynothugo/lsp_lines.nvim
2022-01-20 22:45:42 +01:00
Dr Perceptron
539f55df44
pluginupdate.py: make experimental feature nix-command explicit 2022-01-08 18:58:15 +11:00
Matthieu Coudron
7a30a844c6 pluginupdate.py: support comments
when maintaining out of tree plugins, it makes it easier to swap/comment on specific plugins
2021-12-22 00:33:12 +01:00
github-actions[bot]
eec551fc15
Merge master into haskell-updates 2021-12-18 00:07:57 +00:00
Victor Engmark
de125e2333
maintainers/scripts: Lint check-maintainer-github-handles.sh (#147424) 2021-12-17 23:45:48 +02:00
sternenseemann
90a8618c03 maintainers/scripts/test-configuration.nix: improve overlay call
configuration-nix.nix uses builtins.intersectAttrs to not any overrides
for packages not present in `super` (presumably for use outside of
nixpkgs?). To accomodate it, we pass an attribute set with every
attribute of haskellPackages, but set to `null` as `super`, and — while
we're at it — a fix point as `self`.
2021-12-15 17:23:04 +01:00
sternenseemann
ca91080b21 maintainers/scripts/test-configurations.nix: skip binary GHCs
While being able to test them is neat (on x86_64-linux they work very
well, actually), we usually don't want to do this, since the set is
only (recommended to be) used to bootstrap GHC. Consequently there is
almost no binary cache and testing them mostly leads to unenlightening
and seemingly endless compilation.
2021-12-15 17:23:04 +01:00
sternenseemann
65de104e6c maintainers/scripts/test-configuration.nix: warn about broken pkgs
The warnings help when removing the broken flags when all packages turn
out to build and could also be helpful when investigating failures.
2021-12-15 17:23:04 +01:00
sternenseemann
7e9d55f0c4 maintainers/scripts: test for haskell configuration overlays
The added nix expression allows maintainers to check for regressions in
the configuration overlays employed by haskellPackages and friends. The
reasoning behind this is that, if we add an override for something, it
should also build. To test this fact, we extract all attributes touched
by a configuration and obtain all relevant derivations corresponding to
it which can then be thrown into nix-build --keep-going.

I've been using this expression to verify configuration-ghc-9.2.x.nix
for a week or so which works quite well. The amount of stale overrides
in other configuration makes it a bit more painful for other use cases
at the moment.
2021-12-14 02:25:02 +01:00
oxalica
aad1bda6f3
scripts/pluginupdate.py: use HEAD as default branch
Thus we always use the default branch. No need to special handle of `master`,
`main`, `trunk` and etc.
2021-12-07 18:50:38 +08:00
github-actions[bot]
a1d98b162f
Merge master into staging-next 2021-11-23 18:01:10 +00:00
Alexei Robyn
b8173c4a0e luaPackages.moonscript: Correct package version to dev-1
The "0.5.0-1" rockspec on luarocks has a bug, resulting in it pulling
the current git master version, which is what we have effectively been
using.

Given that 0.5.0-1 is the latest release, is 6 years old, and that there
have been some bug fixes since then, we do actually want to be using the
git master version, but we also want to be using the correct rockspec
(particularly as alt-getopt has been replaced by argparse in the `moon`
binary).
2021-11-23 18:28:13 +01:00
Victor Engmark
cd838da194 vanity: Indent with spaces part 2
More risky since it affects the inside of strings.
2021-11-18 10:53:29 +13:00
Victor Engmark
90dbec47b7 vanity: Indent with spaces
Some literal tabs within strings should probably be spaces `\t`, but
I'm not familiar enough to make that call.
2021-11-14 16:04:46 +13:00
figsoda
5aaa5f5e75 pluginupdate.py: fix compatibility with nix 2.4 2021-11-13 17:33:43 +01:00
Robert Hensing
e04cc18f18 find-tarballs.nix: Avoid all passthru attrs
Avoiding passthru itself was the right direction, but not a
complete solution. Passthru attributes typically do not contain
dependencies, but rather extra paths that are not relevant to
the build itself.

Whether we want to include all (passthru) test dependencies this
way can be debated, but removing them makes this expression more
robust.
2021-11-04 16:00:32 +01:00