about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-28 r/1107 feat(nix/getBins): add getBinsProfpatsch5-0/+93
This is a simple-stupid “unix import system” for nix, for referencing binaries in `/bin/` by their name and lifting them to a Nix attrset. Allows for simple aliasing of executable names. Change-Id: Ifa23cb377201c3b08050c5026e9751e736afaf56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/664 Reviewed-by: tazjin <mail@tazj.in>
2020-06-28 r/1106 feat(besadii): Enable automatic builds for CLsVincent Ambo2-13/+30
This expands builds to also be triggered for updates to CL refs. The message displayed on Buildkite will contain a link back to the CL (& patchset) from which the build was triggered. Change-Id: Ib36dee454aeb11d623b89c78b384359ee7ea3477 Reviewed-on: https://cl.tvl.fyi/c/depot/+/708 Reviewed-by: ericvolp12 <ericvolp12@gmail.com> Reviewed-by: isomer <isomer@tvl.fyi>
2020-06-28 r/1105 refactor(besadii): Rename branchUpdate -> refUpdatedVincent Ambo1-7/+8
The name of the hook this type represents is 'refUpdated'. Since we're adding support for additional hooks, it makes sense to to rename this accordingly. Change-Id: Ia568c85493813f5e754c77d0b993aaf246d3d595 Reviewed-on: https://cl.tvl.fyi/c/depot/+/667 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-28 r/1104 feat(nix/runTestsuite): add runTestsuiteProfpatsch1-0/+121
This is a very simple test suite for nix expressions. It should help us set up a good suite of unit tests for our nix-based stuff. Since we allow import from derivation, these tests can also depend on derivations and e.g. use `builtins.readFile` to check outputs. This is a first PoC to get us going, we can always replace it by something different in the future if we don’t like it. Change-Id: I206c7b624db2b1dabd9c73ffce4f87e658919958 Reviewed-on: https://cl.tvl.fyi/c/depot/+/662 Reviewed-by: tazjin <mail@tazj.in> Tested-by: tazjin <mail@tazj.in>
2020-06-27 r/1103 feat(nix/yants): add unit typeProfpatsch2-0/+2
Has one less value than bool. Change-Id: I2f2db07b1eb1f49172942bc1d8c6ceb30d987d84 Reviewed-on: https://cl.tvl.fyi/c/depot/+/661 Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1102 feat(tazjin/camden): Redirect tvl.fyi/builds to BuildkiteVincent Ambo1-2/+1
Change-Id: Id9f6f6035b1e068d0b3d9f649427010c18d43be6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/641 Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1101 feat(besadii): Trigger builds on Buildkite instead of SourcehutVincent Ambo1-113/+35
These builds run on runners that we control and disk space is (less of) an issue there. Change-Id: Id0a1436b2368418e447f6d5298ab474f829d4c97 Reviewed-on: https://cl.tvl.fyi/c/depot/+/628 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-27 r/1100 feat(nix/writeExecline): add writeExeclineProfpatsch3-0/+72
This is a writer, similar to `pkgs.writeBashScript` or `pkgs.writers.writePython3`. The difference is that we can correctly write all execline scripts by using nix lists of lists, so the user doesn’t have to care about escaping arguments (like they have to in bash scripts with `lib.escapeShellArg` for example). Change-Id: I2f2874cf61170ddca07b89b692f762725f4a75dc Reviewed-on: https://cl.tvl.fyi/c/depot/+/625 Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1099 feat(ops/pipelines): Add Buildkite pipeline configurationVincent Ambo3-0/+25
This adds configuration which generates the structure expected for Buildkite pipelines, which can then be dynamically ingested by Buildkite when a pipeline is triggered. Change-Id: I61e3dc3affb19c1f2550ef827fa73b17f8d8ae47 Reviewed-on: https://cl.tvl.fyi/c/depot/+/627 Reviewed-by: ericvolp12 <ericvolp12@gmail.com> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-27 r/1098 feat(tazjin/frog): Enable Buildkite agentVincent Ambo1-0/+6
While we get our actual CI system up-and-running (i.e. while we're waiting for Hetzner to provision a machine), Frog can serve as a build host (whenever it's online, anyways). Change-Id: I917a8dbe92c499c607ead179a58bc59c105abd3d Reviewed-on: https://cl.tvl.fyi/c/depot/+/626 Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1097 feat(nix/binify): add binifyProfpatsch2-0/+17
Create a store path where the executable `exe` is linked to $out/bin/${name}. This is useful for e.g. including it as a “package” in `buildInputs` of a shell.nix. For example, if I have the exeutable /nix/store/…-hello, I can make it into /nix/store/…-binify-hello/bin/hello with `binify { exe = …; name = "hello" }`. Change-Id: I600bdcd8f143bca2dd8dfbb165a9a5a8d6397622 Reviewed-on: https://cl.tvl.fyi/c/depot/+/624 Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1096 feat(users/Profpatsch): add home directoryProfpatsch1-0/+3
Change-Id: Ia5ff68b67350dd72cb7a64260ec80881ba845660 Reviewed-on: https://cl.tvl.fyi/c/depot/+/623 Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: tazjin <mail@tazj.in>
2020-06-27 r/1095 chore(tvl-slapd): sort alphabeticallyProfpatsch1-5/+5
bad ericvolp12 Change-Id: I508c7de48d4c2a7c734c38f79d0efeafec5d1e34 Reviewed-on: https://cl.tvl.fyi/c/depot/+/622 Reviewed-by: Profpatsch <mail@profpatsch.de>
2020-06-27 r/1094 feat(tvl-slapd): add ProfpatschProfpatsch1-0/+5
Change-Id: I2d865a5271e7a3a2fe17009b306fe3f561a1290f Reviewed-on: https://cl.tvl.fyi/c/depot/+/621 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1093 feat(tvl-slapd): add artemist to slapdArtemis Tosini1-0/+5
Signed-off-by: Artemis Tosini <me@artem.ist> Change-Id: I11fc0cb58660d3cc55c6cf5489cc872a51454cb5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/609 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1092 feat(besadii): Trigger separate builds for build target setsVincent Ambo2-18/+60
In CL/570 we split up the build targets into different buckets, with the idea that this should help us avoid the disk space issues on Sourcehut. This commit changes Besadii to read the list of target sets from a file and trigger a separate build for each one of them. Change-Id: If280fda5f40cd130c534c40911072e47c2d8f2be Reviewed-on: https://cl.tvl.fyi/c/depot/+/608 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-26 r/1091 fix(tazjin/frog): Install missing manpagesVincent Ambo1-0/+1
Change-Id: I69f3900415231c20ce3df9d0f2fb59114bc4bffa Reviewed-on: https://cl.tvl.fyi/c/depot/+/607 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1090 chore(tazjin): Move my presentations to my user directoryVincent Ambo40-0/+0
Change-Id: I72b25680e7167c3a55477111c28b1d4936c60e2c Reviewed-on: https://cl.tvl.fyi/c/depot/+/606 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1089 chore(ci-builds): Update for moved targetsVincent Ambo1-4/+7
Change-Id: I2227d13fd4769f2b4411a43082543a5b56cacfb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/605 Reviewed-by: isomer <isomer@tvl.fyi>
2020-06-26 r/1088 fix(tazjin/homepage): Fix configuration settings after page movesVincent Ambo3-9/+9
My personal pages have moved out of //web, and various changes were necessary to keep everything working. Change-Id: I2f81fdd8ba2ce2ce6fea7e329bbdcda6092cc8a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/604 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1087 chore(tazjin): Move //web/blog & //web/homepage to my userdirVincent Ambo32-0/+0
Change-Id: I96a2620ffb1d9e98a1d8ce7d97f2c4f58c2dbfd3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/603 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1086 chore(web): Remove tazblog_lispVincent Ambo2-100/+0
This isn't actually used for anything. Change-Id: Ief1128e934b1626189453abe3564cb64e1fe5a95 Reviewed-on: https://cl.tvl.fyi/c/depot/+/602 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1085 feat(tazjin/frog): Install 'nsfv-setup' into system profileVincent Ambo1-0/+1
Change-Id: I8b49cd5208a8ddb43eb426714c14c9cdd50f0bd0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/601 Reviewed-by: tazjin <mail@tazj.in>
2020-06-26 r/1084 feat(gs/home): Install nsfv-setup from depotGriffin Smith1-0/+8
Change-Id: I17cc6268285d06f64f84f8b0d52a367ad8e3c837 Reviewed-on: https://cl.tvl.fyi/c/depot/+/580 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-26 r/1083 refactor(gs/home): Install jsonnet from unstableGriffin Smith1-1/+1
Change-Id: I88b7574b8f415a476b15e21e49ba52e9ade5dd7b Reviewed-on: https://cl.tvl.fyi/c/depot/+/579 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-26 r/1082 feat(tools/nsfv-setup): Move NSFV setup script out of //usersVincent Ambo1-1/+10
This program can be used for noise-cancelling in arbitrary audio streams. See CL/576 and CL/577 for more details. This moves the script out of my users folder and to //tools, and adds two changes: * Existing sinks will be removed & reinitialised * The sink is changed from stereo->mono (which seems to make little difference but is more reliable) * The parameter has changed from 50 to 42 because I felt like it Change-Id: Id9ff285fefd682ccc4d9f18e46b5fde9cd056aa7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/578 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-25 r/1081 feat(tvl.el): Add push-wip commandGriffin Smith1-0/+11
P W, to push as a work-in-progress CL Change-Id: Ibc6973512e8dcd3ce77b2f1064906a98e9a3a182 Reviewed-on: https://cl.tvl.fyi/c/depot/+/575 Reviewed-by: tazjin <mail@tazj.in>
2020-06-25 r/1080 feat(tazjin/nsfv-setup): Add script for noise-cancelling othersVincent Ambo2-0/+19
This script creates a pulseaudio sink that will cancel noise in audio streams sent to it, and then move it on to the default sink. This means that other people's crackling, static background, gulping, keyboard sounds, fan whirring, construction noise etc. are removed. Some preliminary tests on TVL suggest that this actually works. The parameter might need some tweaking ("50" is just the default value), as there is some occasional crackling at the beginning/end of a speech segment, but this is already *much* better than before. Change-Id: I9d4e2b39cfc2b878b4b7c5458788b8d46fb801af Reviewed-on: https://cl.tvl.fyi/c/depot/+/577 Reviewed-by: nyanotech <nyanotechnology@gmail.com>
2020-06-25 r/1079 feat(3p/nsfv): Add derivation for NSFVVincent Ambo1-0/+23
This is a real-time noise suppression plugin for pulseaudio. I want to cancel other people's noise with this. Change-Id: Ia3031435e0db35eb80b626ab60d7a62b892d295d Reviewed-on: https://cl.tvl.fyi/c/depot/+/576 Reviewed-by: Kane York <rikingcoding@gmail.com>
2020-06-24 r/1078 feat(users/riking): create users/ directoryKane York1-0/+3
Change-Id: Id258c23fed40e295ff42fd8c11621375a22ffe8e Reviewed-on: https://cl.tvl.fyi/c/depot/+/572 Reviewed-by: tazjin <mail@tazj.in>
2020-06-24 r/1077 refactor(web/tvl): Point code link to SourcegraphGriffin Smith1-1/+1
Since this is replacing cgit now Change-Id: I72da8cb30ed70445eb90adf38bb24d4f7b9782a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/573 Reviewed-by: tazjin <mail@tazj.in>
2020-06-24 r/1076 refactor(ci-builds): Split up CI builds into multiple bucketsVincent Ambo2-34/+75
These categories separate CI targets, which hopefully avoids the out-of-space errors we have been seeing on Sourcehut. The sets of CI build targets are made available in the depot itself so that besadii can be updated to create a new build for each target group. For convenience, 'ciBuilds' contains an '__allTargets' attribute which combines the contents of each target batch - this makes it possible to still invoke a build for everything by using: nix-build -A ciBuilds.__allTargets Note: Some targets that were previously built in CI aren't anymore, most importantly my NixOS systems which don't fit on Sourcehut. Change-Id: Ia15ed7b743c8add51ae08ce0827a0ddfacd637e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/570 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-24 r/1075 feat(clbot): allow specifying branch and repo to look at on command lineLuke Granger-Brown1-2/+26
Change-Id: Ib2e37275d770a1e98a526481018514a564a4f73b Reviewed-on: https://cl.tvl.fyi/c/depot/+/569 Reviewed-by: tazjin <mail@tazj.in>
2020-06-24 r/1074 fix(tvl.el): Use 'canon' branch instead of 'master'Vincent Ambo1-3/+3
Change-Id: I779c3c979cc21a428188d31b399fd8ba97017f8d Reviewed-on: https://cl.tvl.fyi/c/depot/+/567 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-24 r/1073 chore: Update 'master -> canon' in various placesVincent Ambo4-7/+7
Change-Id: I901c023f707a0223af673c217c65434e26e2ab1f Reviewed-on: https://cl.tvl.fyi/c/depot/+/568 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-24 r/1072 fix(tazjin/frog): Explicitly use amdgpu driverVincent Ambo2-7/+8
This ends up using the same driver, but generates saner display names somehow. Who knows what's going on there. FWIW, it didn't help with the font weight issue. Change-Id: Ib6161088b23109f4f0e24b8a87c478ad274df4d6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/566 Reviewed-by: tazjin <mail@tazj.in>
2020-06-23 r/1071 feat(tvl-slapd): add camsbury to slapdCameron Kingsbury1-0/+5
add camsbury From ccd385879ed384389983f4ddc55ef675f40e6119 Mon Sep 17 00:00:00 2001 From: Cameron Kingsbury <camsbury7@gmail.com> Date: Tue, 23 Jun 2020 14:13:51 -0400 Subject: [PATCH] feat(tvl-slapd): add camsbury to slapd Change-Id: I0fbf05ca80a006c9b2055509661fc1e93211e30f Reviewed-on: https://cl.tvl.fyi/c/depot/+/565 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in>
2020-06-23 r/1070 feat(users/glittershark): Jsonnet in emacs + systemGriffin Smith3-0/+7
Add jsonnet-mode to emacs, and install jsonnet in the development.nix module in home-manager. Change-Id: I11d6417b6a059de151dbb5407682059e0d5a7d3c Reviewed-on: https://cl.tvl.fyi/c/depot/+/564 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-23 r/1069 fix(3p/nix): Revert "feat(3p/nix): Add installCheckPhase"glittershark2-14/+0
This reverts commit 368e8d1eddb8cd95ded7b2f78e4805c67d28ff91. Reason for revert: Didn't mean to submit, and the phase is currently failing (which breaks the otherwise-functional derivation) Change-Id: I515b2fb45188dc90f09ae2458453192487c74d71 Reviewed-on: https://cl.tvl.fyi/c/depot/+/581 Reviewed-by: tazjin <mail@tazj.in>
2020-06-23 r/1068 feat(g/emacs): Add template for work org filesGriffin Smith2-0/+35
This includes an attempt at making this work with auto-insert, but that didn't seem to have any effect - can just call it manually now Change-Id: I0eac267b7d3387efd84a2dd0d32b1364fa06f328 Reviewed-on: https://cl.tvl.fyi/c/depot/+/563 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-23 r/1067 feat(3p/nix): Add installCheckPhaseGriffin Smith2-0/+14
Add an installCheckPhase that runs the appropriate substituteAll on common.sh and runs the lang.sh tests with the build artifacts in the PATH. Change-Id: I2df5a93b8f3ffdfdc194a0e7d6b6669ef520c345 Reviewed-on: https://cl.tvl.fyi/c/depot/+/561 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-23 r/1066 fix(3p/nix): Make traces log, not dlogGriffin Smith1-2/+2
We don't want traces compiled out since they're an actual language feature that're used in userspace - also their absence is breaking the tests Change-Id: Icaefca8f52e94001785f724fdc0c10a7586b24e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/562 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: Kane York <rikingcoding@gmail.com> Reviewed-by: lukegbot <bot@lukegb.com>
2020-06-22 r/1065 feat(tazjin/frog): Install a variety of other toolsVincent Ambo1-1/+6
These are all things I constantly nix-shell into my environment. Maybe they should just be part of it. Change-Id: Ic0b738d12fae70900629c79764c7d8c323e71bb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/560 Reviewed-by: tazjin <mail@tazj.in>
2020-06-22 r/1064 feat(tazjin/frog): Install obsVincent Ambo1-0/+2
Change-Id: I06d532b707c9c477bc573829805379a90b332182 Reviewed-on: https://cl.tvl.fyi/c/depot/+/559 Reviewed-by: tazjin <mail@tazj.in>
2020-06-22 r/1063 fix(org-gcal): Don't render LOCATION if there isn't oneGriffin Smith1-20/+28
previously it'd just render: :LOCATION: key not found: location Change-Id: I6454c1ef8c6c1096773978add1243097116d1e68 Reviewed-on: https://cl.tvl.fyi/c/depot/+/558 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1062 feat(g/emacs): Use LSP for pythonGriffin Smith1-5/+2
Change-Id: I4d36fc88026b8e266b6f15614a27bb4dbd4ff564 Reviewed-on: https://cl.tvl.fyi/c/depot/+/557 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1061 feat(g/emacs): Break out magit commandsGriffin Smith1-13/+1
Since these are defined in tvl.el now Change-Id: I34c249dceef33dac46ffe5db8b42f057d2c12a4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/556 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1060 fix(3p/nix): fix readTree by fixing readDir by deleting some codeLuke Granger-Brown1-7/+0
Change-Id: I4f44e6050fc5121072f4cde7758defe2dcbd4e92 Reviewed-on: https://cl.tvl.fyi/c/depot/+/552 Reviewed-by: tazjin <mail@tazj.in>
2020-06-22 r/1059 fix(xanthous): Make floodFill fasterGriffin Smith1-1/+4
Speed up the floodFill algorithm by sprinkling in some strictness and specializing it to the only type it's currently called at anyway. Change-Id: I4557fc51b1c1036c127bfd5bee50748d8692ae74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/555 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-22 r/1058 feat(xanthous): install hp2prettyGriffin Smith1-0/+1
heap profiling woo Change-Id: Ie14bc81e9278e3c0d65bd22efc24cfaae43369ca Reviewed-on: https://cl.tvl.fyi/c/depot/+/554 Reviewed-by: glittershark <grfn@gws.fyi>