Commit graph

10653 commits

Author SHA1 Message Date
Vincent Ambo
0d7f845bf5 refactor(build): Use ASDF facility for output naming
Turns out there is an easy-to-use :build-pathname parameter to set the
output binary name. This kills the hack!
2018-01-03 16:54:45 +01:00
Vincent Ambo
96c7bdebd6 fix(tazj.in): Set A-record TTLs back to 300 seconds 2018-01-03 16:29:49 +01:00
Vincent Ambo
98281f3548 feat(nix): Configure oslo.pub redirect correctly 2018-01-03 14:31:38 +01:00
Vincent Ambo
20b26dae3b feat(dns): Import oslo-pub zone to git 2018-01-03 14:21:33 +01:00
Benjamin Hipple
4cb5c51375 Fix RPM builds by increasing VM memory size
The VM was running out of RAM while handling debug symbols, which caused the
eu-strip to fail while separating debug symbols.
2018-01-02 23:39:42 -05:00
Abseil Team
6365d1744b Changes imported from Abseil "staging" branch:
- d1a8e5ddbf9f96a4ca020260b21e03820c5ff966 Remove references to the non-existing StringPrintf API to... by Abseil Team <absl-team@google.com>
  - 64a422bc1620b29247a81fab2b08a7f23dfc1461 Add a copy and move constructor to FixedArray.  This does... by Jon Cohen <cohenjon@google.com>

GitOrigin-RevId: d1a8e5ddbf9f96a4ca020260b21e03820c5ff966
Change-Id: I4388bdf1260702f2847307abbac4bf265e8cf90f
2018-01-02 21:13:23 -05:00
Vincent Ambo
41a213054d fix(nix): Correctly configure required kernel modules & VMWare guest 2018-01-02 22:51:31 +01:00
Eelco Dolstra
e297aa7b1c
Merge pull request #1772 from shlevy/hasContext
Add hasContext primop
2018-01-02 18:53:57 +01:00
Shea Levy
689b2783fc
Add hasContext primop 2018-01-02 12:25:14 -05:00
Vincent Ambo
f9641cc1ed refactor(nix): Use disk labels instead of disk UUIDs
Makes configuration portable between VM instances.
2018-01-02 12:08:35 +01:00
Vincent Ambo
a9401f94db feat(nix): Configure Gogs setup 2018-01-02 12:08:23 +01:00
Eelco Dolstra
f68c2b5a78
Merge pull request #1770 from dtzWill/fix/run-test-sandbox-ubuntu
run.sh: include lib64 in sandbox-paths to fix on ubuntu 16.XX
2018-01-02 11:32:18 +01:00
Eelco Dolstra
9b67f234c9
Merge pull request #1768 from dtzWill/feature/brotli
use libbrotli directly when available
2018-01-02 11:31:29 +01:00
Eelco Dolstra
099ba37820
Merge pull request #1766 from FRidh/aspell
Do not export ASPELL_CONF
2018-01-02 11:29:13 +01:00
Vincent Ambo
9da69a7962 feat(dns): Move tazblog over to GleSYS machine 2018-01-02 00:56:27 +01:00
Vincent Ambo
aac2c029a4 feat(nix): Configure reverse-proxy for tazblog 2018-01-02 00:55:23 +01:00
Vincent Ambo
a646f94d47 feat(nix): Add initial Tazblog Nix deployment configuration 2018-01-01 23:20:17 +01:00
Vincent Ambo
9368117813 feat(dns): Add Runbox SPF & renew Keybase verification 2018-01-01 23:20:03 +01:00
Vincent Ambo
cc6de0f9c6 feat(nix): Add Docker building configuration 2017-12-31 17:02:56 +01:00
Vincent Ambo
48687f77d2 fix(elm): Use relative URL to access API
Now that Hunchentoot is serving the Elm frontend, Elm needs to connect
to Gemma at a relative path.

Side note: It would be useful if the frontend displayed errors that
happened :sun:
2017-12-31 17:02:13 +01:00
Vincent Ambo
bd3b2782b9 feat(lisp): Correctly set location for static assets in Nix builds
In order to let Hunchentoot serve the static assets from the correct
location, the *static-file-location* parameter is set before image
dumping based on the $out-envvar which is present during the build
process.

