Commit graph

16546 commits

Author SHA1 Message Date
Vincent Ambo
67b7668e85 refactor(predlozhnik): use BTreeSet's for the ... sets
The stable ordering guarantee will make the output a lot nicer (and
more stable).

Change-Id: I7edd1abb0805e948bc41fe5bc111b3cb54592aac
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5982
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
7b217bbbe1 feat(tazjin/predlozhnik): implement logic to restrict inputs
Change-Id: I3e5a5ba02b5f9fcaeeddb499e243ad3b55cf3d82
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5981
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
d795a05c07 feat(tazjin/predlozhnik): bootstrap yew/wasm-based web UI
this commit is mostly to figure out hwo to build a yew application in
depot using the wasm toolchain. it's a bit finnicky, but could be a
lot worse.

Change-Id: I7804a774f1686a1f308ae1a3f549cd0ae7b5dbeb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5980
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Vincent Ambo
38d01f7f3b feat(3p): add pure rust-overlay
this overlay makes things like webassembly toolchains accessible in
depot. it is similar to the official mozilla overlay, except fully
pinned and updated daily by the upstream.

Change-Id: I0eb31a43d367807d5d7e70269852c1520159cca6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5979
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: grfn <grfn@gws.fyi>
2022-07-27 21:54:26 +00:00
Vincent Ambo
7bfc859bfc feat(tazjin/predlozhnik): check in initial list of предлоги
Change-Id: I3bc4f46964e50c8748306e579126be0192a89284
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5978
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-27 21:54:26 +00:00
Jean-François Roche
282ad0015b fix(ops/buildkite): do not set branch if empty
To run an extra step for all branches, user don't set the
`branches` attribute. This change avoid setting `branches` to null in such a case.

Change-Id: Iabf2f3d0411b037ece5584f30b29c7e65420b63f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5975
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-25 14:41:39 +00:00
Jean-François Roche
45c794f1b3 feat(ops/buildkite): Allow agents targeting
Using the `agents` attribute, it lets the user target specific agents to run a step.

Change-Id: Id6fc0981d4879b77598854e1f296dffffb33a405
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5974
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-25 09:29:58 +00:00
Jean-François Roche
b9d79109dd feat(ops/buildkite): Allow skip of individual steps
Using the `skip` attribute, it lets the user decide to temporarily skip a step.

Change-Id: If63ce60a2b4148f041655912730acc4ae9e28534
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5971
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-25 09:29:58 +00:00
Griffin Smith
c7d966c57b feat(grfn/home): Gitignore private.nix
Change-Id: If1a2ea4b4ec5093a6093bd404b9669824268c86d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5973
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-22 14:43:24 +00:00
Griffin Smith
3903da95e7 fix(grfn/system): Don't use whitby as substituter, only builder
I've found that this is the best way to convince nix to actually prefer
cache.nixos.org - it tries to use whitby as a builder, then if the store
path is already built it just downloads it.

Change-Id: I4c78079bfb0013155feb2d39f60d99779123109e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5972
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-22 14:43:23 +00:00
Jean-François Roche
c04316bdc5 feat(ops/users): Add jfroche to users
Change-Id: I60cb0acffd1d21b4660e819799206a0cde4facb0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5970
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-22 12:36:08 +00:00
Vincent Ambo
7d3d3b3c8f refactor(ops/glesys): add explicit records pointing to whitby
instead of setting a wildcard record (which causes really weird
behaviour if you set your search domain to tvl.su/tvl.fyi, which I
do), DNS records for services running on whitby are now set
explicitly.

Change-Id: Ia05399b62dad326942fe0efda30782ce153df99d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5961
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-22 11:17:58 +00:00
William Carroll
1edba49adb chore(wpcarro/blog): Fix typo
Oops...

Change-Id: I926246246fddbfd8811dfad745909e740995dd0e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5945
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:04:54 +00:00
William Carroll
6fbd78d462 feat(wpcarro/blog): SSH Oddities
Another short post about strange encounters in sysadmin-land.

Change-Id: Ie71ca36553440d706ff808af91bed8e09008f909
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5944
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:02:33 +00:00
William Carroll
33f6419d7e refactor(wpcarro/nixos): Define shared nopn.nix module
Shared between `ava` and `tarasco`. Also define `lib/default.nix` to share
utility functions like `usermod` between NixOS configurations.

Change-Id: I65b8d37520426e164c9d5f722bee4731a3c6e641
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5942
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-22 03:02:21 +00:00
Vincent Ambo
cd5fa69897 docs(tazjin/blog): update wallet & phone in tools list
Change-Id: I22ef98937d5424dafe367c779e16b56e8ddbf545
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5968
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-21 15:36:34 +00:00
Griffin Smith
046dbe3501 fix(grfn/emacs): Install jiralib2
I don't want to try to investigate why this isn't happening via
org-tracker, at least right now

