Commit graph

18042 commits

Author SHA1 Message Date
William Carroll
689e887354 Blacklists additional modes from MRU buffer candidates 2017-06-21 23:51:59 -04:00
William Carroll
a349d4ca8c Conditionally set font and size for Linux and OS X 2017-06-21 22:58:16 -04:00
William Carroll
53d106ee88 Removes dired bindings that interfere with windmove global kbds 2017-06-21 22:57:51 -04:00
William Carroll
5e5084311f Starts KDE environment at startup 2017-06-21 22:02:35 -04:00
William Carroll
71bb47c7a3 Adds helpers for single file symmetric encryption / decryption 2017-06-21 14:18:44 -04:00
William Carroll
9d591e52ac Adds GPG helper functions; Cleans index.sh 2017-06-20 18:07:18 -04:00
David McFarland
596b0e0a04 Call SetDllDirectory("") after sqlite3 init on cygwin
Cygwin sqlite3 is patched to call SetDllDirectory("/usr/bin") on init, which
affects the current process and is inherited by child processes.  It causes
DLLs to be loaded from /usr/bin/ before $PATH, which breaks all sorts of
things.  A typical failures would be header/lib version mismatches (e.g.
openssl when running checkPhase on openssh).  We'll just set it back to the
default value.

Note that this is a problem with the cygwin version of sqlite3 (currently
3.18.0).  nixpkgs doesn't have the problematic patch.
2017-06-20 10:59:13 -03:00
William Carroll
8fbafc3a5c Conditionally enables Evil; adds Dired+; conditionally applies linum 2017-06-20 07:48:03 -04:00
William Carroll
5e5c4b0c38 Updates README to current preferences 2017-06-20 07:46:58 -04:00
Eelco Dolstra
c7346a275c
Restore thunks on any exception
There's no reason to restrict this to Error exceptions. This shouldn't
matter to #1407 since the repl doesn't catch non-Error exceptions
anyway, but you never know...
2017-06-20 12:13:17 +02:00
Shea Levy
04ed11a978 Let hydra choose an alternate list of systems 2017-06-19 14:21:06 -04:00
Eelco Dolstra
a1355917ec
Disable use of virtual hosting in aws-sdk-cpp
Recently aws-sdk-cpp quietly switched to using S3 virtual host URIs
(https://github.com/aws/aws-sdk-cpp/commit/69d9c53882), i.e. it sends
requests to http://<bucket>.<region>.s3.amazonaws.com rather than
http://<region>.s3.amazonaws.com/<bucket>. However this interacts
badly with curl connection reuse. For example, if we do the following:

1) Check whether a bucket exists using GetBucketLocation.
2) If it doesn't, create it using CreateBucket.
3) Do operations on the bucket.

then 3) will fail for a minute or so with a NoSuchBucket exception,
presumably because the server being hit is a fallback for cases when
buckets don't exist.

Disabling the use of virtual hosts ensures that 3) succeeds
immediately. (I don't know what S3's consistency guarantees are for
bucket creation, but in practice buckets appear to be available
immediately.)
2017-06-19 18:51:33 +02:00
Eelco Dolstra
82a0d614cf
Support creating S3 caches in other regions than us-east-1 2017-06-19 18:51:33 +02:00
Eelco Dolstra
b33621d425
Handle S3Errors::RESOURCE_NOT_FOUND from aws-sdk-cpp
This is returned by recent versions. Also handle NO_SUCH_KEY even
though the library doesn't actually return that at the moment.
2017-06-19 18:51:32 +02:00
Eelco Dolstra
1c969611ba
Suppress "will retry in N ms" for non-retriable errors
Newer versions of aws-sdk-cpp call CalculateDelayBeforeNextRetry()
even for non-retriable errors (like NoSuchKey) whih causes log spam in
hydra-queue-runner.
2017-06-19 18:51:32 +02:00
Eelco Dolstra
00aa7c6705
Show aws-sdk-cpp log messages 2017-06-19 18:51:32 +02:00
Eelco Dolstra
1888f7889b
macOS: Ugly hack to make the tests succeed
Sandboxes cannot be nested, so if Nix's build runs inside a sandbox,
it cannot use a sandbox itself. I don't see a clean way to detect
whether we're in a sandbox, so use a test-specific hack.

https://github.com/NixOS/nix/issues/1413
2017-06-19 14:26:05 +02:00
Eelco Dolstra
b5bdfdef73
macOS: Remove flags
In particular, UF_IMMUTABLE (uchg) needs to be cleared to allow the
path to be garbage-collected or optimised.

