about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-16 r/1001 fix(clbot): actually display people's usernames properlyLuke Granger-Brown1-1/+2
Change-Id: Idcbb6ffbb3127520141596cea7883cd137a1ea56 Reviewed-on: https://cl.tvl.fyi/c/depot/+/441 Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-16 r/1000 fix(monorepo-gerrit): Don't expire sessions unreasonably quicklyVincent Ambo1-0/+1
Changes the default session timeout to 3 months, which is a lot more reasonable than the default of 12 hours. See https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#cache.name.maxAge Change-Id: I33bce8b072d64ab07f1b954c11068595dca5def7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/431 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-16 r/999 fix(tools/gerrit-cli): Don't wrap ssh sniffing in a subshellGriffin Smith1-1/+1
This was actually executing ssh, which was kinda silly - we really just want to check the return code of the `which` invocation Change-Id: I8a4b277a2be3b0c6a43d2da830cb82a32f9ee51e Reviewed-on: https://cl.tvl.fyi/c/depot/+/428 Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/998 fix(gws.fyi): fix typo in soundcloud linkGriffin Smith1-1/+1
don't know how *this* got in there Change-Id: I73102136d90127a40697ae5c39382c6739a76091 Reviewed-on: https://cl.tvl.fyi/c/depot/+/430 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/997 feat(gws.fyi): link to last.fmGriffin Smith1-1/+2
Change-Id: I12397453b25b40a0283254ee1da9541c3512d8ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/429 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/996 feat(gws.fyi): link to my monorepo dirGriffin Smith1-3/+6
If my work is going here anyway, might as well link to it alongside github Change-Id: Ib686f14c16180d24fe9b8647b2297f6a1a569760 Reviewed-on: https://cl.tvl.fyi/c/depot/+/427 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-16 r/995 feat(nixos/sourcegraph): Add a module for running SourceGraphVincent Ambo2-2/+36
This module spins up the Sourcegraph container. Builds: Note that this is contrary to how our other deployments work, but packaging Sourcegraph is quite difficult (it's a Gitlab style deployment with a lot of moving parts and third-party things that it bundles). If we decide to keep it around, we will want to look at packaging it in Nix in the future. Deployment: The deployment is a hack. Sourcegraph does not support public instances, but we want it to be public. To work around this we have configured HTTP-proxy based authentication (i.e. auth via a header) and hardcoded a static header. This works, but lets anonymous users change the "Anonymous" user's settings. We can expect this to get defaced (profile picture, name etc), until we figure out how to write some nginx configuration to drop those requests. See git-bug for details. The Sourcegraph configuration is also not checked in to the repository. It's unclear where in the data directory it is stored. Change-Id: I414ff11c3b49989b6792d697bffc8a0edf96c9cb Reviewed-on: https://cl.tvl.fyi/c/depot/+/425 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/994 chore(camden): Disable HoundVincent Ambo1-21/+0
Change-Id: Id732f7e2dbc43b2c530a9475499b0dfebff9b273 Reviewed-on: https://cl.tvl.fyi/c/depot/+/424 Reviewed-by: tazjin <mail@tazj.in>
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>