Commit graph

19600 commits

Author SHA1 Message Date
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
Vincent Ambo
1342e8fb1d Reinstate some language handling 2015-11-20 01:53:38 +01:00
Jude Taylor
b9b7bb1806 re-fix permissions for GHC 2015-11-19 16:06:21 -08:00
Shea Levy
5deb7fbdfb Merge branch 'sandbox-profiles' of git://github.com/pikajude/nix
Temporarily allow derivations to describe their full sandbox profile.
This will be eventually scaled back to a more secure setup, see the
discussion at #695
2015-11-19 17:44:11 -05:00
Vincent Ambo
c60a856388 Version 5.0 \o/ 2015-11-19 22:34:04 +01:00
Vincent Ambo
850d8d79a7 [varnish] Add Varnish configuration and Dockerfile 2015-11-19 22:30:07 +01:00
Vincent Ambo
db1ae9930c Remove old tools 2015-11-19 19:32:02 +01:00
Vincent Ambo
b38216c162 Update Dockerfile slightly 2015-11-19 19:31:25 +01:00
Vincent Ambo
fc0bfd470a Implement remote acid-state support in blog 2015-11-19 19:28:36 +01:00
Vincent Ambo
e9f044e6d5 Add tazblog-db executable 2015-11-19 19:04:21 +01:00
Vincent Ambo
0f6ff6310e [5.0-beta] Split into library and executable 2015-11-19 18:31:06 +01:00
Vincent Ambo
71b2ccd927 Begin cleaning up old things 2015-11-19 18:16:34 +01:00
Vincent Ambo
f703c03916 [build] Finish new Dockerfile 2015-11-19 17:53:05 +01:00
Vincent Ambo
fa514a9d3e [build] Prepare new Docker setup 2015-11-19 16:57:03 +01:00
Vincent Ambo
853be2a99c [build] Use Stack for building 2015-11-19 16:21:15 +01:00
Eelco Dolstra
33f2fbcb62 Merge pull request #707 from peti/master
src/libstore/build.cc: clarify error message for hash mismatches
2015-11-19 13:49:57 +01:00
Peter Simons
6ad10591ce src/libstore/build.cc: clarify error message for hash mismatches
Nix reports a hash mismatch saying:

  output path ‘foo’ should have sha256 hash ‘abc’, instead has ‘xyz’

That message is slightly ambiguous and some people read that statement
to mean the exact opposite of what it is supposed to mean. After this
patch, the message will be:

  Nix expects output path ‘foo’ to have sha256 hash ‘abc’, instead it has ‘xyz’
2015-11-19 12:42:37 +01:00
Jude Taylor
36f7fcc157 Merge pull request #1 from shlevy/sandbox-profiles
Use AutoDelete for sandbox profile file
2015-11-17 10:08:47 -08:00
janus
8a74a125bc FreeBSD can build Linux 32-bit binaries 2015-11-17 14:16:08 +00:00
Shea Levy
1d3529e93a Default arguments belong at declaration, not definition 2015-11-16 05:55:55 -05:00
Shea Levy
9b4cd20752 Fix copy-paste error 2015-11-16 05:54:34 -05:00
Shea Levy
58d2fac91d AutoDelete: Add default constructor with deletion disabled 2015-11-16 05:53:10 -05:00
Shea Levy
4390142315 Use AutoDelete for sandbox profile file 2015-11-15 06:08:50 -05:00
W. Greenhouse
3b19dad162 Limit X host-based auth permissions.
We don't need more than the currently logged in user
to have access to the X session, so don't grant X host access
to other users.
2015-11-15 03:35:54 +00:00
Jude Taylor
bd09a4c967 simplify build.cc using modern C++ features 2015-11-14 14:11:03 -08:00
Jude Taylor
4876bb012e simplify build permissions 2015-11-14 14:11:03 -08:00
Jude Taylor
d760c2638c remove sandbox-defaults.sb 2015-11-14 14:11:03 -08:00
Jude Taylor
22dfd023fa update sandbox profiles within nix 2015-11-14 14:11:03 -08:00
Jude Taylor
8a7f0dfd68 use per-derivation sandbox profiles 2015-11-14 14:10:43 -08:00
Vladimír Čunát
b39622a487 rename chroot to sandbox (fixes #656, close #682)
- rename options but leav old names as lower-priority aliases,
  also "-dirs" -> "-paths" to get closer to the meaning
- update docs to reflect the new names (old aliases are not documented),
  including a new file with release notes
- tests need an update after corresponding changes to nixpkgs
- __noChroot is left as it is (after discussion on the PR)
2015-11-10 22:32:51 +01:00
Eelco Dolstra
9ee15abe30 Fix bad characters in "copying 7 missing paths from ..." 2015-11-10 16:12:26 +01:00