Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I5544c10e964b57891fce6ea01f09eeec406e9bef
Reviewed-on: https://cl.tvl.fyi/c/depot/+/510
Reviewed-by: lukegb <lukegb@tvl.fyi>
|
|
Sourcegraph uses a component called syntect_server to syntax-highlight
source files.
Since we already have custom syntaxes, overrides and configuration we
might as well use them with Sourcegraph!
This implements the syntect_server "protocol" (it's just a single
endpoint) so that we can swap out the syntect_server component with
cheddar.
Note: There's a few clippy lints here, but they're being solved in a
followup commit because I wanted to take care of all of them at
once (not just the ones introduced in this change).
Change-Id: Ib518a2fa1b9fee299fe599482403599583cac479
Reviewed-on: https://cl.tvl.fyi/c/depot/+/509
Reviewed-by: lukegb <lukegb@tvl.fyi>
|
|
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>
|
|
Change-Id: Iba79c85ebc87c6df13d69781255b3f6645233c2c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/506
Reviewed-by: glittershark <grfn@gws.fyi>
|
|
Change-Id: If26f1d9ad07c92429f9886b622685db70243e464
Reviewed-on: https://cl.tvl.fyi/c/depot/+/505
Reviewed-by: tazjin <mail@tazj.in>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I5f923125b27890b14dc5b6a375861186406f5333
Reviewed-on: https://cl.tvl.fyi/c/depot/+/495
Reviewed-by: glittershark <grfn@gws.fyi>
|
|
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>
|
|
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>
|
|
Change-Id: I9a0764f23c1269447a8b18f3128074fc58f70456
Reviewed-on: https://cl.tvl.fyi/c/depot/+/492
Reviewed-by: glittershark <grfn@gws.fyi>
|
|
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>
|
|
Change-Id: I3ce5184c688f75c3f7207023cd284cd5a1edd93d
|
|
Change-Id: I337ffe42007e6c30022719f3564a400a84ddd0e0
|
|
Change-Id: I9a21b823e65af0a180a8705c58f1cf5d4ba4445c
|
|
HONK!
Change-Id: Ib2b783078c7e7998c9824fd3277694a84589cd01
|
|
I swear I've done this before. Multiple times.
Change-Id: I0d9fcb8fbb05b7b3a24392a204553ce60855f8df
|
|
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
|
|
The homepage is not useful to us because there is only one repo here
anyways.
Change-Id: Ia4e77849dcc54b64bca8b87a3b7dfae3efc382da
|
|
Change-Id: I9dfbd0bb1fd3e215bb91c5734fb0934ee3faeae6
|
|
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
|
|
Change-Id: Idbc3cc90587a5c64a246e7e2097efcec6cefdc5c
|
|
Change-Id: I96bd3802c05f9ab2973bdb1866d60113fcda56e9
|
|
Change-Id: I452fb87f46f1d9ada42147c33b83c519a9b52171
|
|
See https://github.com/MichaelMure/git-bug/pull/407
Change-Id: I5c9504b12fb4791de91cd07deb1ab19f4f56f490
|
|
Change-Id: I03cf0641b22828eb400b9220e0756d9b7aca01cd
|
|
Change-Id: Id5aef73b131252fb9c880dd95fc72bfe083f1b75
|
|
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
|
|
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
|
|
Because it seems to work and we can.
Change-Id: I0ba3b6541efa8c21ead875368eca18c73db9a416
|
|
Change-Id: Ia35102c6041108015703ff8908abd66083c64187
|
|
Change-Id: Iae1fc9fb5efe046fe70b229e7b5cedc3c8f15749
|
|
Change-Id: Ib0e81533fecf259129e0db58cf11280434d35339
|
|
Change-Id: I6e85fc7b5f76bba1f1eef15e600a8acb64e97ef5
|
|
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
|
|
Change-Id: I76d24c20dc41969efe242008a2dec4a2a7944c5a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/450
Reviewed-by: tazjin <mail@tazj.in>
|
|
Change-Id: If657f4b49d16260b35f13a4124caa336bbe3124b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/449
Reviewed-by: riking <rikingcoding@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I12397453b25b40a0283254ee1da9541c3512d8ac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/429
Reviewed-by: glittershark <grfn@gws.fyi>
|