about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16 r/993 feat(tvldb): Import the tvldb/paroxysm source, add a Nix derivationeta17-0/+2315
- This imports the tvldb (actually a thing called 'paroxysm') code from https://git.theta.eu.org/eta/paroxysm into the monorepo. - Additionally, I did a nix thing, yay! \o/ (well, with tazjin's help) - 3p/default.nix needed modifying to whitelist pgsql. Change-Id: Icdf13ca221650dde376f632bd2dd8a087af451bf Reviewed-on: https://cl.tvl.fyi/c/depot/+/389 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/992 feat(clbot): insert Unicode ZWS to avoid pinging userseta1-4/+12
Change-Id: I732bf6daa01f5b2099c4f4cbdd21a2ceedc79cb1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/385 Reviewed-by: q3k <q3k@q3k.org> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/991 fix(gws.fyi): Gitignore letsencrypt dirGriffin Smith1-0/+1
Change-Id: Ife765377a8a8facd59a391a9c3e3e328f2f5e041 Reviewed-on: https://cl.tvl.fyi/c/depot/+/426 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/990 feat(clbot): Add IRC support to the IRC bot.Luke Granger-Brown5-26/+170
Change-Id: I183488824882750c46e7216b98ab48e1d8f48096 Reviewed-on: https://cl.tvl.fyi/c/depot/+/343 Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/989 feat(gws.fyi): Make title work properly in indexGriffin Smith4-8/+32
This is remarkably silly, but it gets the job done Change-Id: Ifbc57988a59c4f51a3bba0ed8ad397cb9855d8ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/423 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/988 feat(gws.fyi): add org config fileGriffin Smith1-0/+3
Change-Id: Ie4c7f3648cb2ee5150d8bcab8f8ebcd51c851869 Reviewed-on: https://cl.tvl.fyi/c/depot/+/422 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/987 chore(users/ericvolp12): Create ericvolp12 user directory and OWNERS fileEric Volpert1-0/+3
This change creates a ericvolp12 user directory and an OWNERS file because I am new to the monorepo and need a home. Change-Id: Ie800ec8d9c405fbabbc7c488b6a3c2884a28f34c Reviewed-on: https://cl.tvl.fyi/c/depot/+/421 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/986 feat(gws.fyi): Build from org + integrate with readTreeGriffin Smith6-34/+75
Build from org via emacs --batch, and update all the top-level definitions to make things work nicely with readTree. Change-Id: If0ac49c1d264856392e29b9e7b155641d865525b Reviewed-on: https://cl.tvl.fyi/c/depot/+/400 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/985 feat(third_party): Add awscliGriffin Smith1-0/+1
I need it to deploy my website Change-Id: I5df8d76d6e0a3d8892ae8bc69d2b46b310f147a5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/399 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/984 feat(tvl-slapd): Enable ericvolp12 user in LDAPEric Volpert1-0/+9
Thanks. Change-Id: I5df1e5075b2e056ebde3e66e1cf17b220d650977 Reviewed-on: https://cl.tvl.fyi/c/depot/+/398 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/983 feat(gerrit-cli): Add gerrit CLI scriptGriffin Smith3-0/+17
Add a script to run gerrit commands on the depot host, which reads the gerrit username from the TVL_USERNAME env var or $(whoami) by default. At some point this may want to solve the configuration problem in a more general fashion, but for now this seems relatively obvious. Change-Id: Ied91c1d26daf4770aef74b2e755d1760c486bb7b Reviewed-on: https://cl.tvl.fyi/c/depot/+/396 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/982 feat(tazjin/camden): Regularly back up Gerrit to GCSVincent Ambo1-1/+27
This configures a timer that will push hourly, incremental backups of Gerrit's state (including repositories) to GCS. The GCS bucket tvl-fyi-backups is an Archive-class bucket in the tazjins-infrastructure project. Change-Id: I3bb5b084d8dd929bc4c3e51ddfb524b78d9445cb Reviewed-on: https://cl.tvl.fyi/c/depot/+/397 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/981 feat(gws.fyi): add current source of gws.fyiGriffin Smith6-0/+80
This will soon be replaced with a pile of org, but for now- HTML! Change-Id: I54c15d5734fd3662ea4916553e0cd1b32cc0681f Reviewed-on: https://cl.tvl.fyi/c/depot/+/395 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/980 fix(g/xanthous): Make xanthous readTree-compatibleGriffin Smith1-0/+2
readTree passes in some extra args that we can generally just ignore Change-Id: I2607421da086cfef0502695bcf5658f6d4dbb44d Reviewed-on: https://cl.tvl.fyi/c/depot/+/394 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/979 Add 'users/glittershark/emacs.d/' from commit ↵Vincent Ambo74-0/+5656
'69ee53bffaf145eb86dd39a6cdc0ae4d9d3de45c' git-subtree-dir: users/glittershark/emacs.d git-subtree-mainline: 2edb963b97867b27f68efac8d05bf966077b0b01 git-subtree-split: 69ee53bffaf145eb86dd39a6cdc0ae4d9d3de45c
2020-06-16 r/978 Add 'users/glittershark/xanthous/' from commit ↵Vincent Ambo96-0/+10030
'53b56744f4335c038724a1bcffc27a7eb8cf6a6d' git-subtree-dir: users/glittershark/xanthous git-subtree-mainline: 91f53f02d8479303910abfd3f3690d3ef27e6c4b git-subtree-split: 53b56744f4335c038724a1bcffc27a7eb8cf6a6d
2020-06-16 r/977 Add 'users/glittershark/keyboard/' from commit ↵Vincent Ambo6-0/+261
'eb211c2701ad6437bbe5c846823b17acb1dcb1c7' git-subtree-dir: users/glittershark/keyboard git-subtree-mainline: 04d3fb675b6a0f395b9470662511b48f2b02b82a git-subtree-split: eb211c2701ad6437bbe5c846823b17acb1dcb1c7
2020-06-16 r/976 Add 'users/glittershark/org-clubhouse/' from commit ↵Vincent Ambo5-0/+1494
'8838454236cd448afa2c752c4a6dc6f4bb7a3bf4' git-subtree-dir: users/glittershark/org-clubhouse git-subtree-mainline: 81564185e951f69d490be8f5ad76e8ea642b5dde git-subtree-split: 8838454236cd448afa2c752c4a6dc6f4bb7a3bf4
2020-06-16 r/975 Add 'users/glittershark/system/' from commit ↵Vincent Ambo49-0/+3802
'3b174300ae60f63f50427cde3bfd680fd3043c3a' git-subtree-dir: users/glittershark/system git-subtree-mainline: 85d82a9dc262bffa87423f595f7e957c42713798 git-subtree-split: 3b174300ae60f63f50427cde3bfd680fd3043c3a
2020-06-15 r/974 chore(users/glittershark): init glittershark home dirGriffin Smith1-0/+3
Change-Id: I2d9d344be8c448c9cd1ef8555cf7123054e8b567 Reviewed-on: https://cl.tvl.fyi/c/depot/+/392 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/973 feat(users/cynthia): Add cynthia's directoryCynthia Revström1-0/+3
Meow: 3 Change-Id: I7e898528c110e6cf2ec254f08d265dac8ed85e1b Reviewed-on: https://cl.tvl.fyi/c/depot/+/393 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/972 fix(ops/nixos/tvl-slapd): Sort users & fix glittershark's DNVincent Ambo1-9/+9
Change-Id: I33feedacfadaae53da000aff7d42fa06d2189f52 Reviewed-on: https://cl.tvl.fyi/c/depot/+/391 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/971 chore(ops/nixos/tvl-slapd): add glittersharkGriffin Smith1-0/+9
Change-Id: I2e537079b88a3857964c6b7c66cd9221ca580958 Reviewed-on: https://cl.tvl.fyi/c/depot/+/390 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/970 feat(depot-build): Add a tool to build at arbitrary tree locationsVincent Ambo3-0/+12
Assuming you're in `/depot/fun/clbot`, you can do this: tazjin@frog /d/f/clbot (master)> depot-build Building //fun/clbot /nix/store/i1zc6g58wa4819kyhaqi12zsh3hr31ph-clbot It is automatically added to the $PATH using direnv, too. Change-Id: Ia3341704e6317c2b8de40a3fa1be3b680d21a42d Reviewed-on: https://cl.tvl.fyi/c/depot/+/388 Reviewed-by: eta <eta@theta.eu.org>
2020-06-15 r/969 feat(fun/uggc): Install desktop handler in Nix derivationVincent Ambo3-14/+20
This actually registers the desktop entry, so xdg-open etc. start working: tazjin@frog /depot> xdg-open 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352' Opening in existing browser session. Change-Id: Ia754cb87470fce2f8d3340d1147f3f01b9914858 Reviewed-on: https://cl.tvl.fyi/c/depot/+/387 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-15 r/968 feat(fun/uggc): create a rot13 url handlerKane York5-0/+94
Example usage: $ /nix/store/9kgpv4n62vhxs971jkvwvvl3msm4wpm8-uggc/bin/uggc 'uggcf://gjvggre.pbz/alnabgrpu/fgnghf/1272363652679524352' Change-Id: I8fd5f77416116ce1a6ab7f96d3f2c726ef663677 Reviewed-on: https://cl.tvl.fyi/c/depot/+/386 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: eta <eta@theta.eu.org>
2020-06-15 r/967 feat(cheddar): Override syntax highlighting for 'rules.pl' to PrologVincent Ambo2-17/+34
Adds a mechanism for per-filename overrides of the chosen language syntax and configures it for Gerrit's submit rule file. This also switches the syntax set used to the one from //third_party/bat_syntaxes, which contains custom additions such as Prolog support. Change-Id: I2023dbad5b326305ef2ef0ecf34ef66a3f7575ab Reviewed-on: https://cl.tvl.fyi/c/depot/+/349 Reviewed-by: riking <rikingcoding@gmail.com> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-15 r/966 feat(3p/bat_syntaxes): Add a derivation to extend bat syntaxesVincent Ambo2-0/+1336
This derivation can add arbitrary new Sublime syntaxes to bat's syntax file, which is used by cheddar. Included is a Prolog syntax. It is kind of mediocre, but better than nothing. Change-Id: I6ceecbc86a5dfba5886cd27bd5114721845446a7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/348 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-15 r/965 fix(nix/buildGo): Fix import of buildGo in example fileVincent Ambo1-1/+1
Change-Id: I56b4d19f24c5d8ec45254b7b05c9e49002d2ef85 Reviewed-on: https://cl.tvl.fyi/c/depot/+/382 Reviewed-by: edef <edef@edef.eu>
2020-06-15 r/964 chore: Unfuck NIX_PATH in the .envrcVincent Ambo1-1/+0
`nixpkgs` shouldn't be set to the depot root, it is almost never useful and breaks some tooling expectations. Change-Id: I32e46a8f514eb31d1aa81f0af32cf871d1572a96 Reviewed-on: https://cl.tvl.fyi/c/depot/+/381 Reviewed-by: edef <edef@edef.eu>
2020-06-15 r/963 chore(clbot): Refactor backoff utility into a separate package.Luke Granger-Brown4-28/+60
It'll be reused by the IRC side of things too. Change-Id: I3d84f3fd5fca6a6d948f331143b14f096d10675d Reviewed-on: https://cl.tvl.fyi/c/depot/+/342 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 r/962 chore(clbot): Add signal handler to make clbot shutdown cleanly on SIGINT.Luke Granger-Brown1-1/+24
Change-Id: I3c6eeeb99f9d81cdbcb10880c9075ac94c4f5d19 Reviewed-on: https://cl.tvl.fyi/c/depot/+/341 Reviewed-by: tazjin <mail@tazj.in>
2020-06-15 projectile+grid integrationGriffin Smith2-0/+111
2020-06-15 sync gcal events -> org-mode fileGriffin Smith3-0/+174
2020-06-15 kubectl get events sorted by timestampGriffin Smith1-0/+2
2020-06-15 install iftop on linuxGriffin Smith1-0/+1
2020-06-15 break out an agda.nixGriffin Smith3-4/+62
2020-06-15 Install pg-dump-upsertGriffin Smith1-0/+15
2020-06-15 Add function to add a single headline from my tasksTatu Lahtela1-0/+15
Add function to create single story element from a prompted list of active stories.
2020-06-15 r/961 chore(monorepo-gerrit): Remove 'owners-autoassign' pluginVincent Ambo2-7/+0
This plugin just blindly assigns everyone and, as q3k has already pointed out, just isn't particularly useful. We might want to roll our own, for example: 19: 40:41 <+Remosi> I want the virtual owner thing, we could call it Gerrit Workgroup Synthesizer Queuing, or gwsq for short. Change-Id: Ib12a921ae4047ac6a734035dd0900c8964fb12d8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/350 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-14 r/960 feat(bin): Add git-bug to dispatch scriptVincent Ambo2-0/+4
Change-Id: Ic60aec36502b5c70256cb688e101d35f15c90183 Reviewed-on: https://cl.tvl.fyi/c/depot/+/346 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-14 r/959 feat(3p/git-bug): Add git-bug derivation at unstable-20200614Vincent Ambo2-0/+37
This builds git-bug, a distributed issue tracker that uses git as its data store. It also installs its man pages and shell completions. It is recommended that users add git-bug to their system closure for these extras to work, as they will not be picked up by the dispatch script. Change-Id: I1595368e61b0bae8a9497abd023085cb90a521a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/345 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-14 r/958 chore(users/tazjin): Add avatar for tvlbotVincent Ambo1-0/+0
This is needed for running a git-bug web UI on camden. The important thing is that this gives us a stable URL to the image. Change-Id: If0e069c3d11376a1fb17411e52bb14a8481edb7d Reviewed-on: https://cl.tvl.fyi/c/depot/+/347 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/957 chore(users/tazjin): Move my avatar to my folderVincent Ambo1-0/+0
Change-Id: If05860cd975f20c6d8fec301cabcc80d49d0dcda Reviewed-on: https://cl.tvl.fyi/c/depot/+/344 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/956 feat(gerrit): Add CL titles to title tags if accessing a CL or patchset.Luke Granger-Brown2-0/+201
Fine, puck, you win. Change-Id: I47fe8ea6662132f5c337e1e73281dbeca19a414c Reviewed-on: https://cl.tvl.fyi/c/depot/+/321 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/955 fix(3p/gerrit): Fix Gerrit derivation name and module configurationVincent Ambo2-1/+3
Without these changes, the NixOS module isn't able to use the new Gerrit derivation. These changes are already deployed as I needed to make them to get Gerrit back up. Change-Id: Iad3aa6158789a014134fddccd40b508b81486100 Reviewed-on: https://cl.tvl.fyi/c/depot/+/301 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-14 r/954 chore(hgignore): ignore .git for hgLuke Granger-Brown1-0/+1
Change-Id: I2f50d99a81db1edbfd64f384e37bd0da3e2ac0e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/260 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/953 chore(3p/gerrit_plugins): Update plugins for Gerrit 3.2Vincent Ambo1-4/+4
Change-Id: I0b1a2871768a8369dac7a3e2b06a38c07741e945 Reviewed-on: https://cl.tvl.fyi/c/depot/+/281 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-14 r/952 feat(gerrit): Syntax highlight rules.pl as Prolog.Luke Granger-Brown2-0/+33
This adds support for overriding the detected languages based on the filename - we assume here that rules.pl will always map to a Prolog file. I could've overridden the entire default language to Prolog, since it's unlikely that we'll have any Perl here, but given the relative popularity of the two languages I opted to just override the file we know we'll have (because it's used by Gerrit itself). https://usercontent.irccloud-cdn.com/file/yhZZx1nd/highlighted_prolog.png Change-Id: I26a7e6dab191e0b80a027b026f884020a1f07178 Reviewed-on: https://cl.tvl.fyi/c/depot/+/254 Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 r/951 feat(gerrit): Syntax highlight .nix files.Luke Granger-Brown2-1/+16
highlight.js supports syntax highlighting .nix files, but the Gerrit diff components doesn't map the .nix mimetype onto the nix language. .nix appears to already be taken by another mimetype that isn't Nix-related, but we just map that onto nix anyway. https://usercontent.irccloud-cdn.com/file/AVhoPvrb/highlighted.png Change-Id: I842b29c78355e5bec580e711e25d693284ab6f59 Reviewed-on: https://cl.tvl.fyi/c/depot/+/253 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: q3k <q3k@q3k.org>