Commit graph

1863 commits

Author SHA1 Message Date
Maxim Krivchikov 798672d6fa maintainers: add maxxk 2020-08-21 10:36:53 -07:00
Konstantin Alekseev 76db685f59 maintainers: add kalekseev 2020-08-20 10:19:08 +10:00
Konstantinos Lambrou-Latreille f05df9c4cd maintainers: add koslambrou 2020-08-19 13:48:30 -07:00
Nils 12a9e5f6e9 maintainers: add nilsirl 2020-08-19 22:39:15 +10:00
Martin Weinelt dd03272130
Merge pull request #94810 from elkowar/new_package_pipr
pipr: init at 0.0.12
2020-08-18 22:37:02 +02:00
Frederik Rietdijk fe7bab33d7
Merge pull request #95553 from zowoq/rename-maintainers
maintainers: prefix number with underscore
2020-08-18 11:30:24 +02:00
zowoq 83a1f0ac0a maintainers: remove unneeded quotes from handles 2020-08-18 15:13:23 +10:00
zowoq 17f765b67b maintainers: add note about underscore prefix for handles 2020-08-18 07:59:48 +10:00
zowoq 0052523a18 maintainers: 1000101 -> _1000101 2020-08-18 07:59:48 +10:00
zowoq 7d9c49f8e6 maintainers: 0x4A6F -> _0x4A6F 2020-08-18 07:59:44 +10:00
Tom Repetti 41edd65945 maintainers: add trepetti 2020-08-17 00:10:58 -07:00
syberant e523c0c232 maintainers: add syberant 2020-08-16 19:49:18 +00:00
voidIess 3cc44ba04e
geogebra 6 : init at 6-0-598-0 (#95422)
* geogebra 6 : init at 6-0-598-0

since geogebra was ported from java to electron, this is a repacke;
wont want to delete geogebra 5, no darwin package for 6

ran nixpkgs-fmt over the file to cleanly reformat the spacings

Update pkgs/top-level/all-packages.nix

remove a trailing space

Co-authored-by: Tom Smeets <Tom.TSmeets@Gmail.com>

Update pkgs/applications/science/math/geogebra/geogebra_6.nix

Co-authored-by: Tom Smeets <Tom.TSmeets@Gmail.com>

Applied a sugestion for the formating of the lines

fixed a mistake, where the wrong name attribute was used

removed an unnecassary chmod statement

added a downlod link to archive.org

moved geogebra_6.nix to geogebra6.nix

removed unnecesary build inputs statement

* renamed to geogebra6
2020-08-16 20:02:54 +02:00
Rohit Goswami 06ffe1d00f
maintainers: Update 4336207 with keys 2020-08-15 19:36:04 +00:00
Alvar Penning 0a53c6b565 maintainers: rename geistesk to oxzi
For reasons I have renamed my GitHub account and would like to include
this name change here.
2020-08-15 16:03:46 +02:00
Mario Rodas e306bcdd0e
Merge pull request #95458 from JohnTitor/nushell-0.18.1
nushell: 0.17.0 -> 0.18.1
2020-08-14 19:36:33 -05:00
Maximilian Bosch d22cd376e5
Merge pull request #95161 from lf-/patch-1
nix-doc: init at 0.3.3
2020-08-15 00:29:08 +02:00
Yuki Okushi d6fa00fe5f maintainers: add johntitor 2020-08-15 07:25:05 +09:00
lf- c73d0fdac0 maintainers: add lf- 2020-08-11 18:18:45 -07:00
ZerataX 25c5de7a31 maintainers: add zeratax 2020-08-11 12:51:15 -07:00
Samuel Gräfenstein 4e89f3fd56
maintainers: add samuelgrf 2020-08-11 15:52:55 +02:00
Dennis Gosnell 1ae9ecf3b4
Merge pull request #94891 from gvolpe/development/tools/dconf2nix
dconf2nix: init at 0.5.0
2020-08-10 09:40:27 +09:00
Gabriel Volpe 04989d7f8b maintainers: add gvolpe 2020-08-09 17:58:27 +02:00
Elliott Villars d92cc4cec9 maintainers: add elliottvillars
Signed-off-by: Elliott Villars <elliottvillars@gmail.com>
2020-08-08 18:34:41 -07:00
Doron Behar 039056386d
luaPackages.pulseaudio: remove (#94939)
It's not maintained any more by upstream (by @doronbehar) and it doesn't
build correctly with `buildLuarocksPackage` (see #89767).
2020-08-08 15:43:13 +02:00
0x4A6F fa2b8b01bc
maintainers.0x4A6F: update email 2020-08-08 08:08:10 +00:00
Barry Moore b794182cb2 pythonPackages.jupyter-telemetry: init at 0.1.0 2020-08-07 19:59:39 -07:00
elkowar d1a1a7f559 maintainer: add elkowar 2020-08-07 18:51:55 +02:00
Christian Kauhaus 3d20d83dbf
Merge pull request #89271 from dpausp/eliot-tree
eliot-tree: init at 19.0.1
2020-08-05 15:09:48 +02:00
Farid Zakaria d764809c4d maintainers: add fzakaria 2020-08-04 14:50:17 -07:00
Ryan Mulligan c4814c03b7 treewide: add Jitsi maintainers
* makes jitsi maintainer team
2020-08-04 13:07:36 -07:00
Daniël de Kok b56eb10f89
Merge pull request #94469 from cust0dian/navi-2.7.1
navi: init at 2.7.1
2020-08-04 12:07:45 +02:00
dpausp 37ee089855 eliot-tree: init at 19.0.1
dependencies:

* eliot: init at 1.12.0
2020-08-03 15:32:36 +00:00
Matt Wittmann b33e3ac8cd maintainers: add mcwitt 2020-08-01 21:05:55 -07:00
Serg Nesterov 958ea3d5ca
maintainers: add cust0dian 2020-08-01 22:16:30 +03:00
Jörg Thalheim 0739f4b84f
Merge pull request #94105 from ddelabru/add-inform6
inform6: init at 6.34-6.12.2
2020-08-01 09:07:45 +01:00
Robert James Hernandez 718a82352d maintainers: add sarcasticadmin 2020-07-31 23:06:07 -07:00
Ryan Mulligan 6a84389afe
Merge pull request #94203 from Artturin/add-autotiling
autotiling: init at 1.1
2020-07-31 20:41:42 -07:00
Silvan Mosberger 64a9b4b7a3
Merge pull request #94165 from siraben/scas
scas: init at 0.4.6
2020-08-01 03:44:21 +02:00
Ben Siraphob c7a8ec9898 Add siraben to maintainer-list 2020-08-01 08:13:12 +07:00
Karl Hallsby dde584b3c7 maintainers: add KarlJoad 2020-07-31 10:12:07 -07:00
Jörg Thalheim b75f2114ea
Merge pull request #92581 from TethysSvensson/busybox-udhcpc-script 2020-07-31 07:09:45 +01:00
zowoq eca0b09849 maintainers/*: editorconfig fixes 2020-07-31 15:07:53 +10:00
Dominic Delabruere 406509dcae inform6: init at 6.34-6.12.2
nixpkgs already has Inform 7, which is a lovely design system for creating interactive fiction (text adventures) using a natural language compiler and a rich IDE. However, underlying Inform 7 is a C-like language, Inform 6, which has a much simpler toolchain and its own compiler and standard libraries, which I have packaged for nix here.
2020-07-30 10:27:25 -04:00
Wael Nasreddine eaca8a71ec
Merge pull request #93839 from lucperkins/humioctl
humioctl: init at 0.25.0
2020-07-29 19:12:47 -07:00
Luc Perkins ea15ee2d4b maintainers: add lucperkins 2020-07-29 18:48:00 -07:00
Artturin b9f742f541 maintainer: add artturin 2020-07-30 03:02:58 +03:00
Louis Tim Larsen f609fa60c4
hunspell-dicts: add support for Danish dictionary
PR #93651
2020-07-30 00:51:58 +02:00
Doron Behar 7e7bf5a4a1
sile: 0.10.4 -> 0.10.9 (#94168)
* sile: reformatting, not changing drv at all

Put all inputs on separate lines and don't use `with stdenv.lib` for
large scopes.

* sile: 0.10.4 -> 0.10.9

Add poppler_utils as check dependency. Clean up some outdated comments
and hooks. Add more outputs for better closure size.

* maintainers: add alerque

* sile: add alerque as maintainer
2020-07-29 15:41:23 -05:00
Dmitry Kudriavtsev 345949594f maintainers: update name to anna 2020-07-28 19:48:16 -07:00
Tethys Svensson 179b74c216 maintainers: add TethysSvensson 2020-07-28 22:59:51 +02:00
Ryan Mulligan fb140c7d36
Merge pull request #93709 from arcz/update-nsjail
nsjail: 2.9 -> 3.0
2020-07-28 11:28:25 -07:00
Andika Demas Riyandi f4997efd5c
rnix-hashes: init at 0.2.0 (#93778) 2020-07-28 14:38:00 +00:00
zimbatm 93013cd8b3
Merge pull request #93871 from Chili-Man/terraform-0.12.29-update
terraform: 0.12.28 -> 0.12.29
2020-07-26 09:03:23 +00:00
Bouke van der Bijl 3889822008 maintainers: add bouk 2020-07-26 14:22:57 +10:00
Diego Rodriguez cc6c6eac32
maintainers: add Chili-Man 2020-07-25 17:20:05 -06:00
Daniël de Kok 370a71c74f
Merge pull request #93619 from Parasrah/go-task
go-task: init at 2.8.1
2020-07-25 20:41:26 +02:00
Jaka Hudoklin fea9351d81
Merge pull request #92719 from pjjw/update/mongodb-42
mongodb: 4.0.12 -> 4.2.8
2020-07-24 20:15:29 +02:00
Peter Woodman dbd0f3e957
mongodb: 4.0.12 -> 4.2.8
Not strictly an upgrade, but adds a new mongodb-4_2 target with the
current mongodb from that branch.

Use matching client and server versions in mongodb tests- tests were
using the mongo 3.4 client to connect, and this finally doesn't work
with server 4.2.

Per reviewer suggestion, adding myself as cheetah3 maintainer.

Additionally, reestore comments describing the purpose of the
build-dependencies patch
2020-07-24 11:44:16 -04:00
Artur Cygan 4c17f321b3 maintainers: add arturcygan 2020-07-23 17:51:36 +02:00
Parasrah 60bca58f6f
maintainers: add parasrah 2020-07-22 18:44:39 -06:00
adisbladis 1be9aa3a83
Merge pull request #79235 from goertzenator/add_vispy
vispy: init at 0.6.4
2020-07-21 21:37:29 +02:00
Michael Weiss 9a47c3b504
Merge pull request #93558 from galagora/update-android-studio
androidStudioPackages.beta: 4.0.0.16 -> 4.1.0.14
2020-07-21 20:08:44 +02:00
galagora fb7752a597 maintainers: add meutraa 2020-07-21 19:57:17 +03:00
galagora 167d5d8c3b maintainers: add galagora 2020-07-21 19:50:24 +03:00
worldofpeace 8316e0c16a
Merge pull request #93343 from Profpatsch/maintainers-pronoun-field
maintainers-list: add a GDPR note, avoid unnecessary data collection
2020-07-20 21:08:53 -04:00
Peter Sanford 421b10ea70 maintainers: add psanford 2020-07-20 10:11:51 +10:00
zowoq 0f19b9ba72
Revert "Group packages by language/builder via dummy maintainer" 2020-07-18 17:45:08 +10:00
Jan Tojnar 43259950eb
Merge pull request #92628 from jtojnar/update-overlays
update.nix: Allow passing overlays
2020-07-18 06:50:50 +02:00
Luke Granger-Brown 5ecf942c11 oven-media-engine: init at 0.10.4 2020-07-17 20:07:11 +02:00
Profpatsch f13283c3f5 maintainers-list: add a GDPR note, avoid unnecessary data collection
This change was preceded by the idea of adding a pronoun field to the
file, which we determined to be a bad idea:

* maintainers-list: add pronoun to the optional fields

I often do not know how to address maintainers, so giving them the
ability to specify their pronouns is helpful for communication
purposes.

* maintainers-list: add pronoun for Profpatsch

maintainers-list: make the pronoun field into a list

Some people have a set of pronouns they are fine with, so let’s make
that possible.

Based on feedback by somebody With An Idea™ of the topic.

* maintainers-list: remove the pronouns field

The discussion around the field raised a good point, quoting:

> What you are proposing here is keeping an irrevocable permanent
> history of people’s pronouns. It makes anybody would want to do bad
> things with it one small script away from a list of which Nixpkgs
> contributors are trans. Even looking at the history of name
> changes (which we probably also shouldn’t store) wouldn’t be nearly
> as reliable a source. While it might be tempting to say that
> participating in this would be optional, it would be establishing a
> de facto standard location for this information, that might make
> people feel compelled to participate or accept having the wrong
> pronoun used. Compounding this is the fact that the people who will
> be most comfortable using this field are the people who have never
> changed their pronouns. If they decide to in future, they now have
> to choose between permanently marking themselves as somebody who
> changed or deleted their pronouns (which is dangerous) or leaving
> the wrong pronouns up. Because of this, I think that over time this
> list would probably result in even more people being referred to by
> the wrong pronouns, because of outdated entries that are dangerous
> to correct.
>
> **This idea is extremely dangerous**. If somebody wants to publish
> their pronouns, they can already do that on their website or GitHub
> profile, without having to include that information in a large
> public dataset with history tracking.

So let’s remove it again.
2020-07-17 18:18:31 +02:00
zowoq 5650202eda maintainers: add nixpkgs-{go,rust} 2020-07-17 11:16:54 +10:00
Ash e818368be6 amfora: init at 1.3.0 2020-07-16 17:03:08 +05:30
Jeffrey McBeth 79ed95b348 maintainers: add mcbeth 2020-07-15 09:15:55 -04:00
Matej Urbas 2f355e776b
pkgs.terraform: add terraform-provider-shell 1.6.0 (#93069) 2020-07-14 14:05:39 +00:00
Ryan Mulligan 6faba433b2
Merge pull request #84973 from glittershark/init-aadict
pythonPackages.{aadict,,globre,pxml}: init at 0.2.3, 0.1.5, 0.2.13 respectively
2020-07-13 20:35:48 -07:00
Jonas Schievink e1a1b974ed pc-ble-driver: init at 4.1.1
It's a dependency of pc-ble-driver-py, but it's no longer built
alongside it.
2020-07-13 23:25:26 +02:00
Daniel Șerbănescu c57c936281 evolution-ews: init at 3.36.4 2020-07-09 00:32:51 +02:00
Daniël de Kok d915b7223a
Merge pull request #92657 from CRTified/pkg/cc-tool
cc-tool: Init at unstable-2020-05-19
2020-07-08 14:16:30 +02:00
Jan Tojnar 143398d7da
Merge pull request #92390 from fionera/add-fuzzel
Add fuzzel
2020-07-08 13:42:13 +02:00
CRTified 099fcb426d maintainers: add CRTified 2020-07-08 09:53:44 +02:00
Thiago Franco de Moraes 712a46ced6 maintainers: add tfmoraes 2020-07-07 22:12:25 -07:00
Daniel McCarney 9da69bcf22 honggfuzz: init at 2.2
Honggfuzz is a security oriented, feedback-driven, evolutionary,
easy-to-use fuzzer with interesting analysis options. It is
multi-process and multi-threaded, blazingly fast when the persistent
fuzzing mode is used and has a solid track record of uncovered security
bugs.

See https://honggfuzz.dev for more information.
2020-07-07 23:01:08 -05:00
Timo Kaufmann c6e47d5763
Merge pull request #78451 from arnarg/adding-operator-sdk
operator-sdk: init at 0.18.2
2020-07-07 23:41:30 +02:00
Jan Tojnar 5b3fe9f776
update.nix: Allow passing overlays
Previously, we relied on NIX_PATH for passing overlays but with flakes, we should pass them explicitly.
2020-07-07 21:29:32 +02:00
Daniël de Kok e01b23fb9a
Merge pull request #85492 from toschmidt/mailspring
mailspring: init at 1.7.8
2020-07-07 14:45:59 +02:00
Harry Ho ff12fe96d1 maintainers: add hh 2020-07-07 13:29:22 +08:00
Daniël de Kok f4dce8e967
Merge pull request #91634 from bmilanov/submit/add-nxp-mfgtools
nxpmicro-mfgtools: init at 1.3.191
2020-07-06 20:59:50 +02:00
Biser Milanov 859e2040bc maintainers: add bmilanov 2020-07-06 20:43:00 +02:00
David Arnold 2f8206ea97 maintainers: init blaggacao 2020-07-05 21:39:22 -07:00
Jaka Hudoklin 9698c7302f
Merge pull request #92308 from RaghavSood/rippled/1.5.0
rippled: 1.4.0 -> 1.5.0
2020-07-06 03:47:32 +00:00
Fionera fde6f9a95a maintainers: add fionera 2020-07-06 04:41:17 +02:00
raghavsood 8eee3478ae
rippled: update maintainers 2020-07-06 10:00:09 +08:00
Ryan Mulligan c74e1517aa
Merge pull request #91270 from ShamrockLee/chewing-editor
chewing-editor: init at 0.1.1 Add package `chewing-editor`
2020-07-05 16:34:27 -07:00
Shamrock Lee 66020b7b52 maintainer-list: Add ShamrockLee (myself) to maintainer-list 2020-07-05 16:21:00 -07:00
Saúl Cabrera 9988f8d939 maintainers: add saulecabrera 2020-07-03 18:18:58 -04:00
Benjamin Hipple f7c7509ecd
Merge pull request #91655 from davegallant/master
awscli2: init at 2.0.26
2020-07-03 14:39:27 -04:00
Mitsuhiro Nakamura a1bea5278d
luaPackages.readline: init at 2.6-0 (#91854) 2020-07-01 17:58:50 +02:00
ehmry f9f86e116e
Merge pull request #90451 from joachimschmidt557/nimmm-init
nimmm: init at 0.1.2
2020-07-01 13:46:51 +05:30
Dave Gallant a142770da5
awscli2: init at 2.0.26
Amazon released v2 of their CLI, but is still actively maintaining v1.

- https://github.com/aws/aws-cli/blob/2.0.26/CHANGELOG.rst
- https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html
- https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html
2020-06-30 23:11:31 -04:00
Jörg Thalheim 74cb17f3ba
Merge pull request #52939 from akamaus/tensorboardX 2020-06-30 09:15:56 +01:00
Quentin 1811fea9eb maintainers: add quentini 2020-06-29 16:58:18 +03:00
Philipp Riegger 7b79d72aad maintainers: add priegger 2020-06-29 15:51:40 +02:00
Daniël de Kok 96ccfbaf44
Merge pull request #91671 from david-sawatzke/easypdkprog
easypdkprog: init at 1.2
2020-06-28 18:27:26 +02:00
David Sawatzke 7706c657b0 maintainers: add david-sawatzke 2020-06-28 15:29:55 +02:00
Dmitry Vyal 2633167c2b added akamaus to maintainers-list 2020-06-28 15:11:56 +03:00
Maximilian Bosch c0c786c3bd
Merge pull request #91454 from ConradMearns/obsidian
obsidian: init at 0.7.3
2020-06-28 01:21:21 +02:00
Break Yang bc726a9f28 maintainers: add breakds 2020-06-26 11:19:42 -07:00
Mario Rodas 3f338bb94c
Merge pull request #88012 from TheBrainScrambler/master
webbrowser: init at 29.0.0rc1
2020-06-25 22:16:29 -05:00
Matt Layher 8a3547afe9 maintainers/teams: add mdlayher to golang team
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-26 01:14:07 +10:00
Mario Rodas 71ef943f63
Merge pull request #91423 from danieldk/remove-xara
xara: remove
2020-06-25 06:01:30 -05:00
Daniël de Kok 842acd9000 xara: remove
Not updated since 2006:

https://en.wikipedia.org/wiki/Xara_Xtreme_LX

Marked broken in nixpkgs since 2016-02-27.
2020-06-25 07:55:01 +02:00
Conrad Mearns 14ddd784d3 maintainers: add conradmearns 2020-06-25 02:36:17 +02:00
Sirio Balmelli 8bdbb204d4 maintainers: add siriobalmelli
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-06-24 13:57:58 -07:00
Daniël de Kok 734f1dea8b
Merge pull request #91196 from jduan/jduan--add-fastmod
fastmod: init at 0.4.0
2020-06-22 06:47:51 +02:00
Jingjing Duan d9c5a0a13e maintainers: add jduan 2020-06-21 11:34:43 -07:00
Daniël de Kok 30adb1fb9e
Merge pull request #89276 from jobojeha/master
utf8cpp: init at 3.1.1
2020-06-21 14:29:01 +02:00
Jonathan Jeppener-Haltenhoff 51273a0f73 maintainers: Add jobojeha 2020-06-21 14:14:40 +02:00
Michele Guerini Rocco bc5843f8d1
Merge pull request #88928 from aciceri/navidrome
navidrome: init at 0.23.1
2020-06-20 16:04:04 +02:00
aciceri a04315f38b
maintainers: added aciceri 2020-06-20 14:56:55 +02:00
Shea Levy 2590885605
Merge pull request #89099 from alexbiehl/alex/py-skein
python3Packages.skein: init at 0.8.0
2020-06-19 12:35:26 -04:00
Matt Layher be2947a87a maintainers: add mdlayher GPG key
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-19 16:26:53 +00:00
Yannick Markus e4fd4b2a71 devdocs-desktop: init at 0.7.1
Also added ymarkus to maintainers list.
2020-06-18 12:46:22 +02:00
WilliButz 57a3249994
Merge pull request #90662 from srhb/redis-exporter
prometheus-redis-exporter: init at 1.7.0
2020-06-18 11:25:23 +02:00
Erik Skytthe 9740f61b31 maintainers: add eskytthe 2020-06-18 11:13:25 +02:00
Jesse Wattenbarger 6457a26021 maintainers: add jwatt 2020-06-18 04:31:07 +02:00
Maximilian Bosch 0510cbe849
Merge pull request #90646 from Ma27/matrix-maintainer-team
maintainers/teams: add matrix team
2020-06-18 00:23:55 +02:00
Maximilian Bosch 650617253e
maintainers/teams: add matrix team 2020-06-17 21:55:29 +02:00
pablo1107 52c906147c luaPackages.ldbus: init at scm-0 2020-06-17 12:12:08 +02:00
Antonio Yang 9d71f4f2e2 maintainers: add yanganto 2020-10-03 22:27:20 +08:00
Christoph Hrdinka 9815a6dcdc
Merge pull request #99289 from szlend/znc-clientbuffer
zncModules.clientbuffer: 2015-08-27 -> 2020-04-24
2020-10-02 23:05:41 +02:00
Zeke Stephens 2956f4ecc2 add myself as a maintainer 2020-10-02 15:39:08 -04:00
Patrick Hilhorst e9acc776d8 maintainers/scripts: add update_redirected_urls to fix redirected urls using Repology data 2020-10-02 09:01:35 -07:00
szlend ebb702ff81 maintainers: add szlend 2020-10-02 14:22:12 +02:00
Jan Tojnar 74c5472090
Merge pull request #98304 from jtojnar/updateScript-commit3
maintainers/scripts/update.nix: Add support for auto-commiting changes
2020-10-02 06:16:09 +02:00
Nicolas Berbiche 7fa897d4a4
maintainers: add berbiche 2020-09-29 19:24:36 -04:00
Stig Palmquist 33ea2bb6b5
maintainers: fix incorrect attribute githubId for justinlovinger 2020-09-28 02:18:34 +02:00
Justin Lovinger 1d85b14651 maintainers: add JustinLovinger 2020-09-27 18:35:42 -04:00
Michael Raskin 31a4e2e28b
Merge pull request #93457 from ju1m/apparmor
apparmor: fix and improve the service
2020-09-27 13:07:38 +00:00
Jan Tojnar 74a5bb4041
maintainers/scripts/update.nix: Clean up
- Make some arguments more fitting (the path is actually full, not just relative to prefix…).
- Increase the purity of packages* functions (they now take pkgs from argument, not from scope).
- Add some documentation comments.
2020-09-20 21:22:04 +02:00
Jan Tojnar 71c246c785
maintainers/scripts/update.nix: Run update scripts from the worktree
`update.nix` extracts `passthru.updateScript` attributes in the main repo
and when they are relative paths (e.g. `./update.sh`), Nix will resolve them
to absolute paths in the main repo.

Update scripts can use $(dirname $0) to get the location of files they
should update but that would point to the main repo.
We want them to modify the appropriate git worktree instead
so we replace the prefix accordingly.

`git rev-parse --show-toplevel` will resolve symlinks but, fortunately,
Nix will do that as well, so the path will match:

https://github.com/NixOS/nixpkgs/pull/98304#issuecomment-695761754
2020-09-20 20:12:34 +02:00
Jan Tojnar 0c5ddf3358
maintainers/scripts/update.nix: run update script with UPDATE_NIX_ATTR_PATH
The environment variable will contain the attribute path the script is supposed to update.
2020-09-20 20:12:33 +02:00
Jan Tojnar c21a85c6a0
maintainers/scripts/update.nix: auto-detect attrPath 2020-09-20 20:11:46 +02:00
Jan Tojnar b351de0971
maintainers/scripts/update.nix: mention when there were no changes committed 2020-09-20 20:11:46 +02:00
Jan Tojnar b828285933
maintainers/scripts/update.nix: support filling in auto-commit attributes
We can determine all of them when attrPath is present so we might jsut as well do it.
2020-09-20 20:11:46 +02:00
Jan Tojnar 4a161ddb3b
maintainers/scripts/update.nix: support auto-committing by passing attrPath
Instead of having the updateScript support returning JSON object,
it should be sufficient to specify attrPath in passthru.updateScript.
It is much easier to use.

The former is now considered experimental.
2020-09-20 20:11:46 +02:00
Jan Tojnar 01b9d5371c
maintainers/scripts/update.nix: switch to asyncio
This will make it cleaner and also better respect SIGTERM.
2020-09-20 20:11:45 +02:00
Jan Tojnar 17f89667b3
maintainers/scripts/update.nix: refactoring
Get rid of some globals, split main into smaller functions, rename some variables, add typehints.
2020-09-20 20:11:45 +02:00
Jan Tojnar 1efc042d92
maintainers/scripts/update.nix: Add support for auto-commiting changes
Update scripts can now declare features using

	passthru.updateScript = {
	  command = [ ../../update.sh pname ];
	  supportedFeatures = [ "commit" ];
	};

A `commit` feature means that when the update script finishes successfully,
it will print a JSON list like the following:

	[
	  {
	    "attrPath": "volume_key",
	    "oldVersion": "0.3.11",
	    "newVersion": "0.3.12",
	    "files": [
	      "/path/to/nixpkgs/pkgs/development/libraries/volume-key/default.nix"
	    ]
	  }
	]

and data from that will be used when update.nix is run with --argstr commit true
to create commits.

We will create a new git worktree for each thread in the pool and run the update
script there. Then we will commit the change and cherry pick it in the main repo,
releasing the worktree for a next change.
2020-09-20 20:11:22 +02:00
Jan Tojnar 5adbeb13c5
update.nix: use ThreadPoolExecutor
Not sure why I chose ProcessPoolExecutor in the first place.
2020-09-18 20:52:07 +02:00