Commit graph

282 commits

Author SHA1 Message Date
Frederik Rietdijk 74d0b82f29 buildPython*: add updateScript to passthru
All Python packages now have an updateScript. The script calls
`update-python-libraries` and passes it the position of the derivation
expression obtained using `meta.position`. This works fine in case a Nix
expression represents only a single derivation. If there are more in it,
`update-python-libraries` will fail.
2018-12-07 15:48:54 +01:00
Jan Tojnar 59a94b57f0
update.nix: Run update scripts in parallel
To make updating large attribute sets faster, the update scripts
are now run in parallel.

Please note the following changes in semantics:

- The string passed to updateScript needs to be a path to an executable file.
- The updateScript can also be a list: the tail elements will then be passed
  to the head as command line arguments.
2018-12-01 19:17:13 +01:00
volth cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
Robert Schütz 7a59be9c52 maintainers/scripts/update-python-libraries: compare versions semantically instead of lexicographically (#43120) 2018-07-06 19:32:40 +02:00
Eelco Dolstra 8d4068d9d1
pkgs/top-level/release.nix: Don't require Darwin to be supported 2018-07-04 17:53:02 +02:00
Matthew Bauer fb924af13f nixpkgs-lint.pl: use nix-shell for shebang
This is more portable.
2018-06-16 20:14:51 -04:00
berdario 595efb966d hydra-eval-faliures: Print Dependency failures as well as direct failures and update to Python3 (#29760)
* Print Dependency failures as well as direct failures and update to Python3

some package fail due to non-exposed dependencies and would thus not appear in the list, for example gcj

* hydra-eval-failures: simpler hashbang
2018-04-21 15:30:24 -05:00
Shea Levy 29d739a86a
copy-tarballs.pl: Set the right ACL for new keys. 2018-03-31 21:06:41 -04:00
Matthew Bauer 124d47c65a meta: fix fallout from #36275 2018-03-18 00:16:43 -05:00
Jan Tojnar 2381bcd86f
maintainers/scripts/update.nix: use saner nubbing 2018-03-13 18:04:47 +01:00
Jan Tojnar 9b94dd0999
maintainers/scripts/update.nix: fix error message 2018-03-13 09:04:12 +01:00
Frederik Rietdijk f92295abc3 Python: fix update script for nix 2.0 2018-03-10 12:41:27 +01:00
Graham Christensen f7da7fa0c3 Revert "Revert "Convert maintainer file entries to attributes, add github handles"" 2018-03-04 05:13:19 +01:00
Graham Christensen b9f1a76f30 Revert "Convert maintainer file entries to attributes, add github handles"
This reverts commit aa47bac04f.
2018-03-03 22:34:17 -05:00
Graham Christensen f6e943fd40 Revert "maintainers/scripts: improve github handle checker"
This reverts commit a2c708c256.
2018-03-03 22:34:17 -05:00
Profpatsch a2c708c256 maintainers/scripts: improve github handle checker
Now also finds name-clashes for github handles who never contributed to nixpkgs
before. Also deals with too many request errors.
2018-03-04 03:26:44 +01:00
Profpatsch aa47bac04f Convert maintainer file entries to attributes, add github handles
Based on https://github.com/NixOS/nixpkgs/pull/34842, the
nix-instantiate output was pretty-printed and the validity of the github handles
manually verified, by automatically checking whether the user handles exist on
github (https://github.com/userhandle, status 200 or 404).
Each handle under 5 characters was manually checked (because the collision
probability with non-maintainer accounts is high), each missing entry was
manually researched.

The script used is kept in `maintainers/scripts` as an example of how to work
with the mainainers list through nix’ JSON interface.
2018-03-04 03:26:44 +01:00
Jan Tojnar 4a7fc5f062
maintainers/scripts/gnome.sh: remove 2018-03-01 02:53:01 +01:00
Jan Tojnar cb5c630db2
maintainers/scripts/update.nix: allow updating package collections 2018-03-01 02:53:00 +01:00
Jan Tojnar f929f38d5e
maintainers/scripts/update.nix: deduplicate packages
Lot of my GNOME packages have several legacy aliases,
which causes them to be updated multiple times.

This patch uses lib.unique to remove the duplicates.
2018-03-01 02:53:00 +01:00
Will Dietz 9af5be98af debian-patches.sh: patch-tracker is long-since dead, fix to use sources? 2018-01-17 13:17:45 -06:00
Thomas Tuegel 1c004da67e
Merge branch 'bugfix/kwidgetsaddons/5.42.1' into merge/qt-5.10.0 2018-01-15 19:08:27 -06:00
Thomas Tuegel 617c4f4220
Merge branch 'feature/qt-5/5.10.0' into merge/qt-5.10.0 2018-01-15 18:49:13 -06:00
Vladimír Čunát 4de01b6723
rebuild-amount.sh: add --print option (PR #33693)
to allow additionally listing all the rebuilt packages.
2018-01-14 21:12:29 +01:00
Eelco Dolstra 1b0f696d10
Fix copy-tarballs.pl 2018-01-04 18:15:20 +01:00
Bastian Köcher e5b1a5724e Qt5: 5.9.3 -> 5.10.0 2018-01-02 14:01:37 +01:00
Frederik Rietdijk 2c9ecb4f4d update-python-libraries: commit updates and specify update kind
This commit introduces two new features:

1. specify with --target whether major, minor or patch updates should be made
2. use --commit to create commits for each of the updates
2017-12-30 12:15:19 +01:00
Joerg Thalheim 44917c46b1 travis: disable for pull requests
travis is too slow for us and confuse contributors, who think they have
to get travis tests green.
We have now pr bots instead.
2017-11-13 11:40:42 +00:00
Frederik Rietdijk 14da187ad6 Python update-python-libraries: fetch and update asynchronously 2017-11-05 11:08:38 +01:00
zraexy d04790c9e8 docs: 17.03 -> 17.09 2017-10-05 07:19:11 -08:00
Albert Safin 1ae19b6c4e gucharmap: 3.18.2 -> 10.0.1
- Gucharmap no longer follow the GNOME major versioning.
- Gucharmap no longer includes Unicode data. Instead the data should be
  downloaded from unicode.org.
2017-09-29 02:25:41 +07:00
Jan Tojnar 69698ec11c gnome3: only maintain single GNOME 3 package set (#29397)
* gnome3: only maintain single GNOME 3 package set

GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources
to update a single version of GNOME. Maintaining multiple versions just does not make sense.
Additionally, it makes viewing history using most Git tools bothersome.

This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes
the config variable for choosing packageset (`environment.gnome3.packageSet`), updates
the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`.

Closes: #29329

* maintainers/scripts/gnome: Use fixed GNOME 3 directory

Since we now allow only a single GNOME 3 package set, specifying
the working directory is not necessary.

This commit sets the directory to `pkgs/desktops/gnome-3`.
2017-09-24 12:15:50 +01:00
Robin Gloster 1554282290
maintainers/hydra-eval-failures: fix with new lib
lib/maintainers.nix now is a function
2017-09-24 11:31:59 +02:00
Robin Gloster df33d1a2fc
maintainers/hydra-eval-failures: catch fetching maintainers
Fails with some i686-linux build failures
2017-08-28 20:56:10 +02:00
Tuomas Tynkkynen 59ad93a4f3 travis: Hide more unnecessary build spam from installing nox
This should avoid the 28 lines of unnecessary spam about fetching stdenv
and bash:

````
=== Building pull request #28261
these paths will be fetched (0.51 MiB download, 2.50 MiB unpacked):
  /nix/store/2pm24nzym7z11nddnf6vmqhsqmzx9h3g-bash-4.4-p12-dev
  /nix/store/3n6g5nmyn63gsgjc7z03rsd88s2q7b7i-stdenv
  /nix/store/7mpcc6x6b3db595rsqr1qjckpaj1dym8-bash-4.4-p12-info
  /nix/store/d9hb8f6j2syq08hw97qajdcdkl9lwg9n-bash-4.4-p12-doc
fetching path ‘/nix/store/d9hb8f6j2syq08hw97qajdcdkl9lwg9n-bash-4.4-p12-doc’...
*** Downloading ‘https://cache.nixos.org/nar/013kcshsm2hzpngmrf4izq3ag8s9avrkhz5z8l8mgnxay1lxlz99.nar.xz’ to ‘/nix/store/d9hb8f6j2syq08hw97qajdcdkl9lwg9n-bash-4.4-p12-doc’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  357k  100  357k    0     0  3342k      0 --:--:-- --:--:-- --:--:-- 3408k
fetching path ‘/nix/store/2pm24nzym7z11nddnf6vmqhsqmzx9h3g-bash-4.4-p12-dev’...
*** Downloading ‘https://cache.nixos.org/nar/1225myjpymp5bv0x5zl08dmdz786jf86fshc2dwa3zgxasrppcfi.nar.xz’ to ‘/nix/store/2pm24nzym7z11nddnf6vmqhsqmzx9h3g-bash-4.4-p12-dev’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 54312  100 54312    0     0   231k      0 --:--:-- --:--:-- --:--:--  232k
fetching path ‘/nix/store/7mpcc6x6b3db595rsqr1qjckpaj1dym8-bash-4.4-p12-info’...
*** Downloading ‘https://cache.nixos.org/nar/04dzl4jlhxhisiby9lyw2k6q2w5ns3xy1h6gfdc14qn649lshy2f.nar.xz’ to ‘/nix/store/7mpcc6x6b3db595rsqr1qjckpaj1dym8-bash-4.4-p12-info’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  107k  100  107k    0     0  1179k      0 --:--:-- --:--:-- --:--:-- 1198k
fetching path ‘/nix/store/3n6g5nmyn63gsgjc7z03rsd88s2q7b7i-stdenv’...
*** Downloading ‘https://cache.nixos.org/nar/013xg2cnv9wf3fkhcl3b3b6iihqnwhy65m6ijb6ynwavy584w2xi.nar.xz’ to ‘/nix/store/3n6g5nmyn63gsgjc7z03rsd88s2q7b7i-stdenv’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8640  100  8640    0     0   143k      0 --:--:-- --:--:-- --:--:--  148k
=== Reviewing PR 28261 : busybox: 1.26.2 -> 1.27.1, fix bootstrap
````

(From https://travis-ci.org/NixOS/nixpkgs/jobs/264390932)
2017-08-14 22:58:12 +03:00
Graham Christensen 3ffcbdd0f0 Merge branch 'master' into patch-3 2017-07-25 22:17:41 -04:00
Frederik Rietdijk d2aa638ee2 update-python-libraries script: don't forget to break when we actually find an update 2017-07-17 10:43:37 +02:00
Jörg Thalheim 451b23beb2 Merge pull request #27297 from jtojnar/fix/ghex
ghex: init at 3.18.3
2017-07-11 18:43:10 +01:00
Jan Tojnar bf60fbe2e1
ghex: init at 3.18.3 2017-07-11 10:05:06 +02:00
Frederik Rietdijk 54eeab4da0 Python: fix update script in case no PyPI releases are available for a given version 2017-07-03 20:18:47 +02:00
Frederik Rietdijk f0002ea292 Python: improve update script
- remove dead code
- improve readability
- skip fetchFromGitHub (#26320)
2017-06-06 17:20:32 +02:00
Frederik Rietdijk dce1c26e5d Python: fix update script
- use correct extension
- do not update expressions that have an url that does not contain pypi
- show warning in case request fails
2017-05-27 11:29:42 +02:00
Frederik Rietdijk dcc6a69bae Merge pull request #25583 from FRidh/updatescript
Python: update script for packages
2017-05-27 08:37:31 +02:00
Frederik Rietdijk fa8ee5d09b Python: update script for packages
This script determines whether there is an update available for the
package and if so, updates the version and sha256 attributes.

This only works for packages that have their own expression, and `pname`
and `sha256` attribute.
2017-05-27 08:34:38 +02:00
Vladimír Čunát 8004e79415
Merge branch 'master' into staging 2017-05-24 03:24:06 +02:00
Vladimír Čunát 304d30ce3f
all-tarballs: fixup evaluation (and the tarball job) 2017-04-14 10:31:31 +02:00
Tuomas Tynkkynen 7f8202bf83 Fix tarball evaluation
http://hydra.nixos.org/build/51460386

This seems the path of least resistance. Adding "x86_64-darwin" to
supportedSystems causes other errors.
2017-04-11 13:45:29 +03:00
Robin Gloster 80c916b6ce
docs: 16.09 -> 17.03 2017-03-30 17:36:44 +02:00
Shane Pearlman a31041a1b9 nix-diff.sh maintainer script: update usage message for new flags 2017-03-19 16:34:06 -07:00
Daiderd Jordan 55599d91d0 Merge pull request #23414 from shanemikel/nix-helper-scripts
add a script that "diffs" nix environment generations
2017-03-20 00:14:52 +01:00