Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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: I9dfbd0bb1fd3e215bb91c5734fb0934ee3faeae6
|
|
Change-Id: I03cf0641b22828eb400b9220e0756d9b7aca01cd
|
|
Change-Id: I76d24c20dc41969efe242008a2dec4a2a7944c5a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/450
Reviewed-by: tazjin <mail@tazj.in>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I848d4c1d58a81a66800f25459fee8f85d3f269f6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/64
Reviewed-by: tazjin <mail@tazj.in>
|
|
|
|
|
|
|
|
This mode makes it possible to track down slowness in Emacs functions
across the board.
https://github.com/lastquestion/explain-pause-mode
Very useful for some things I need to debug ...
|
|
|
|
This is useful if something accidentally opens nano.
|
|
|
|
|
|
When all buffers related to a specific eglot instance are gone, eglot
can shut down.
|
|
|
|
EXWM and vterm are overridden, but this shouldn't be happening outside
of //third_party
|
|
This enables half of the shortcuts for switching keyboard languages
when EXWM launches.
The cyrillic ones are commented out because Emacs doesn't start
otherwise, I've no idea why and don't care at the moment.
|
|
These records have so many fields that it's difficult to track what's
what in a long list. For convenience they're now specified in plist
format (see the example).
There isn't really a point to this because the SOA record is the one I
care the *least* about practically as Cloud DNS sets it for me, but
whatever.
|
|
This currently only supports a small subset of available records, but
I actually kind of like the nesting.
|
|
|
|
vauxhall (my laptop) now has an additional screen connected at home,
but sometimes I use that screen for my desktop computer (nugget).
This refactors the randr configuration for EXWM to support somewhat
more dynamic, multi-monitor layouts and adds key bindings to toggle
between some of the different configurations I want.
|
|
... how did I not have protobuf-mode installed? What?
|
|
|
|
|
|
Accidentally dropped a key parameter, also restored interactive
functionality via prefix arguments..
|
|
Modifies notmuch-show-open-or-close-subthread to take a parameter
instead of using prefix to toggle the argument, and binds that
function to C-, and C-. in notmuch-show-mode-map to enable convenient
collapsing/uncollapsing of subthreads from point.
|
|
Does what it says on the tin.
|
|
|
|
|
|
|
|
Configures org-journal to store journal files on camden and encrypt
them to my GPG key.
Journal entries are weekly, with weeks starting Saturday (yes, there's
a reason for this).
|
|
This used to be the case, but it changed to lisp-interaction-mode at
some point which is incredibly annoying.
|
|
I've been setting these options manually in my sessions for some
reason. Let's make it official!
|
|
This uses the built-in chart.el library to create a quick graph of the
number of unread emails in each notmuch tag. Some generic tags are
excluded from the overview.
|
|
The former is now just an alias for the latter anyways.
|
|
|
|
|
|
|
|
|