Change-Id: I67b8f9a82e7025dde468350a6cc24674c622306e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5967
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:05 +00:00
Griffin Smith
3e17c1613d feat(grfn/system): Enable boot.cleanTmpDir
Change-Id: Idb171cd4baa4c6e54edb8d906559778d005bddb3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5966
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:04 +00:00
Griffin Smith
21dbfd0e8b feat(grfn/system): Configure nvidia drivers for ogopogo
this seems to... work, actually?

Change-Id: Id6df5a8c6755b4eb6eceaafdd6a693f92a0462ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5965
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:03 +00:00
Griffin Smith
5eb5fa2d9c fix(grfn/home): Don't display battery for ogopogo
there isn't one

Change-Id: I154e1d6a7a3ae1f87242209a175ef32dc43eefe4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5964
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-07-21 03:50:03 +00:00
Griffin Smith
7ac9b76c3c feat(grfn/system): Add ogopogo
This is my new work desktop

https://en.wikipedia.org/wiki/Ogopogo

Change-Id: I198d8757ff85eec00a303b990efdd2658cbc3e6a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5963
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-07-20 02:48:41 +00:00
Vincent Ambo
482e1b201c fix(ops/www): redirect very old tazj.in feed URLs correctly
at some point in the far past, there was an RSS feed at `/en/rss.xml`.
It seems to still get a single hit or so every hour, which currently
404s.

Change-Id: Ieb13c2c0232861a50a54bc2a4087d9ccb21185cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5962
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-19 15:14:29 +00:00
Vincent Ambo
5d65d8e03a fix(ops/www): issue certificate for 'www.tazj.in'
Change-Id: I6179f785bb6bd6168a2a11836b90da5ee93adc69
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5953
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
2022-07-18 14:02:58 +00:00
Profpatsch
c04c66c637 feat(users/Profpatsch/cas-serve): init
A dumb little daemon that stores arbitrary files by content-hash, and
exposes a randomly generated URL by which the file can be fetched
again.

If the same file is uploaded twice, it will only be stored once.
CAS hashes are not exposed to the user, so they can’t figure out
whether a file they know is in the database.

Change-Id: Ie57bc09d429a9f31c8f0fc5f63f78d6a84d650f7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5952
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2022-07-17 17:00:43 +00:00
Vincent Ambo
2763a4ce01 fix(tazjin/home): persist syncthing configuration
Change-Id: I33d8af4c5891422e7dc46f956b9379ec0df577c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5951
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:40:35 +00:00
Vincent Ambo
fd13a611e1 fix(tazjin/nixos): disable broken NetworkManager-wait-online.service
Change-Id: I7753ccb53ce7a692b79f46e62ce395dfd1770edf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5950
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:32:34 +00:00
Vincent Ambo
6dd8c0e40e fix(tazjin/nixos): only persist /etc/machine-id if its unset via nix
otherwise the files end up clashing with each other, causing annoying
errors on activation

Change-Id: Iaa4df8c50aa183f4a12749c66ee1b7a746d785da
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5949
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:28:32 +00:00
Vincent Ambo
9b86f8f208 chore(tazjin/nixos): use powertop only on zamalek
this has weird side effects on the AMD thinkpad (of course), but since
that is stationary in my office anyways the power-saving stuff doesn't
matter so much there.

Change-Id: Ie43e3a86b2da885c25eb5c3eb36683adb14edd1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5948
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2022-07-14 15:28:32 +00:00
Vincent Ambo
673796a786 feat(tazjin/home): enable syncthing service
Change-Id: I205db40e7673e06f854de5375ab89d01a1bef776
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5947
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-14 15:01:22 +00:00
Vincent Ambo
af9dccb245 feat(tazjin/zamalek): enable avahi daemon
Change-Id: Ibbff85955482a4e0e4e56f6cc677c85bab6e9ba4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5946
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-14 15:01:22 +00:00
William Carroll
3297d01f0a fix(wpcarro/website): Redirect wpcarro.dev traffic
To https://billandhiscomputer.com (instead of the nginx default landing page).

Change-Id: Id08a3a54c0753c20370a45ff6344128f180d52dd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5904
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-12 20:42:43 +00:00
Vincent Ambo
683de4b159 fix(tazjin/tverskoy): add myself to vboxusers
otherwise passing through USB devices is not possible

Change-Id: I3ab52aaae2567f39e483717b74023316fc3d033a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5941
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-12 17:14:57 +00:00
Vincent Ambo
fcfd097e65 refactor(ops/cgit): make user configurable
on whitby, cgit runs as the gerrit user to get access to serving
gerrit's repositories directly.

on other machines (e.g. sanduny) this isn't necessary, as we have a
world-readable depot replica.

