about summary refs log tree commit diff
path: root/users/wpcarro (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28 r/4264 feat(wpcarro/website): Support SSL certs for wpcarro.devWilliam Carroll5-37/+74
This has been sloppy for awhile... While I'm at it modularize some of my Nginx configuration. Side note: might be time to decouple the Terraform provisioning stuffs from the NixOS configuration, and this feels *too* tightly coupled. Change-Id: Ida0da5462d938b956571321a67ba1f026fb0a7de Reviewed-on: https://cl.tvl.fyi/c/depot/+/5902 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4263 feat(wpcarro/blog): Create short post about C#William Carroll2-0/+47
Inspired by Profpatsch's "Notes", here's a short post about a thing that happened today... Note: I'd like a way to convert `git log --format=%b` into blog posts (maybe). Maybe some commit metadata like `POST=true` Change-Id: I492c48c81891d9f64da8c8149d0d2bfa864ed731 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5889 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4262 docs(wpcarro/rust): Tidy-up documentation widthWilliam Carroll1-2/+2
Line was too long Change-Id: I62c4454307f89e089f7d4cda0721f6b9d8029ced Reviewed-on: https://cl.tvl.fyi/c/depot/+/5900 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4260 chore(wpcarro/rust): Include Cargo.lockWilliam Carroll1-0/+39
v0v Change-Id: I0ce845e01bdb76e2894322c622919f0a24ffff7e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5899 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-06-27 r/4259 feat(wpcarro/rust): Show 3/3 json examplesWilliam Carroll2-1/+38
See git diff Change-Id: Ic3100dbed09775113ddb055e6ba0d5cf900426d0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5898 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4258 feat(wpcarro/rust): Show 2/3 json examplesWilliam Carroll1-2/+18
Documented in the module Change-Id: I550c233c8116904a1f9cd6841ee778eb0abb540a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5897 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4257 feat(wpcarro/rust): Show 1/3 json examplesWilliam Carroll2-0/+44
See json/src/main.rs Change-Id: I83ee6b762b741a05932832a9a87eb8161bb95d0f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5896 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-27 r/4256 feat(wpcarro/rust): Create a sandbox for learning RustWilliam Carroll3-0/+19
See README Change-Id: I007a4d5c3b840986f6d3bc93aaa72d26daaa9b12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5895 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-21 r/4250 feat(ava): Set firewall.checkReversePath to "loose"William Carroll1-0/+2
I was being warned while running `sudo rebuild-system`. Change-Id: Ie8b730760e069086c2ef88f8edf00887cbbb5c93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5627 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-06-21 r/4249 feat(ava): Install ec2-api-toolsWilliam Carroll1-0/+1
For AWS things (I'm finding the web UI pretty irritating). Change-Id: Ic144a71eb6a6ca46f808f33b5d468eb5efe52355 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5626 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4162 feat(wpcarro/tarasco): firewall.checkReversePath = looseWilliam Carroll1-0/+1
Tailscale is warning about this in `nix-build` via `trace`. Change-Id: Ia44100f5a3cd12fbf9fd10dbf40bef10805aff12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5749 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4161 feat(wpcarro/tarasco): Enable earlyoomWilliam Carroll1-0/+4
See the comment or other CLs I've made in the past about earlyoom. Change-Id: Ia4c0c61784aa3e76644de91a95e8b9fbdd743b54 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5748 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4160 fix(wpcarro/tarasco): Blacklist rtw88_8821ceWilliam Carroll2-11/+29
This naughty RealTek wireless module crashes my machine. I'm also moving other `boot`-prefixed options out of `hardware.nix` and into `default.nix`. In general, I'm not *really* a fan of the distinction between the two files in the first place. Change-Id: Iabdc776afc78f00971f426c5931b7235c8c0ee20 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5747 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4159 feat(wpcarro/emacs): Add wpcarro@tarasco to ssh-hostsWilliam Carroll1-0/+2
For `M-x ssh-cd-home` Change-Id: I8c16d9d0c420cb9feafcb466c4a416a04a4b1a26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5746 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4158 feat(wpcarro/emacs): Add wpcarro@ava to ssh-hostsWilliam Carroll1-0/+2
For `M-x ssh-cd-home` Change-Id: Iacb236793414b905071284e72d64e9dab3116319 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5745 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-27 r/4155 chore(wpcarro/readme): Prefer shell pseudocode to bullet pointsWilliam Carroll1-7/+10
These docs get stale pretty often. Maybe my installation should be similar like... ```shell $ # pseudocode $ nix-build https://code.tvl.fyi/depot.tar -A users.wpcarro.baseSystem ``` ...where that automates more toil 🤷 Change-Id: I548142d9dff284afeb233ecf23036655b7f7c2df Reviewed-on: https://cl.tvl.fyi/c/depot/+/5744 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4154 feat(wpcarro/tarasco): Support tarasco 🇲🇽William Carroll6-6/+235
Named after the Mexican restaurant, El Tarasco, in El Porto, which I live 3m walking distance from. Change-Id: I2cd4b68eaa974ad6c8fec73e0566bc0b831c57a8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5743 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4153 refactor(wpcarro/ava): Prefer disk/by-label to disk/by-uuidWilliam Carroll2-4/+4
I broke LVM (Logical Volume Manager - maybe?) when I did the following: ```shell $ HOSTNAME=ava sudo rebuild-system $ sudo reboot now ``` I had to rollback to the initial NixOS version and try again. Change-Id: If90e5e23767392202425181be986f81deb5ddff7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5742 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-27 r/4152 chore(wpcarro): Drop MakefileWilliam Carroll2-18/+0
Thank you for your service Change-Id: I2e13aa7c28f461e80bd7ffcbc13cbe79594e0aee Reviewed-on: https://cl.tvl.fyi/c/depot/+/5741 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-26 r/4143 refactor(wpcarro): Prepare for restricted-evalVincent Ambo3-5/+5
Change-Id: Ieb3b28d56ecd2819c3a7c08c22e33493d9e0be7f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5687 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: sterni <sternenseemann@systemli.org>
2022-05-26 r/4142 feat(wpcarro/ava): Support earlyoomWilliam Carroll1-0/+4
Strange start to my Monday where I spent ~2h debugging my hanging NixOS. Strangely I'm not sure I made any changes to my configuration to trigger this, and I was finding this hard to reproduce: - graphical X sessions hung (once when opening Chrome) - TTYs hung (during `nix-build` and `rebuild-system`) Per kn's recommendations whenever a system is hanging, see if it's reachable over the network (e.g. SSH). Since I didn't have my laptop, I downloaded Termius on my iPhone, which I used to mosh into ava, which is a surprisingly nice UX. I suspect my machine (with only 8GB of RAM) was OOMing, but I'm not certain. Thanks to grfn I installed `earlyoom`. For more commentary, check-out Profpatsch's blog post about this: https://profpatsch.de/notes/preventing-oom What went well: - Thankfully I installed a Matrix client on my iPhone last week, which allowed me to troubleshoot with the #tvl folks AIs: - I'd like some instrumentation like Prometheus, Loki (`journald`, `dmesg`), so that I can accumulate troubleshooting information that isn't destroyed when I reboot my machine (which I did 1/2-dozen times today). - Consider adding `git` metadata to `system.nixos.label` to get more useful information in a GRUB/EFI context. More unknowns: - Why can't I switch back to EFI (from GRUB) for my bootloader? Change-Id: Ie2a5a15f5c0ead346d50e331fa2937f8f3453960 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5625 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4034 feat(wpcarro/emacs): Expand workspacesWilliam Carroll1-2/+11
Also define a hadrian bookmark. Change-Id: Ic8d7dc94eaa557d3a87ad252e90fdf8996a397fe Reviewed-on: https://cl.tvl.fyi/c/depot/+/5562 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4033 feat(wpcarro/nix): Support htop, zipWilliam Carroll1-0/+2
More common CLI utilities that I expect to be available as defaults. Change-Id: I59c5492f3dc007aaea5bfb7b01d5f842ced0d6c9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5564 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4032 feat(wpcarro/emacs): Support terraform-modeWilliam Carroll2-0/+2
I "think" this belongs in `wpc-language-support.el`, because I need it mostly to render `*.hcl` files. Change-Id: I93106c4912699245449328608c12d4f7c74b4fff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5563 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-05-10 r/4031 feat(wpcarro/emacs): Move PL support to separate moduleWilliam Carroll3-7/+37
Declutter init.el. Change-Id: I0af874adaab4471741f9d344f539dd6164e2afff Reviewed-on: https://cl.tvl.fyi/c/depot/+/5561 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-10 r/4030 feat(wpcarro/ava): Support moshWilliam Carroll1-1/+3
SSH is feeling a bit too laggy; let's try `mosh`. Change-Id: I0a4c0b7513543876defcfa243323fa3c5d4588f7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5560 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-09 r/4029 feat(wpcarro/ava): Support virtualboxWilliam Carroll1-0/+2
This has been useful while developing my NixOS installer. Change-Id: I45fd5e1647248a6ebf277ffff3638587d8cc695d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5559 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-09 r/4028 feat(wpcarro/ava): Support httpieWilliam Carroll1-0/+1
I like httpie's UX better than `curl`'s. Change-Id: I2f7d650df10ca9e651c110e4d486406fe846fef0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5558 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-09 r/4027 feat(wpcarro/ava): Support remminaWilliam Carroll1-0/+1
More tools I didn't know I'd ever become acquainted with until I started supporting Windows Servers: remmina - for RDPing. Change-Id: Id861535c4a6bc6d6223ce21e5da60c627c8995b3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5557 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-09 r/4026 feat(wpcarro/ava): Enable TailscaleWilliam Carroll1-0/+2
Joining the Holy Tailnet Change-Id: I16c00e74be633d19277a38bd421e296b32307960 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5556 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-05-09 r/4025 feat(wpcarro/ava): Support IP-forwardingWilliam Carroll1-0/+4
This allows me to use my device as a router (or in Tailscale terms: as an "exit node"). Change-Id: I994e6c104c246364118155e934b11969a4d7066e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5555 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-21 r/3986 chore(3p/sources): Bump channels and overlaysVincent Ambo1-2/+2
Changes: * updated keycloak configuration for new version * migrate to emacs28 outside of //users, re-add emacs27 but with a warning attached urging people to migrate Change-Id: I3e5765a63934541f72f6c4a8673d3b4671850c93 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5501 Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3960 feat(ops/wpcarro): Support ava's SSH key 🔑William Carroll1-1/+2
Another key on the keyring... Change-Id: If3660976e9bc0d96dfc5cec4fc1c1f2eb8738ea1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5459 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-16 r/3959 feat(wpcarro/nix): Enable gpg agentWilliam Carroll1-0/+4
Also include `gpg` and `pass` in my commonly used CLI tools. Change-Id: I4df71519e585286a0ab38da6161fbe383695a35f Reviewed-on: https://cl.tvl.fyi/c/depot/+/5451 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-16 r/3958 feat(wpcarro/ava): Set timezone on ava to L.A.William Carroll1-0/+2
ava isn't a laptop, so we shouldn't support roaming timezones. Let's hard-code this to L.A. for now. Change-Id: I06fa98909e4db8788b2ff8f0855f630beb54d882 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5456 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3957 feat(wpcarro/ssh): Give nathan access to avaWilliam Carroll2-3/+10
Strange commit title, but true. Make sure nathan (my MBP) can SSH into ava (my NixOS box at work). Change-Id: Iaf79cdd1b8633a091c706c7cb84522e2023585c0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5455 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3956 feat(wpcarro/ava): Support dockerWilliam Carroll1-0/+3
Run the Docker daemon on ava. Again: because startup. Change-Id: I944ae097a1ba239715c153777177a09579a6e186 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5454 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3955 feat(wpcarro/emacs): Support Docker syntaxWilliam Carroll1-0/+2
Because startup Change-Id: I03f93ee22ae88c73e507dc3f5025545ffa389b28 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5453 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-04-16 r/3954 feat(wpcarro/emacs): Support calling sudo on a remote bufferWilliam Carroll2-6/+14
While pattern-matching in Elisp is a bit unsightly, it works :) Change-Id: I6766147095823f1a4e233832b0ef21f4c486e023 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5452 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
2022-04-15 r/3953 feat(wpcarro/ava): Support new machineWilliam Carroll4-1/+185
ava is my new (NixOS!) work machine :) Change-Id: I1f089f00c02519d5d1d93d011f29075d53500e74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5450 Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-15 r/3952 chore(wpcarro): Drop support for monsterpokerWilliam Carroll3-49/+0
This never really got off the ground... Change-Id: I3e712174c83c74e78e2886ea80264652e36ea27a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5457 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-04-11 r/3942 chore(3p/sources): Bump channels & overlayssterni2-2/+2
Use nixos-unstable-small which fixes CVE-2018-25032 (out of bounds write while compressing). * //users/grfn/xanthous: - Supporting random-fu 0.3 requires considerable changes and patching random-extras (https://github.com/aristidb/random-extras/pull/5). For now we downgrade random-fu and its dependency rvar to 0.2.*, forcing us to build xanthous with GHC 8.10.7, due to random-fu 0.2.* not supporting that version. Nix expressions for the downgraded packages are checked in to avoid the potential need to compile Haskell at pipeline eval time. - generic-arbitrary exposes a GenericArbitrary newtype now. This means we no longer have to implement it in xanthous downstream and patch generic-arbitrary to expose the GArbitrary type class. - Minor adjustments for lens 5.0: Xanthous.Game.Memo: clear needs to use ASetter' instead of Lens' Xanthous.Data.EntityMap: TraversableWithIndex no longer has an itraversed function. - Xanthous.Orphans: adjust for aeson's KeyMap, use KM.size explicitly instead of relying on MonoTraversable's length * //nix/buildLisp: the CCL issue has resurfaced, disabling the implementation once again. * //3p/arion: remove, as depot uses the nixpkgs package of it anyways. * //users/wpcarro: accomodate GHC 9.0.1's stricter parsing of operators. * //users/tazjin: disable rustfmt as it stopped respecting settings * //3p/overlays: upgrade home-manager until fix for serivce generation has landed upstream * //users/grfn/system: remove rr override, as the pinned commit is part of the 5.5.0 release shipped by nixpkgs. Change-Id: If229e7317ba48498f85170b57ee9053f6997ff8a Reviewed-on: https://cl.tvl.fyi/c/depot/+/5428 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-03-19 r/3917 chore(3p/sources): Bump channels & overlayssterni1-2/+2
* Remove use of aliases that have been removed in nixpkgs commit a36f455905d55838a0d284656e096fbdb857cf3a: - ncat - x11 - nologin - dbus_libs - emacsPackagesGen - man-pages - pulseaudioLight Change-Id: Ide603bf48bc7f77e10e4aa715ba025aece3644fd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5387 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com>
2022-03-01 r/3891 docs(wpcarro/simple-select): Add README 📘William Carroll1-0/+71
Because documentation Change-Id: I1d805331efd5cb3ca878a1b66774d0807f735872 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5349 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3890 feat(wpcarro/simple-select): Support readline-style KBDsWilliam Carroll1-3/+8
...and prevent REPL from crashing on parse/compilation errors. Better error messaging would be quite nice as well. Change-Id: I47d06fd74ef65bfa3f14f0b57a5516a908321da8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5348 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3889 fix(wpcarro/simple-select): Support regexesWilliam Carroll1-0/+12
The python lib for sqlite doesn't support REGEXP, so we need to support it manually. Change-Id: I90670ff564d6fb40e8cee30c3d1509feb2c00857 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5347 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3888 feat(wpcarro/simple-select): Support CSVsWilliam Carroll1-10/+26
Convert CSVs to in-memory SQLite tables from which we query. Also read variables from the command-line. For now, I'd say this is MVP-status. Change-Id: I8b7400e60da4b14eea25c3f4b47447497a4218c8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5346 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3887 feat(wpcarro/simple-select): Execute SQL query on databaseWilliam Carroll1-11/+18
Connect REPL to SQLite for further integration testing. Change-Id: Ie48a68eedf227dcf67d0262dd4672d53bbc6ec86 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5345 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3886 feat(wpcarro/simple-select): Compile AST to SQLWilliam Carroll1-7/+62
Currently supports the SQLite flavor of SQL. Preliminary testing seems to show encouraging results. Change-Id: Ib2ed6a695352f41185c8e8abdadfd76ce38bdbcc Reviewed-on: https://cl.tvl.fyi/c/depot/+/5344 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
2022-03-01 r/3882 feat(wpcarro/simple-select): Parse query language 🎉William Carroll2-19/+93
Seems to successfully handle inputs like... ``` > (-fname:"William" lname:/C.*l/) OR (fname:"William" -lname:"Carroll") ``` Change-Id: I5277cfbc7d102158eab5e1e71b2d95aaf13508fd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5340 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI