Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-24 | r/579 feat(tools/emacs): Use patched rcirc | Vincent Ambo | 1 | -0/+3 | |
2020-02-24 | r/578 feat(3p/emacs/rcirc): Implement support for IRCv3 server-time | Vincent Ambo | 1 | -7/+46 | |
This adds very basic capability[0] and message tag[1] support to rcirc which is used to implement support for the IRCv3 server-time[2] spec. During connection setup, the server is asked to list its capabilities and the `server-time` capability is then blindly requested from it (the CAP handler code does not check whether server-time is actually part of the listed capabilities). rcirc does not need to know whether this negotiation succeeded, because server time tags will either be sent or not. By default rcirc prints all timestamps at current-time. A new variable `rcirc-last-message-time` has been added which, if set, overrides this timestamp. It is set by the message handler after parsing IRCv3 tags. Thanks to William Cummings for nudging me in the direction of his post about adding ZNC playback support to rcirc[4], from which some parts of this code were taken. This has been tested with IRCCloud's bouncers. [0]: https://ircv3.net/specs/core/capability-negotiation [1]: https://ircv3.net/specs/extensions/message-tags [2]: https://ircv3.net/specs/extensions/server-time-3.2.html | |||||
2020-02-24 | r/577 chore(third_party/emacs): Check in upstream rcirc | Vincent Ambo | 2 | -0/+3101 | |
This is the unmodified rcirc package from Emacs 26.3 | |||||
2020-02-24 | r/576 chore(third_party): Bump nixos-unstable channel | Vincent Ambo | 1 | -2/+2 | |
2020-02-22 | r/575 docs(web/blog): Light editing on the unpublished Emacs post | Vincent Ambo | 1 | -24/+25 | |
2020-02-21 | r/574 fix(ops/besadii): Remove branch tag after checking for it | Vincent Ambo | 1 | -1/+2 | |
... oops. The problem with working on besadii is that testing it always lags one commit behind. | |||||
2020-02-21 | r/573 docs: Include besadii in README, remove sync-gcsr | Vincent Ambo | 1 | -3/+2 | |
2020-02-21 | r/572 fix(ops/besadii): Do not trigger builds for deleted branches | Vincent Ambo | 1 | -7/+12 | |
2020-02-21 | r/571 fix(ops/besadii): Include branch name in build note | Vincent Ambo | 1 | -1/+1 | |
2020-02-21 | r/570 fix(ops/besadii): Clone from git.tazj.in, not git.camden.* | Vincent Ambo | 1 | -1/+1 | |
2020-02-21 | r/569 merge(feat/besadii): Integrate besadii at //ops/besadii | Vincent Ambo | 6 | -240/+210 | |
This tool supersedes the previous //ops/sync-gcsr, which no longer exists. Besadii runs as a git post-receive hook and triggers builds for the depot on sourcehut. Builds are only triggered for branches, not for tags. The sourcehut token is read from /etc/secrets where it has been manually placed on camden. Besadii was a hutt kajidic, and also part of the Hutt Clan. | |||||
2020-02-21 | fix(ops/besadii): Only trigger builds for branches | Vincent Ambo | 1 | -1/+5 | |
2020-02-21 | chore(ops/besadii): Pin git version used in besadii | Vincent Ambo | 1 | -0/+4 | |
2020-02-21 | fix(ops/besadii): Replace slashes in branch names | Vincent Ambo | 1 | -5/+7 | |
Submitting a build with a branch containing a slash (which is common for my branches) returns this error: Invalid tag name, tags must use lowercase alphanumeric characters, underscores, dashes, or dots This commit replaces all slashes with underscores to work around that. | |||||
2020-02-21 | feat(ops/besadii): Run 'git update-server-info' at startup | Vincent Ambo | 1 | -1/+13 | |
Since besadii is effectively the entire post-receive hook, it also needs to do the entire job of the hook. | |||||
2020-02-21 | fix(ops/besadii): Send auth token in correct format | Vincent Ambo | 1 | -1/+1 | |
2020-02-21 | chore(build): Build besadii in CI | Vincent Ambo | 1 | -1/+1 | |
(ironic) | |||||
2020-02-21 | refactor(ops/besadii): Log to syslog instead of stdout | Vincent Ambo | 1 | -10/+19 | |
2020-02-21 | feat(ops/besadii): Use post-receive hook input to trigger builds | Vincent Ambo | 1 | -2/+48 | |
Parses the input passed to besadii from git to extract ref updates and trigger builds. | |||||
2020-02-21 | feat(ops/besadii): Read sourcehut token from secrets file on disk | Vincent Ambo | 1 | -7/+7 | |
2020-02-21 | chore(ops/besadii): Fail if sourcehut token is unset | Vincent Ambo | 1 | -2/+7 | |
2020-02-21 | feat(ops/besadii): Refactored tool to trigger sourcehut builds | Vincent Ambo | 5 | -239/+127 | |
Refactors //ops/sync-gcsr which was previously responsible for synchronising the git repository between GCSR and the git.tazj.in cgit instance to simply be responsible for triggering builds on sourcehut. This program is intended to run as a git post-update hook. Note: Not yet feature complete, as interpolation of concrete git values and also sourcehut secrets is missing. | |||||
2020-02-21 | r/568 merge: Add june's cgit patches to //third_party/cgit | Vincent Ambo | 3 | -4/+29 | |
june maintains some patches on https://git.causal.agency/cgit/log/ that seem sensible to include in this tree. | |||||
2020-02-21 | feat(cgit/ui-commit): show subject in page title | C. McEnroe | 1 | -0/+1 | |
2020-02-21 | feat(cgit/ui-tree): show symlink targets in tree listing | C. McEnroe | 1 | -2/+20 | |
Add links to symbolic link targets in tree listings, formatted like "ls -l". Path normalization collapses any ".." components of the link. | |||||
2020-02-21 | feat(cgit/ui-tree): don't link to blame for binary blobs | C. McEnroe | 1 | -2/+4 | |
2020-02-21 | feat(cgit/ui-blame): bail if blob is binary | C. McEnroe | 1 | -0/+4 | |
This avoids piping binary blobs through the source-filter. | |||||
2020-02-21 | r/567 fix(ops/nixos/camden): Add missing quote in nginx config | Vincent Ambo | 1 | -1/+1 | |
2020-02-21 | r/566 feat(ops/nixos/camden): Modify nginx log format | Vincent Ambo | 1 | -8/+8 | |
This log format contains more structured and correctly typed information, which I can now use for dashboards and stuff in Stackdriver. | |||||
2020-02-21 | r/565 fix(ops/nixos/camden): Configure nginx to not log hostnames | Vincent Ambo | 1 | -1/+1 | |
Hostname prefixes break JSON serialisation, leading to useless Stackdriver Logging entries. | |||||
2020-02-21 | r/564 feat(ops/nixos/camden): Install jq | Vincent Ambo | 1 | -0/+1 | |
2020-02-21 | r/563 feat(ops/nixos/camden): Forward logs to Stackdriver Logging | Vincent Ambo | 1 | -0/+8 | |
Enables the journaldriver service to forward logs into a "home" log-stream in the "tazjins-infrastructure" project. The service account key for camden has been placed on the machine manually. | |||||
2020-02-21 | r/562 chore(ops/nixos/nugget): Remove input-fonts package | Vincent Ambo | 1 | -1/+0 | |
My default font is now Jetbrains Mono everywhere. | |||||
2020-02-21 | r/561 fix(fun/amsterdump): Fix call to os.Getenv | Vincent Ambo | 1 | -1/+1 | |
Not sure how this broken version ended up committed ... | |||||
2020-02-21 | r/560 feat(build): Add //fun and //ops/nixos projects to CI builds | Vincent Ambo | 1 | -8/+13 | |
2020-02-21 | r/559 chore: Rename pkgs->depot in all Nix file headers | Vincent Ambo | 113 | -349/+318 | |
2020-02-21 | r/558 refactor: Pass the depot as an argument named 'depot' | Vincent Ambo | 1 | -3/+7 | |
This change, which I've been meaning to do for a while, renames the attributes passed by readTree to things in the tree so that: * the depot root is now 'depot' * depot.third_party is additionally passed as 'pkgs' (for compatibility with exported subtrees) | |||||
2020-02-17 | r/557 Merge branch 'fix/camden-trusted-users' | Vincent Ambo | 1 | -0/+2 | |
2020-02-17 | fix(ops/nixos/camden): Add myself to trusted Nix users | Vincent Ambo | 1 | -0/+2 | |
2020-02-17 | r/556 fix(ops/nixos/camden): Use pounce from //third_party | Vincent Ambo | 1 | -1/+1 | |
2020-02-17 | r/555 chore(third_party/pounce): Override version to 1.1 | Vincent Ambo | 2 | -1/+19 | |
This has not yet propagated to nixos-unstable | |||||
2020-02-17 | r/554 chore(third_party): Bump nixos-unstable | Vincent Ambo | 1 | -3/+3 | |
2020-02-17 | r/553 feat(ops/nixos/camden): Install pounce on camden | Vincent Ambo | 1 | -1/+8 | |
2020-02-17 | r/552 feat(ops/nixos/camden): Enable support for mosh | Vincent Ambo | 1 | -0/+2 | |
2020-02-17 | r/551 Merge branch 'feat/camden-migration' | Vincent Ambo | 1 | -1/+1 | |
2020-02-17 | chore(ops/nixos/nugget): Add /etc/hosts entries for camden hostnames | Vincent Ambo | 1 | -1/+1 | |
2020-02-14 | r/550 refactor(ops/nixos/camden): Merge ACME certificate blocks | Vincent Ambo | 1 | -11/+7 | |
2020-02-14 | r/549 feat(camden): Move to actual tazj.in hostnames | Vincent Ambo | 1 | -4/+15 | |
2020-02-12 | r/548 feat(ops/nixos/nugget): Add camden to /etc/hosts | Vincent Ambo | 1 | -0/+7 | |
At the moment there is no other way for requests from nugget to camden to resolve correctly, as the Hyperoptic router is eating this traffic on the LAN. | |||||
2020-02-12 | r/547 feat(ops/nixos/camden): Add nginx vhost for cgit at git.camden | Vincent Ambo | 1 | -0/+21 | |