Change-Id: Ibf7e7cc08e5909e0fa182e561ab0cb472188edcb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5932
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-07-12 08:49:55 +00:00
Vincent Ambo
39d589b84b fix(depot-replica): make the depot replica world readable
Change-Id: Idc0b5210793ab0d83b3ac99cf36d7f7f02a35a37
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5931
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-07-12 08:49:55 +00:00
Vincent Ambo
4c25c29505 feat(ops/sanduny): run cgit instance
Change-Id: Id869fa46d74f215a9034e86f795a4cd9e93acb16
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5930
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-07-12 08:49:55 +00:00
William Carroll
ab0cca019b feat(wpcarro/nixos): Support laptop.nix module
Define shared laptop configuration. The primary impetus of this change was
`powerManagement.powertop`.

Change-Id: Icbd04a252005ab391dc8f7d5ebf0968af91f2e0c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5910
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
2022-07-12 04:13:22 +00:00
William Carroll
5188c689bf feat(wpcarro/blog): Short notes post on sudo tee
See post for more information :)

Change-Id: I1e2c1e3997d895fd64f225b5f0bc91f5b26d3e96
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5940
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-12 04:01:20 +00:00
Griffin Smith
7885fe99dc feat(grfn/mugwump): Remove bbbg staging
I don't really need this, and it's breaking for reasons I don't
understand

Change-Id: I55e31fe4a97b4b8d9e254695d62639024b6ebbf2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5939
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:44 +00:00
Griffin Smith
8c59414f08 fix(grfn/emacs): Fix angle brace matching in rust-mode
Change-Id: I2dd3fb3d7f82eaa6ec09c2fd845edd26eecd1548
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5938
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:43 +00:00
Griffin Smith
0156292099 feat(grfn/home): Install latex bussproofs package
Change-Id: I11da65decbd55c7c5ab9915887280ea4366d3c9d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5937
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:42 +00:00
Griffin Smith
67f9a83aa6 fix(grfn/emacs): Add org-mode setup hook before loading agenda files
Change-Id: I6f5c05e7dd8d7a2ce09965009a2dae213c9a92e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5936
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:41 +00:00
Griffin Smith
539d69f565 feat(grfn/home): Add binding for extracting patch from email
Change-Id: Id568f8b479cebe547e1ad8a309ccfa395bf99b83
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5935
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:44:40 +00:00
Griffin Smith
a37f0eed21 feat(grfn/home): Add function to purge a readyset deployment
Change-Id: I9d0426fa4a38551f256dc5fe08a1a0115f7915fb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5934
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:43:38 +00:00
Griffin Smith
bdf614ec3d feat(grfn/home): Install some new rust utilities
Change-Id: I9e210a86a037c58aa832b25203b5ac8c27306aa3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5933
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
2022-07-11 14:43:37 +00:00
sterni
8300d889c5 chore(3p/sources): Bump channels & overlays
Change-Id: I30554c35d0d996ec2908e3c7cdb6d150666f2c64
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5929
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-11 14:18:16 +00:00
sterni
11738fc232 chore(sterni/mblog): relicense to GPL-3.0-only
This is possible since all the commits have been made by me. The code
taken from  SCLF (which is licensed LGPL-2.1-or-later) can also be
included since the LGPL 2.1 is [compatible] with the GPL 3.0.

compatible: https://www.gnu.org/licenses/license-list.en.html#LGPLv2.1
Change-Id: I2d274c29378679c489dc667a53b234642c3da817
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5928
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-07-09 17:10:46 +00:00
William Carroll
882c5570bf chore(wpcarro/website): Resize things for iPhone 12 Mini
The overflow-x was a bit embarrassing. I also touched-up other things while I
was getting my hands dirty in the CSS.

Change-Id: I7bfdbb0ab05c67f35fb11672b3dfc29b6c5a53d1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5927
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2022-07-09 05:08:41 +00:00
sterni
9bad6e1475 chore(3p/sources): Bump channels & overlays
Change-Id: Id943dd7816cdafc01508b438acd4c03a9227ea1a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5925
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-07 17:00:20 +00:00
sterni
5958d55079 chore(3p/sources): Bump channels & overlays
Change-Id: I9fd4c19a8a891410a0ef856e84642d3d5a4cb223
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5924
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
2022-07-05 16:38:30 +00:00
sterni
ab036ffe59 fix(3p/lisp/cl-json): en/decode non-BMP characters correctly
Pin cl-json to a branch on my fork of cl-json which implements encoding
and decoding of non-BMP Unicode codepoints (>= U+10000) using UTF-16
surrogate points as the JSON specs prescribes. While we're at it, also
enable the test suite of the package.

This resolves the annoying issue of panettone garbling up some Unicode
characters by sending invalid JSON to cheddar and then incorrectly
decoding the returned result.

Fixes: b/145.
Change-Id: I44cb38c2775c0e5512d75f51dff0d1deb39f8f78
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5884
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2022-07-05 16:38:30 +00:00