about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-19 r/1043 fix(docs): Fix a few links that break in sourcegraph.nyanotech2-2/+2
I found a few links that seem to be absolute-path links designed for cgit. Replace them with relative links instead, so that they work within both sourcegraph and cgit. This commit handles this fix for the top-level README.md, and the ones within docs/. Change-Id: I842ffaf8ee893d3ed8490fe07c621d791d77d0ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/496 Reviewed-by: tazjin <mail@tazj.in>
2020-06-19 r/1042 feat(gs/emacs): actually require tvlGriffin Smith1-0/+1
Change-Id: Iba79c85ebc87c6df13d69781255b3f6645233c2c Reviewed-on: https://cl.tvl.fyi/c/depot/+/506 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1041 feat(tazjin/emacs): Install & configure tvl packageVincent Ambo2-0/+6
Change-Id: If26f1d9ad07c92429f9886b622685db70243e464 Reviewed-on: https://cl.tvl.fyi/c/depot/+/505 Reviewed-by: tazjin <mail@tazj.in>
2020-06-19 r/1040 feat(emacs-pkgs/tvl): Add #'tvl-depot-status functionVincent Ambo2-3/+9
This function opens the depot in magit. By default the depot path is assumed to be `/depot`, but that is made available as a customise option that users can override. Change-Id: Iefc127cad515dbae330d7af3aa69a0c53aa02015 Reviewed-on: https://cl.tvl.fyi/c/depot/+/504 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1039 feat(emacs-pkgs/tvl): Add magit shortcuts for reviews & coVincent Ambo2-9/+48
Introduces two new shortcuts in the magit popup for pushing: * R: Push for review * S: Push to submit The existing "P" command remains, but has been renamed to "rubberstamp" and documented with a warning. To make this work across people's different setups, customisation options for TVL-specific code are being added. Change-Id: I48e75db55b5f793342fc898093629e437f58dcb2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/503 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1038 fix(buildTypedGo): Pass correct arguments to .packageVincent Ambo1-2/+2
Change-Id: I535e084e7b3195628609bb43e382e450bc0003ba Reviewed-on: https://cl.tvl.fyi/c/depot/+/497 Reviewed-by: eta <eta@theta.eu.org> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-19 r/1037 feat(g/emacs): Install tvlGriffin Smith1-2/+3
Change-Id: I5f923125b27890b14dc5b6a375861186406f5333 Reviewed-on: https://cl.tvl.fyi/c/depot/+/495 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1036 feat(emacs-packages/tvl): Init with magit gerrit suffixGriffin Smith3-0/+45
Add a simple tvl.el, with only one magit transient command to push and submit in one go to Gerrit Change-Id: If02065797a8db39669b85acf87a1c4b43d1482ee Reviewed-on: https://cl.tvl.fyi/c/depot/+/494 Reviewed-by: tazjin <mail@tazj.in>
2020-06-19 r/1035 feat(g/emacs): Install dottime from depot via nixGriffin Smith3-2/+19
To test out emacs package installs from depot Change-Id: Ia8bb370d671c566c6ce8de08b47925ec3a1653e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/493 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1034 style(cheddar): Reformat with rustfmtVincent Ambo1-37/+44
Change-Id: I9a0764f23c1269447a8b18f3128074fc58f70456 Reviewed-on: https://cl.tvl.fyi/c/depot/+/492 Reviewed-by: glittershark <grfn@gws.fyi>
2020-06-19 r/1033 refactor(cheddar): Pass references readers & writers into renderersVincent Ambo1-15/+18
This paves the way for using other things than stdin/stdout as sources/sinks, which is required for example for implementing a syntect_server replacement based on cheddar. Change-Id: I5779db8dbf7b7ced109c26b940f721d237d60785 Reviewed-on: https://cl.tvl.fyi/c/depot/+/491 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-19 r/1032 feat(web/tvl): Add nyanotech to tvl graphnyanotech1-0/+3
Change-Id: I3ce5184c688f75c3f7207023cd284cd5a1edd93d
2020-06-19 r/1031 feat(tazjin/frog): Install lutrisVincent Ambo1-0/+1
Change-Id: I337ffe42007e6c30022719f3564a400a84ddd0e0
2020-06-19 r/1030 feat(3p): Whitelist lutris & its insecure dependencyVincent Ambo1-0/+6
Change-Id: I9a21b823e65af0a180a8705c58f1cf5d4ba4445c
2020-06-19 r/1029 chore(3p/honk): Remove honk derivationVincent Ambo1-26/+0
HONK! Change-Id: Ib2b783078c7e7998c9824fd3277694a84589cd01
2020-06-19 r/1028 chore(tazjin/camden): Get rid of Honk ... againVincent Ambo1-18/+0
I swear I've done this before. Multiple times. Change-Id: I0d9fcb8fbb05b7b3a24392a204553ce60855f8df
2020-06-19 r/1027 feat(besadii): Add Sourcegraph index update triggersVincent Ambo1-13/+42
Sourcegraph has a heuristic for determining when to update the repository that doesn't work for the TVL repository, where commits are often in irregular short bursts. This changes besadii to trigger Sourcegraph index updates when invoked by Gerrit. Change-Id: Ifcfc25406d9e25bbdc93e79c23608ce4c6b10ba8
2020-06-19 r/1026 feat(tazjin/camden): Redirect cs.tvl.fyi/ -> depot/Vincent Ambo1-0/+4
The homepage is not useful to us because there is only one repo here anyways. Change-Id: Ia4e77849dcc54b64bca8b87a3b7dfae3efc382da
2020-06-18 r/1025 chore(tazjin/emacs): Move //tools/emacs to //users/tazjin/emacsVincent Ambo15-2/+2
Change-Id: I9dfbd0bb1fd3e215bb91c5734fb0934ee3faeae6
2020-06-18 r/1024 feat(g/emacs): Add magit suffix for push-and-submitGriffin Smith1-1/+13
Gerrit supports pushing, reviewing and submitting in one go, which will make pushing to my own emacs/system/etc. config way simpler Change-Id: Ie1eec7c1e56a9549e63fb81de6b6791647da6c4e
2020-06-18 r/1023 feat(g/emacs/grid): Allow finding repositoriesGriffin Smith1-2/+20
Change-Id: Idbc3cc90587a5c64a246e7e2097efcec6cefdc5c
2020-06-18 r/1022 chore(tazjin/camden): Provision certificate for b.tvl.fyiVincent Ambo1-0/+1
Change-Id: I96bd3802c05f9ab2973bdb1866d60113fcda56e9
2020-06-18 r/1021 chore(3p/git-bug): Bump git-bug again to include another fixVincent Ambo1-2/+2
Change-Id: I452fb87f46f1d9ada42147c33b83c519a9b52171
2020-06-18 r/1020 chore(3p/git-bug): Update to Luke's fork with readonly web UIVincent Ambo1-4/+4
See https://github.com/MichaelMure/git-bug/pull/407 Change-Id: I5c9504b12fb4791de91cd07deb1ab19f4f56f490
2020-06-18 r/1019 feat(tools/emacs): Enable go-mode in .go2-filesVincent Ambo1-1/+2
Change-Id: I03cf0641b22828eb400b9220e0756d9b7aca01cd
2020-06-18 r/1018 chore(besadii): Make besadii a Go2 projectVincent Ambo2-2/+2
Change-Id: Id5aef73b131252fb9c880dd95fc72bfe083f1b75
2020-06-18 r/1017 feat(nix/buildTypedGo): Add a //nix/buildGo wrapper for typed GoVincent Ambo3-0/+56
These functions work like buildGo.program & buildGo.package, but run the .go2 sources through go2go first before passing them to the //nix/buildGo equivalents. Change-Id: Id1ebab6085c390d6986387370181377b9f5d39e8
2020-06-18 r/1016 chore(3p/go): make hashes more deterministicererLuke Granger-Brown1-2/+2
Because this is using %h, we're subject to the whims of the remote in trying to make sure that we get a consistent commit hash length in the VERSION stamp. Change-Id: I716193c1440ec367880b6a5f7dfa4f85a11c19a9
2020-06-18 r/1015 chore(3p): Use typedGo as the main GoVincent Ambo1-3/+2
Because it seems to work and we can. Change-Id: I0ba3b6541efa8c21ead875368eca18c73db9a416
2020-06-18 r/1014 fix(tazjin/frog): Enable 32bit OpenGL supportVincent Ambo1-0/+1
Change-Id: Ia35102c6041108015703ff8908abd66083c64187
2020-06-18 r/1013 feat(gerrithook): implement a crap gerrit mercurial extensionLuke Granger-Brown1-0/+63
Change-Id: Iae1fc9fb5efe046fe70b229e7b5cedc3c8f15749
2020-06-18 r/1012 chore(users/lukegb): Add OWNERS fileLuke Granger-Brown1-0/+3
Change-Id: Ib0e81533fecf259129e0db58cf11280434d35339
2020-06-17 r/1011 merge(3p/abseil_cpp): Merge upstream at 'ccdbb5941'Vincent Ambo97-2278/+3508
Change-Id: I6e85fc7b5f76bba1f1eef15e600a8acb64e97ef5
2020-06-17 Squashed 'third_party/abseil_cpp/' changes from 768eb2ca2..ccdbb5941Vincent Ambo97-2278/+3508
ccdbb5941 Export of internal Abseil changes 01f5f81f9 Export of internal Abseil changes 2c92bdc7c Export of internal Abseil changes e7ebf9803 Export of internal Abseil changes 2eba343b5 Export of internal Abseil changes a8b03d90e Export of internal Abseil changes 1d31b5c36 Export of internal Abseil changes da3a87690 Export of internal Abseil changes 8faf20461 Exclude empty directories (#697) 2069dc796 Export of internal Abseil changes 4832bf6bf Added a BUILD file in root to expose license. (#695) af8f994af Export of internal Abseil changes 33caf1097 Export of internal Abseil changes cf1a02e2d Export of internal Abseil changes git-subtree-dir: third_party/abseil_cpp git-subtree-split: ccdbb5941f992fabda7eae3ce72f55efc17c826a
2020-06-17 r/1010 chore(tools/emacs): Remove hardcoded TVL meeting codeVincent Ambo1-5/+0
Change-Id: I76d24c20dc41969efe242008a2dec4a2a7944c5a Reviewed-on: https://cl.tvl.fyi/c/depot/+/450 Reviewed-by: tazjin <mail@tazj.in>
2020-06-17 r/1009 docs(REVIEWS): Update account creation note for new user listVincent Ambo1-4/+4
Change-Id: If657f4b49d16260b35f13a4124caa336bbe3124b Reviewed-on: https://cl.tvl.fyi/c/depot/+/449 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-17 r/1008 fix(monorepo-gerrit): Use displayName attribute as accountFullNameVincent Ambo1-1/+1
This attribute makes much more sense in this position semantically. Change-Id: I16cc6304f42c577a2368bd7c9573fcb7dd276a9d Reviewed-on: https://cl.tvl.fyi/c/depot/+/448 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-17 r/1007 refactor(tvl-slapd): Move user definitions into Nix codeVincent Ambo2-125/+107
Implements a function that generates the LDIF record for each user and templates it into the configuration. This is slightly more user-friendly and less error-prone (people kept getting the DNs wrong) than editing the contents manually. Change-Id: Ic419d2ef464f9a94be5d54b666f7d53134b53eed Reviewed-on: https://cl.tvl.fyi/c/depot/+/447 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-17 r/1006 docs(REVIEWS): Add documentation for code reviews in GerritVincent Ambo2-11/+133
Adds a document with information about the review process, how to get an account, how to submit patches via email and so on. Change-Id: I7c266e063ef53ab6aa79dd2582bc0e4fa8dcf5c0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/446 Reviewed-by: riking <rikingcoding@gmail.com>
2020-06-17 r/1005 refactor(cheddar): Switch to clap-rs for command line argumentsVincent Ambo3-30/+29
The complexity of the arg parsing is increasing somewhat because we're adding more features to cheddar, so to set us up for that this switches the arg parsing to the somewhat more flexible clap. Change-Id: I187bc0c1b6c6bd596fa0f6bb494b04e335262ba9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/445 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: tazjin <mail@tazj.in>
2020-06-16 r/1004 chore(cheddar): Bump all dependenciesVincent Ambo2-215/+106
Manual updates: comrak 0.6 -> 0.7 syntect 3.3 -> 4.2.0 Leading to these automatic updates: Updating crates.io index Updating adler32 v1.0.4 -> v1.1.0 Adding autocfg v1.0.0 Updating base64 v0.10.1 -> v0.12.2 Removing bindgen v0.53.3 Removing cexpr v0.4.0 Adding chrono v0.4.11 Removing clang-sys v0.29.3 Updating comrak v0.6.2 -> v0.7.0 Removing env_logger v0.7.1 Removing glob v0.3.0 Updating hermit-abi v0.1.13 -> v0.1.14 Removing humantime v1.3.0 Adding indexmap v1.4.0 Updating itoa v0.4.5 -> v0.4.6 Updating libc v0.2.70 -> v0.2.71 Removing libloading v0.5.2 Removing log v0.4.8 Updating miniz_oxide v0.3.6 -> v0.3.7 Removing nom v5.1.1 Adding num-integer v0.1.43 Adding num-traits v0.2.12 Updating onig v5.0.0 -> v6.0.0 Removing peeking_take_while v0.1.2 Updating plist v0.4.2 -> v1.0.0 Updating proc-macro2 v1.0.17 -> v1.0.18 Removing quick-error v1.2.3 Updating quote v1.0.6 -> v1.0.7 Updating regex v1.3.7 -> v1.3.9 Updating regex-syntax v0.6.17 -> v0.6.18 Removing rustc-hash v1.1.0 Updating ryu v1.0.4 -> v1.0.5 Updating serde v1.0.110 -> v1.0.112 Updating serde_derive v1.0.110 -> v1.0.112 Updating serde_json v1.0.53 -> v1.0.55 Removing shlex v0.1.1 Updating syn v1.0.25 -> v1.0.31 Updating syntect v3.3.0 -> v4.2.0 Removing termcolor v1.1.0 Removing version_check v0.9.2 Removing which v3.1.1 Updating yaml-rust v0.4.3 -> v0.4.4 Change-Id: I2c2ee6a45bf7a5286fe30d61de52d7993871e7e1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/444 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/1003 feat(3p/typedGo): Add derivation for the Go alpha with a type systemVincent Ambo1-0/+30
The Go language authors have released an experimental version of Go that has a type system: https://blog.golang.org/generics-next-step This overrides the existing Go derivation to build the typed Go. The next step is a buildTypedGo set of functions that wrap buildGo. Change-Id: Idb8a4868bca003d821ed5cb324af633398faf002 Reviewed-on: https://cl.tvl.fyi/c/depot/+/443 Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-06-16 r/1002 chore: Remove traces of HoundVincent Ambo5-83/+0
We can always revert this if we want it back. Change-Id: I1332b6dd541199584b7b5b94a8651172d79e53a9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/442 Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi>
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>