Commit graph

10452 commits

Author SHA1 Message Date
Eelco Dolstra
64441f0551
Merge pull request #1939 from dezgeg/lexer-fix
libexpr: Recognize newline in more places in lexer
2018-03-16 12:14:58 +01:00
Eelco Dolstra
eb75bc5afb
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
2018-03-16 12:03:18 +01:00
Eelco Dolstra
4868721506
Filter ANSI colors when not writing to a terminal
Fixes https://github.com/NixOS/nixpkgs/issues/37114.
2018-03-15 16:08:07 +01:00
Eelco Dolstra
7b8914825a
Merge pull request #1965 from masaeedu/master
Wrap thread local in function for Cygwin
2018-03-15 14:56:21 +01:00
Shea Levy
cfdbfa6b2c
Catch more possible instances of passing NULL to memcpy.
Actually fixes #1976.
2018-03-14 23:53:43 -04:00
Shea Levy
d25d9f7cec
Merge branch 'fix/errno-sighandler' of git://github.com/dtzWill/nix 2018-03-14 23:45:35 -04:00
Shea Levy
e2088febf3
concatLists: Don't pass NULL pointers to memcpy.
This is UB, even if the size is 0. See #1976.

Fixes #1976.
2018-03-14 23:44:02 -04:00
Will Dietz
d98755b0c2 nix-daemon: preserve errno in signal handler (thanks tsan) 2018-03-14 21:39:46 -05:00
Eelco Dolstra
55aa622fb1
Fix compatibility with latest boost::format 2018-03-14 19:25:09 +01:00
Eelco Dolstra
c04bca3401
Factor out commonality between release.nix and shell.nix 2018-03-14 19:25:09 +01:00
Eelco Dolstra
ca14b14200
Use boost::format from the boost package
Note that this only requires headers from boost so it doesn't add a
runtime dependency.

Also, use Nixpkgs 18.03.
2018-03-14 19:24:04 +01:00
Shea Levy
56f2ed0081
Merge pull request #1906 from dtzWill/fix/nix-search
nix search: tests and fix #1893 and part of #1892
2018-03-13 18:43:47 -06:00
Abseil Team
2661ed4998 Changes imported from Abseil "staging" branch:
- 586ce24e521973fceb43fd8ea7c9f54eae938762 Remove comments that reference internal code. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 586ce24e521973fceb43fd8ea7c9f54eae938762
Change-Id: Ibab556ce20d3cb0022483cb1f027af67e26706f6
2018-03-13 14:59:16 -04:00
Eelco Dolstra
7afdc8d4a1
build-remote: Don't substitute the build result 2018-03-13 17:56:51 +01:00
Eelco Dolstra
6e60141a80
Typo 2018-03-13 17:48:09 +01:00
Vincent Ambo
dfc1ead29d fix(slides): Minor rewording 2018-03-13 16:57:09 +01:00
Vincent Ambo
f47b4cad07 feat(slides): Add slide about runtimes
All the slide number comments are now off, but oh well.
2018-03-13 16:56:54 +01:00
Vincent Ambo
381c3722aa feat(pdfpc): Add presenter notes for all slides 2018-03-13 16:21:36 +01:00
Vincent Ambo
4033165be0 fix(slides): Minor last-minute fixups 2018-03-13 16:21:12 +01:00
Guillaume Maudoux
80735c4cc9
fetchGit: Fix debug message 2018-03-13 10:28:23 +01:00
Vincent Ambo
cedd3524fb feat(slides): Add slides about MES and stage0 2018-03-13 00:48:15 +01:00
Vincent Ambo
eb2bc80100 feat(slides): Add NixOS slides 2018-03-13 00:39:15 +01:00
Vincent Ambo
71c900dbff feat(slides): Nix logo & drake meme 2018-03-13 00:19:42 +01:00
Vincent Ambo
ca9db12239 feat(slides): Current & desired state of Debian 2018-03-13 00:19:18 +01:00
Vincent Ambo
71e86f883a feat(slides): Highlight importance of reproducibility 2018-03-13 00:18:54 +01:00
Vincent Ambo
3bf976fe45 feat(notes): "How to help" notes 2018-03-13 00:18:32 +01:00
Vincent Ambo
88a2e0927d feat(slides): Add outline of remaining slides 2018-03-12 22:20:47 +01:00
Griffin Smith
8134c3011c feat: Allow creating epics
Add an org-clubhouse-create-epic function that prompts for a milestone then
creates a new epic under that milestone from the current org element
2018-03-12 15:04:06 -04:00
Abseil Team
23ef7e1127 Changes imported from Abseil "staging" branch:
- 50eadebdcad56fe50e8070b94497568c74175b28 Correct an example for StrSplit in the comments and chang... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 50eadebdcad56fe50e8070b94497568c74175b28
Change-Id: I2b12ce54e7d9db05ee15904801498f59e20e5d23
2018-03-12 12:43:06 -04:00
Asad Saeeduddin
be54f4a0b6 Wrap thread local in function for Cygwin
Fixes #1826. See #1352 for a previous instance of a similar change.
2018-03-12 00:56:41 -04:00
Vincent Ambo
f921e1095f feat(slides): Add slide about reproducibility 2018-03-12 02:21:56 +01:00
Vincent Ambo
82dd6c778c feat(slides): Add slides about DDC 2018-03-12 01:53:26 +01:00
Vincent Ambo
6f4278537e feat(slides): Add iniital presentation 2018-03-12 01:09:00 +01:00
Vincent Ambo
da53459e60 feat(build): Add Nix derivation for LaTeX build 2018-03-12 01:08:42 +01:00
Vincent Ambo
fe9d8f03ab feat(notes): Add reference section 2018-03-12 01:08:30 +01:00
Daniel Høyer Iversen
00cc79daee
Merge pull request #149 from deel77/master
Default support for python3 in get_energy() for SP2
2018-03-10 15:30:42 +01:00
Daniel Høyer Iversen
0742039477
Merge pull request #156 from Nightreaver/master
add new rmpro models
2018-03-10 15:30:10 +01:00
Daniel Høyer Iversen
e8795ac1ae
Merge pull request #150 from balloob/patch-1
Depend on pycryptodome instead of pycrypto
2018-03-10 15:29:33 +01:00
Vincent Ambo
1bc0df7875 docs: Add notes about C compilers 2018-03-10 15:10:10 +01:00
Vincent Ambo
d93d2a2d71 feat: Initial check-in 2018-03-10 13:15:01 +01:00
Vincent Ambo
19e5090491 chore: Initial commit 2018-03-10 13:14:56 +01:00
Steven Barthen
d186332b96 add new rmpro models - Pro Plus 3, Pro Plus 300, Pro Plus HYC, Pro Plus R1, Pro PP 2018-03-10 21:10:33 +09:00
Vincent Ambo
3aa2cb8d3e refactor: Remove old error handling library
Removes the old error handling library and switches to plain
fmt.Errorf calls.

