Commit graph

18730 commits

Author SHA1 Message Date
Shea Levy
9533532ce2 autoCallFunction: Auto-call functors 2015-11-25 11:56:14 -05:00
Eelco Dolstra
bfb6c4876a Merge pull request #617 from Preston4tw/patch-1
Update nix.spec.in
2015-11-25 17:21:16 +01:00
Eelco Dolstra
c0d4173263 Set default binary-caches-parallel-connections to 25
Some benchmarking suggested this as a good value. Running

  $ benchmark -f ... -t 25 -- sh -c 'rm -f /nix/var/nix/binary-cache*; nix-store -r /nix/store/x5z8a2yvz8h6ccmhwrwrp9igg03575jg-nixos-15.09.git.5fd87e1M.drv --dry-run --option binary-caches-parallel-connections <N>'

gave the following mean elapsed times for these values of N:

N=10:  3.3541
N=20:  2.9320
N=25:  2.6690
N=30:  2.9417
N=50:  3.2021
N=100: 3.5718
N=150: 4.2079

Memory usage is also reduced (N=150 used 186 MB, N=25 only 68 MB).

Closes #708.
2015-11-25 17:13:11 +01:00
Eelco Dolstra
efd6a8c9f6 Fix Ubuntu/Debian/Fedora builds 2015-11-25 16:12:30 +01:00
Eelco Dolstra
0ab4d905e7 Merge branch 'p/sandbox-rename-minimal' of https://github.com/vcunat/nix 2015-11-25 14:53:42 +01:00
Eelco Dolstra
27d6ed5c68 Remove sandboxProfile from release.nix
There is really no conceivable reason why building Nix would need
access to the host's nix.conf. If it does, it's a bug, and we should
fix that instead.
2015-11-25 14:45:27 +01:00
Eelco Dolstra
a0f0733413 Fix build failure introduced by #704
Also, make the FreeBSD checks conditional on FreeBSD.
2015-11-25 14:41:19 +01:00
Eelco Dolstra
afef347157 Merge pull request #712 from pSub/print-meta-license
Print license information on '--xml --meta'
2015-11-25 14:00:52 +01:00
Eelco Dolstra
4c1c7e5812 Merge pull request #716 from ebzzry/master
Fixed typo.
2015-11-24 19:31:10 +01:00
Eelco Dolstra
cad40adce5 Merge pull request #704 from ysangkok/freebsd-support
FreeBSD support with knowledge about Linux emulation
2015-11-24 19:24:21 +01:00
Vincent Ambo
792fe17f35 Version 5.1.2 2015-11-24 14:07:57 +01:00
Vincent Ambo
599d765903 [blog] Add a deleteEntry function, only for CLI 2015-11-24 14:07:31 +01:00
Vincent Ambo
94788f1f92 [varnish & k8s] Minor config updates 2015-11-24 14:07:20 +01:00
Vincent Ambo
35dba3b211 [5.1.1] Add meta-description tag 2015-11-23 16:36:42 +01:00
Rommel M. Martinez
cf141abfe9 Fixed typo. 2015-11-23 15:59:57 +08:00
Shea Levy
6c10bd7c5e Merge branch 'host-deps' of git://github.com/pikajude/nix
Reintroduces the functionality that allows the baked-in pre-build-hook to find framework dependencies
2015-11-21 20:28:13 -05:00
Jude Taylor
279fa8f618 reintroduce host deps in tandem with sandbox profiles 2015-11-21 15:57:06 -08:00
Shea Levy
e0bd114e09 Revert "remove sandbox-defaults.sb"
As discussed in NixOS/nixpkgs#11001, we still need some of the old
sandbox mechanism.