This can easily be set manually in the config file if required by a
user.
2017-12-31 15:31:52 +01:00
Will Dietz
5afee18726 run.sh: include lib64 in sandbox-paths to fix on ubuntu 16.XX
(cc #1769)
2017-12-30 22:41:49 -06:00
Will Dietz
9dd2b8ac7b use libbrotli directly when available
* Look for both 'brotli' and 'bro' as external command,
  since upstream has renamed it in newer versions.
  If neither are found, current runtime behavior
  is preserved: try to find 'bro' on PATH.
* Limit amount handed to BrotliEncoderCompressStream
  to ensure interrupts are processed in a timely manner.
  Testing shows negligible performance impact.
  (Other compression sinks don't seem to require this)
2017-12-30 20:26:33 -06:00
Vincent Ambo
8703b6102c feat(build): Add initial Nix-based build process
Adds a build script using ASDF's program-op to build an executable out
of the Gemma source code.

In addition a Nix derivation is provided that will both compile the
Elm source and place it in a folder, as well as create the executable.

Currently static file serving does not function as intended.
2017-12-29 16:42:10 +01:00
Frederik Rietdijk
ab8ba71205 Do not export ASPELL_CONF
This does not belong in Nix. Setting this env var is already done by the aspell derivation found in Nixpkgs.
2017-12-29 13:45:54 +01:00
Abseil Team
eb5bbdda6c Changes imported from Abseil "staging" branch:
- 5923451fb3b082e8bedb800cb676378b0f52d651 Remove internal-only deprecated APIs. by Daniel Katz <katzdm@google.com>
  - c715bf6e5533a9a5d827e806ccd6e8ee68ad2a53 Small fix for comment in span.h by Abseil Team <absl-team@google.com>
  - ef89cc8dac0631b4ad3499d1f0883670b43567df Rename an internal detail to de-conflict with a badly-nam... by Abseil Team <absl-team@google.com>
  - b53761a945ffdab39d5340904ca822571672f11a Remove base/internal/log_severity.cc, which is omitted fr... by Abseil Team <absl-team@google.com>
  - 56685b1852840d3838e24d83849d56644949e9b7 Reimplementing MallocHook such that the C API wraps the C... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 5923451fb3b082e8bedb800cb676378b0f52d651
Change-Id: I9b854d46b57990c9a10971391d762b280488bcee
2017-12-28 15:09:55 -05:00
Shea Levy
6a0dd63508
Merge branch 'fix/issue-1757' of git://github.com/dtzWill/nix 2017-12-27 18:51:05 -05:00
Shea Levy
25196d0d26
Merge branch 'fix/fetchGit-clean-branch' of git://github.com/dtzWill/nix 2017-12-27 18:50:08 -05:00
Will Dietz
bd17ccf1d8 nix repl: use linenoiseKeyType to differentiate ^C and ^D
Fixes #1757.
2017-12-26 19:25:50 -06:00
Vincent Ambo
5579ca7d6c feat(build): Configure ASDF program-op with entrypoint 2017-12-26 13:48:57 +01:00
Vincent Ambo
abe8419b03 docs(README): Update docs with a note about configuration 2017-12-26 11:15:27 +01:00
Vincent Ambo
e50e2acde0 docs: Add example configuration file 2017-12-26 11:13:52 +01:00
Vincent Ambo
4536e65471 feat(lisp): Implement configuration loading
Adds configuration loading from a file located at either
"/etc/gemma/config.lisp" or a path determined via the `GEMMA_CONFIG`
environment variable.

The configuration file can contain any number of deftask forms and a
single config form which determines the location at which Gemma stores
its data and also the port on which it should listen.
2017-12-26 11:13:03 +01:00
Eelco Dolstra
4801420893
Remove debug line 2017-12-25 14:53:15 +01:00
Valter Vicente
dd0e908317 New flags: check power state and turn device on & off (#132)
Added new flags so it is possible to check device's current power state and to turn device on & off from CLI
2017-12-25 00:35:09 +00:00
Aleksandr Smirnov
82172f54ab support for dooya curtain motor (#134) 2017-12-25 00:34:37 +00:00
Vincent Ambo
50785da62d chore(dotfiles/pkgs): Remove rofi and configuration
No longer need this with EXWM, where Helm replaces all these features.
2017-12-24 18:08:54 +01:00
Vincent Ambo
bd10830d84 chore(dotfiles): Remove i3 config 2017-12-24 18:08:06 +01:00
Vincent Ambo
4a3c771a23 refactor(pkgs): Switch to stable Firefox distribution
Since Firefox Quantum is in stable, I don't need to use the beta
binary anymore.
2017-12-24 18:07:20 +01:00
Vincent Ambo
c2b9c03714 feat(adho): Add The Thief wifi 2017-12-24 18:07:10 +01:00
Vincent Ambo
db0e74fbd0 fix(lisp): Don't intern symbols for unregistered tasks 2017-12-24 18:05:49 +01:00
Roman Gershman
7994c57a90 Typo fix 2017-12-23 00:43:35 +02:00
Roman Gershman
765541cd5e Relax dependency on googletest and allow customization of cctz target 2017-12-23 00:25:36 +02:00
Will Dietz
2e6f06c37e fetchGit: Fix handling of local repo when not using 'master' branch
Add tests checking this behavior.
2017-12-22 15:29:52 -06:00
Abseil Team
17cde19a0f Changes imported from Abseil "staging" branch:
- f13b203bb87afd3a9330030fb97a1318083d8618 Fix SubstituteTest under C++17 with libc++. by Derek Mauro <dmauro@google.com>
  - c551cdf6f70afac3f8ca143f4837f2187715eea9 Fix ABSL_HAVE_THREAD_LOCAL macro for Apple platforms. by Abseil Team <absl-team@google.com>
  - 931020efc43c184c4124975f50a02b377d960f9d Add Abseil Compilers Guide by Tom Manshreck <shreck@google.com>
  - 658f924ca7136c7994290955c5666b60da6ca5b9 Reimplement the SFINAE for allocator_traits::rebind to av... by Abseil Team <absl-team@google.com>
  - 4cb04fa739f70dd5ad0c8421ff4c444645136c7f Fix minor spelling error of 'returning'. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: f13b203bb87afd3a9330030fb97a1318083d8618
Change-Id: I8573087795a50f8cc8367b0af1aedfbd2a89a793
2017-12-22 15:08:21 -05:00
Eelco Dolstra
aa43cbb764
Check aws-sdk-cpp version 2017-12-22 12:05:13 +01:00
Eelco Dolstra
6d80870832
release.nix: Use fetchTarball and fetchGit
In particular, using fetchGit means we don't need hackery to clean the
source tree when building from an unclean tree.
2017-12-22 11:35:32 +01:00
Vincent Ambo
aeeb11f1b7 Bump to LTS 9.20 2017-12-22 11:21:06 +01:00
Vincent Ambo
eadf75d86b Bump to LTS 9.11 2017-12-22 10:45:33 +01:00
Vincent Ambo
02a34a14a0 feat(lisp): Make server port configurable 2017-12-21 14:00:32 +01:00