There are several reasons for this:

* There are no useful types or handling here anyways, so output format
  is the only priority.
* Users don't care about getting stacktraces.
* My emotional wellbeing.

Fin de siècle.
2018-03-09 15:23:57 +01:00
Vincent Ambo
b8722ce83b refactor(templater): Pass resource set path to insertFile function
This is actually several refactors in one:

* rename "fileContent" function to "insertFile"
* pass the resource set path to the "insetFile" function
* update docs and example with a pipeline including indentation
  adjustments for the inserted file
2018-03-09 14:54:20 +01:00
Niklas Wik
bafb792339 feat(templater): Added support for file include
Adds a 'fileContent' template function to insert the literal contents
of a file specified in the template.

Signed-off-by: Niklas Wik <niklas.wik@nokia.com>
2018-03-09 14:54:20 +01:00
Vincent Ambo
850fdcf3e0 feat(build): Pin nixpkgs used for release build
Pin the nixpkgs-commit used for building the Kontemplate release to a
specific commit.

Kontemplate builds should now be fully repeatable (and most likely
reproducible!) on any machine running Nix.
2018-03-09 14:51:05 +01:00
Eelco Dolstra
24b739817f
Fix double free in Store::queryPathInfo()
It was holding on to a Value* (i.e. a std::shared_ptr<ValidPathInfo>*)
outside of the pathInfoCache lock, so the std::shared_ptr could be
destroyed between the release of the lock and the decrement of the
std::shared_ptr refcount. This can happen if more than
'path-info-cache-size' paths are added in the meantime, *or* if
clearPathInfoCache() is called. The hydra-queue-runner queue monitor
thread periodically calls the later, so is likely to trigger a crash.

Fixes https://github.com/NixOS/hydra/issues/542.
2018-03-09 14:19:51 +01:00
Eelco Dolstra
dc83c8eea5
Merge pull request #1959 from redfish64/master
Modified MakeBinOp to no longer produce its name using concatenation …
2018-03-09 14:06:44 +01:00
Vincent Ambo
a1d9d8b199 feat(build): Build both derivations on Travis 2018-03-09 13:35:35 +01:00
Vincent Ambo
4a6db37ef7 chore: Remove legacy build system 2018-03-09 13:35:35 +01:00