This reverts commit d760c2638c.
2015-11-21 16:40:24 -05:00
Vincent Ambo
6138a8b0f8 [varnish] Add X-Cache headers 2015-11-21 21:20:12 +01:00
Vincent Ambo
813c273e68 [varnish] Add HSTS header on redirect 2015-11-21 20:50:02 +01:00
Vincent Ambo
7458430485 [k8s] Update hitch flags to use PROXY to Varnish 2015-11-21 20:31:05 +01:00
Vincent Ambo
8390d14877 [varnish] Fix www. redirect 2015-11-21 20:30:50 +01:00
Vincent Ambo
a3a2afdc59 [varnish] Use Varnish 4.1, redirect to HTTPS 2015-11-21 19:49:36 +01:00
Vincent Ambo
9b403a625f [5.1] Version 5.1 2015-11-21 19:09:56 +01:00
Vincent Ambo
41599161fa [blog] Update error page for new design 2015-11-21 19:07:30 +01:00
Vincent Ambo
d7d428d597 [locale/blog] Remove other unused code 2015-11-21 19:05:17 +01:00
Vincent Ambo
a68d6cfa31 [locale/blog] Remove unused locale strings 2015-11-21 19:01:05 +01:00
Vincent Ambo
4c961c4ac6 Rename res/ to static/ 2015-11-21 18:56:08 +01:00
Vincent Ambo
6bc3802646 [res] Remove old background images 2015-11-21 18:54:57 +01:00
Vincent Ambo
80b6f2ca1f [blog] Add inline class on headers 2015-11-21 18:37:29 +01:00
Vincent Ambo
28b00ef3d4 [blog] Minor design fixes 2015-11-21 18:31:39 +01:00
Vincent Ambo
e6a20995f5 [blog] Remove unneeded Lucius usage 2015-11-21 18:27:25 +01:00
Vincent Ambo
8f8cb132fb [varnish] Add HSTS header to every response 2015-11-21 18:25:22 +01:00
Vincent Ambo
4a6dcafaad [k8s] Specify Hitch backend correctly 2015-11-21 18:25:12 +01:00
Vincent Ambo
6201e24c0b
[res] Remove some unnecessary files 2015-11-21 17:25:07 +01:00
Vincent Ambo
9f33d98db5
[blog] Implement new and simpler design 2015-11-21 17:24:01 +01:00
Pascal Wittmann
4921223160 Print license information on '--xml --meta'
The nixpkgs manual prescribes the use of values from stdenv.lib.licenses
for the meta.license attribute. Those values are attribute sets and
currently skipped when running nix-env with '--xml --meta'. This has the
consequence that also nixpkgs-lint will report missing licenses.

With this commit nix-env with '--xml --meta' will print all attributes
of an attribute set that are of type tString. For example the output for
the package nixpkgs.hello is

    <meta name="license" type="strings">
      <string type="url" value="http://spdx.org/licenses/GPL-3.0+" />
      <string type="shortName" value="gpl3Plus" />
      <string type="fullName" value="GNU General Public License v3.0 or later" />
      <string type="spdxId" value="GPL-3.0+" />
    </meta>

This commit fixes nixpkgs-lint, too.
2015-11-21 11:43:44 +01:00
Vincent Ambo
cfea17dc0d
[blog] Update acid-state URL 2015-11-21 03:20:04 +01:00
Vincent Ambo
6cc143a6ff
[locales] Update repoURL 2015-11-21 03:18:46 +01:00
Vincent Ambo
77c376e283
[all] Fix all warnings 2015-11-21 03:18:08 +01:00
Vincent Ambo
c2fe73b027
[cabal] Enable warnings 2015-11-21 03:04:43 +01:00
Vincent Ambo
68824a4156
[all] Stylish Haskell import formatting 2015-11-21 03:02:56 +01:00
Vincent Ambo
3b3f6497bd
[blog] Always link title to / 2015-11-21 03:02:05 +01:00
Vincent Ambo
308e859d56
[blog] Split request handling, do HTTP better
* request handling split into multiple smaller handlers
* use request methods in various places instead of different routes
* some minor updates to admin page
2015-11-21 02:59:34 +01:00
Vincent Ambo
7610e79013
[db] Update interactiveUserAdd for remote state 2015-11-21 02:59:03 +01:00
Vincent Ambo
30e9f29fe1
Remove site notice 2015-11-21 02:56:51 +01:00
Vincent Ambo
4fa4e20f9b
[5.1-beta] Begin beta branch 2015-11-21 02:56:05 +01:00
Vincent Ambo
c1bdfe5a66 [varnish] Don't remove the /en/ for now 2015-11-20 10:58:33 +01:00
Vincent Ambo
fdc20d3c82 [k8s] Hitch should connect to Varnish, not the blog 2015-11-20 10:58:15 +01:00
Vincent Ambo
df93cead28 [k8s] Add Kubernetes service & RC files 2015-11-20 01:59:52 +01:00