Commit graph

1833 commits

Author SHA1 Message Date
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
Hugo Lageneste 40efae06a7 maintainers: add hugolgst 2020-09-26 18:17:40 -07:00
Austin Butler 2bdce0e50c maintainers: add austinbutler 2020-09-26 15:46:48 -07:00
Hongchang Wu 91c74eeae3 ocamlPackages.dot-merlin-reader: init at 3.4.0 2020-09-25 15:11:46 +02:00
Martin Weinelt 546d7d6a03
Merge pull request #98478 from JamieMagee/maintainer-jamiemagee
maintainers: add jamiemagee
2020-09-23 14:46:25 +02:00
Geoffrey Huntley d1e6dc3574 maintainers: add ghuntley 2020-09-23 14:25:17 +02:00
Jamie Magee 9dd167c9bc
maintainers: add jamiemagee 2020-09-22 18:48:12 +02:00
Doron Behar 20bd6dd45d
Merge pull request #98204 from charvp/pr/init-bluej 2020-09-21 11:10:55 +03:00
Charlotte Van Petegem 9ff87334e6 maintainers: add charvp 2020-09-21 09:04:54 +02:00
Bryan A. S dbdd5d4116 maintainer: Add bryanasdev000
Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
2020-09-21 01:30:44 -03: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
Daniël de Kok 770ecb1d31
Merge pull request #98266 from joncojonathan/removeAsMaintainer
Remove joncojonathan as maintainer
2020-09-20 11:38:30 +02:00
joncojonathan eb61d33a3d maintainers: remove joncojonathan 2020-09-20 11:16:39 +02:00
Matthias Meschede e192fe6527 maintainer: add mmesch 2020-09-19 14:26:23 +02:00
Jakub Kądziołka f65d6237ca maintainers: add NieDzejkob 2020-09-19 09:06:37 +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
Norbert Melzer 6dccacd319 maintainers: Add NobbZ as a maintainer 2020-09-18 11:53:11 +02:00
midchildan a2f450984a
maintainers.midchildan: update info 2020-09-17 10:48:11 +09:00
Felix Tenley 70399cc1ce
maintainers: add felschr 2020-09-16 17:17:14 +02:00
Ryan Mulligan 40ab795911
Merge pull request #98058 from mlvzk/init-manix
manix: init at 0.6.2
2020-09-16 07:55:57 -07:00
Daniël de Kok 917a183d97
Merge pull request #97868 from dpercy/fac-build
fac-build: init at 0.5.3
2020-09-16 07:49:28 +02:00
David Percy deb412f54f maintainers: add dpercy 2020-09-15 21:19:11 -04:00
mlvzk dd9c0cf692 maintainers: add mlvzk 2020-09-15 20:24:34 +02:00
Ryan Mulligan 0dc4edcd60
Merge pull request #98015 from StephenWithPH/swag
go-swag: init at 1.6.7
2020-09-15 07:03:39 -07:00
Erik Arvstedt be33b54672 maintainers/build: skip packages that don't evaluate 2020-09-14 21:17:13 -07:00
StephenWithPH 083041a6f8
maintainers: add StephenWithPH 2020-09-14 16:19:21 -07:00
Nick Hu 5d92cf5f23
Merge pull request #78143 from mtreca/master
pam_gnupg: init at 0.1
2020-09-13 11:44:01 +01:00
Maxime Tréca d9d3013117 pam_gnupg: init at 0.1
Add the pam_gnupg module that unlocks gnupg keys on login.
2020-09-13 10:46:14 +02:00
Damien Cassou 607f5a6755
Merge pull request #84246 from lostnet/couchdbpr
couchdb: add support for version 3.0.0
2020-09-11 17:47:47 +02:00
Will Young 0ef1be0aa1 couchdb: add support for version 3.1.0 2020-09-11 14:03:16 +02:00
ajs124 d5d6bd7f08
Merge pull request #97541 from Sohalt/mpdscribble-0.23
mpdscribble: 0.22 -> 0.23
2020-09-10 20:40:17 +02:00
Ismaël Bouya 213623e291
nagios: fix build
The compiler complains about dl* function missing, this commit adds the
necessary flag to pass to gcc to make it build correctly
2020-09-10 15:37:13 +02:00
sohalt 80f10fd1c3 maintainers: add sohalt 2020-09-10 14:52:36 +02:00
TANIGUCHI Kohei 8a6f8043d2 maintainers: add cohei 2020-09-10 14:56:32 +09:00
Maximilian Bosch 56708c3bf3
Merge pull request #97555 from badmutex/badi/maintainers-update
maintainers: updates for badi/badmutex
2020-09-09 23:03:52 +02:00
Badi Abdul-Wahid a25396b58c
maintainers: badi -> badmutex 2020-09-09 10:45:08 -05:00
Domen Kožar 309d47a21b
Merge pull request #97514 from fgaz/maintainers-build-fix
maintainers/build: skip packages without meta
2020-09-09 11:47:43 +02:00