See https://github.com/NixOS/nixpkgs/issues/25819.
+       the file from being garbage-collected.
2017-06-19 14:19:21 +02:00
William Carroll
1ccaee9fa9 Adds finer-grain control over Linum Mode 2017-06-18 13:23:21 -04:00
William Carroll
6d13881ec2 Disables lockfile creation 2017-06-17 22:49:04 -04:00
William Carroll
34dd17535a Associates .zsh_profile file with shell-script-mode 2017-06-17 21:54:48 -04:00
William Carroll
4375cecfd1 Adds script for symlinking emacs functions 2017-06-17 21:32:05 -04:00
William Carroll
2867dfb9f2 Fixes EDITOR env variable configuration 2017-06-17 21:31:28 -04:00
William Carroll
857bb85e66 Adds custom dired functions 2017-06-17 21:30:33 -04:00
William Carroll
c1b97b0a2b Force save files with :w 2017-06-17 21:28:13 -04:00
William Carroll
6f251694d6 Removes redundant buffer creation in Dired 2017-06-17 21:03:33 -04:00
William Carroll
325985da97 Re-enables Smart Mode Line 2017-06-17 21:03:03 -04:00
William Carroll
560121a87b Adds git helper functions for viewing tracked,untracked,staged,unstaged files 2017-06-15 17:22:02 -04:00
William Carroll
f40a345766 Moves helm helper functions to a separate file 2017-06-15 17:21:22 -04:00
William Carroll
d9a05b322e Adds QuickEdit mode for git commit messages within ansi-term 2017-06-15 17:20:45 -04:00
William Carroll
146e2cc3a1 Displays flycheck errors in bottom-left corner of Emacs 2017-06-15 17:19:46 -04:00
William Carroll
708670590f Adds vim monkey-patch to edit files within Emacs 2017-06-15 17:18:58 -04:00
William Carroll
1cd470b85d Updates emacs pager helper script 2017-06-15 16:45:11 -04:00
William Carroll
bea42cf0f9 Adds git alias for diffing staged files 2017-06-15 16:44:30 -04:00
Eelco Dolstra
a10951de08
OS X -> macOS
(cherry picked from commit c20641ce569dc1fdeaeaa147b0292f258667f53b)
2017-06-14 23:28:06 +02:00
Eelco Dolstra
1dcadadf74
Add 1.11.10 release notes
(cherry picked from commit 0fb60e4e0f66cc42c7c274acfcf00b51f6c829c4)
2017-06-14 23:27:52 +02:00
Eelco Dolstra
38b7d55af1
Remove redundant debug line 2017-06-14 13:45:38 +02:00
Eelco Dolstra
88b291ffc4
canonicalisePathMetaData(): Ignore security.selinux attribute
Untested, hopefully fixes #1406.
2017-06-14 11:41:03 +02:00
mob41
2e2c8ef1a1 [Critical] Fixes invalid byte string (b) for padding (#97, #107) (#108)
* Fixes invalid byte string (b) for padding (#97, #107)

* Change version to 0.5
2017-06-13 19:30:27 -07:00
William Carroll
8b545b771c Inits work for git aliases 2017-06-13 11:36:40 -04:00
William Carroll
abdd2a5c0d Supports Helm source jumping 2017-06-13 11:34:06 -04:00
William Carroll
8fff1ba890 Better integrates CLI and Emacsclient 2017-06-13 11:33:16 -04:00
Eelco Dolstra
177f3996e2
Suppress spurious "killing process N: Operation not permitted" on macOS 2017-06-12 18:34:48 +02:00
Eelco Dolstra
25230a17a9
On macOS, don't use /var/folders for TMPDIR
This broke "nix-store --serve".
2017-06-12 17:43:19 +02:00
Eelco Dolstra
847f19a5f7
Provide a builtin default for $NIX_SSL_CERT_FILE
This is mostly to ensure that when Nix is started on macOS via a
launchd service or sshd (for a remote build), it gets a certificate
bundle.
2017-06-12 16:44:43 +02:00
Eelco Dolstra
7f5b750b40
Don't run pre-build-hook if we don't have a derivation
This fixes a build failure on OS X when using Hydra or Nix 1.12's
build-remote (since they don't copy the derivation to the build
machine).
2017-06-12 16:07:34 +02:00
Vincent Ambo
5144842e97 chore: Update Brew formula & Dockerfile to 1.1.0 2017-06-11 23:47:59 +02:00
Vincent Ambo
e2be6152f9 chore: Release version 1.1.0
This release features some cleanup and under-the-hood changes, as well
as "ecosystem-features" that don't directly affect the way Kontemplate
itself functions.

* Resource-sets are now passed on to kubectl in individual
  invocations. This means that kubectl errors can be scoped to
  individual resource set files and issues such as #51 are less of a
  problem.
* A Dockerfile is provided and published at `tazjin:kontemplate` on
  Docker Hub. This image contains `kontemplate`, `kubectl` and `pass`
  and can be used - for example - as an image for a step in a CI
  system.
* Kontemplate is now available on Homebrew, check the README for
  installation instructions.

* If different resource sets don't contain `---` separators in YAML,
  `kubectl` calls will no longer fail. (#51)
* Autocompleted trailing slashes in shells are now filtered from
  include & exclude lists to enhance the CLI experience slightly.
2017-06-11 23:47:59 +02:00
Vincent Ambo
3a2f00f29f chore: Update dependencies 2017-06-11 23:16:22 +02:00
Vincent Ambo
cf5e392baf feat: Add shell script to check if dependencies are up-to-date 2017-06-11 23:16:22 +02:00