Update to Anubis v1.28.2 #1

Merged
matiashik merged 9 commits from lead/anubis-v1.28.2 into master 2026-11-28 12:10:29 +00:00
40 changed files with 0 additions and 2525 deletions
Showing only changes of commit 22b46e3864 - Show all commits

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
FROM ghcr.io/xe/devcontainer-base/pre/go
WORKDIR /app
COPY go.mod go.sum package.json package-lock.json ./
RUN apt-get update \
&& apt-get -y install zstd brotli redis \
&& mkdir -p /home/vscode/.local/share/fish \
&& chown -R vscode:vscode /home/vscode/.local/share/fish \
&& chown -R vscode:vscode /go
CMD ["/usr/bin/sleep", "infinity"]
-13
View File
@@ -1,13 +0,0 @@
# Anubis Dev Container
Anubis offers a [development container](https://containers.dev/) image in order to make it easier to contribute to the project. This image is based on [Xe/devcontainer-base/go](https://github.com/Xe/devcontainer-base/tree/main/src/go), which is based on Debian Bookworm with the following customizations:
- [Fish](https://fishshell.com/) as the shell complete with a custom theme
- [Go](https://go.dev) at the most recent stable version
- [Node.js](https://nodejs.org/en) at the most recent stable version
- [Atuin](https://atuin.sh/) to sync shell history between your host OS and the development container
- [Docker](https://docker.com) to manage and build Anubis container images from inside the development container
- [Ko](https://ko.build/) to build production-ready Anubis container images
- [Neovim](https://neovim.io/) for use with Git
This development container is tested and known to work with [Visual Studio Code](https://code.visualstudio.com/). If you run into problems with it outside of VS Code, please file an issue and let us know what editor you are using.
-32
View File
@@ -1,32 +0,0 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Dev",
"dockerComposeFile": ["./docker-compose.yaml"],
"service": "workspace",
"workspaceFolder": "/workspace/anubis",
"postStartCommand": "bash ./.devcontainer/poststart.sh",
"features": {
"ghcr.io/xe/devcontainer-features/ko:1.1.0": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"initializeCommand": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.local/share/atuin",
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"ms-azuretools.vscode-containers",
"golang.go",
"unifiedjs.vscode-mdx",
"a-h.templ",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
],
"settings": {
"chat.instructionsFilesLocations": {
".github/copilot-instructions.md": true
}
}
}
}
}
-26
View File
@@ -1,26 +0,0 @@
services:
playwright:
image: mcr.microsoft.com/playwright:v1.61.1-noble
init: true
network_mode: service:workspace
command:
- /bin/sh
- -c
- npx -y playwright@1.61.1 run-server --port 9001 --host 0.0.0.0
valkey:
image: valkey/valkey:8
pull_policy: always
# VS Code workspace service
workspace:
image: ghcr.io/techarohq/anubis/devcontainer
build:
context: ..
dockerfile: .devcontainer/Dockerfile
volumes:
- ../:/workspace/anubis:cached
environment:
VALKEY_URL: redis://valkey:6379/0
#entrypoint: ["/usr/bin/sleep", "infinity"]
user: vscode
-9
View File
@@ -1,9 +0,0 @@
#!/usr/bin/env bash
pwd
npm ci &
go mod download &
go install ./utils/cmd/... &
wait
-3
View File
@@ -1,3 +0,0 @@
patreon: cadey
github: xe
liberapay: Xe
-60
View File
@@ -1,60 +0,0 @@
name: Bug report
description: Create a report to help us improve
body:
- type: textarea
id: description-of-bug
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
placeholder: I can reliably get an error when...
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: |
Steps to reproduce the behavior.
placeholder: |
1. Go to the following url...
2. Click on...
3. You get the following error: ...
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: |
A clear and concise description of what you expected to happen.
Ideally also describe *why* you expect it to happen.
placeholder: Instead of displaying an error, it would...
validations:
required: true
- type: input
id: version-os
attributes:
label: Your operating system and its version.
description: Unsure? Visit https://whatsmyos.com/
placeholder: Android 13
validations:
required: true
- type: input
id: version-browser
attributes:
label: Your browser and its version.
description: Unsure? Visit https://www.whatsmybrowser.org/
placeholder: Firefox 142
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the problem here.
-5
View File
@@ -1,5 +0,0 @@
blank_issues_enabled: false
contact_links:
- name: Security
url: https://techaro.lol/contact
about: Do not file security reports here. Email security@techaro.lol.
@@ -1,39 +0,0 @@
name: Feature request
description: Suggest an idea for this project
title: "[Feature request] "
body:
- type: textarea
id: description-of-bug
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is that made you submit this report.
placeholder: I am always frustrated, when...
validations:
required: true
- type: textarea
id: description-of-solution
attributes:
label: Solution you would like.
description: A clear and concise description of what you want to happen.
placeholder: Instead of behaving like this, there should be...
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you have considered.
description: A clear and concise description of any alternative solutions or features you have considered.
placeholder: Another workaround that would work, is...
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context (such as mock-ups, proof of concepts or screenshots) about the feature request here.
validations:
required: false
-12
View File
@@ -1,12 +0,0 @@
<!--
delete me and describe your change here, give enough context for a maintainer to understand what and why
See https://github.com/TecharoHQ/anubis/blob/main/CONTRIBUTING.md for more information
-->
Checklist:
- [ ] Added a description of the changes to the `[Unreleased]` section of docs/docs/CHANGELOG.md
- [ ] Added test cases to [the relevant parts of the codebase](https://github.com/TecharoHQ/anubis/blob/main/CONTRIBUTING.md)
- [ ] Ran integration tests `npm run test:integration` (unsupported on Windows, please use WSL)
- [ ] All of my commits have [verified signatures](https://anubis.techaro.lol/docs/developer/signed-commits)
-34
View File
@@ -1,34 +0,0 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
github-actions:
patterns:
- "*"
cooldown:
default-days: 7
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
groups:
gomod:
patterns:
- "*"
cooldown:
default-days: 7
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
groups:
npm:
patterns:
- "*"
cooldown:
default-days: 7
-78
View File
@@ -1,78 +0,0 @@
name: Asset Build Verification
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
asset_verification:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: install node deps
run: |
npm ci
- name: Check for uncommitted changes before asset build
id: check-changes-before
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
echo "has_changes=false" >> $GITHUB_OUTPUT
fi
- name: Fail if there are uncommitted changes before build
if: steps.check-changes-before.outputs.has_changes == 'true'
run: |
echo "There are uncommitted changes before running npm run assets"
git status
exit 1
- name: Run asset build
run: |
npm run assets
- name: Check for uncommitted changes after asset build
id: check-changes-after
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
echo "has_changes=false" >> $GITHUB_OUTPUT
fi
- name: Fail if assets generated changes
if: steps.check-changes-after.outputs.has_changes == 'true'
run: |
echo "npm run assets generated uncommitted changes. This indicates the repository has outdated generated files."
echo "Please run 'npm run assets' locally and commit the changes."
git status
git diff
exit 1
-9
View File
@@ -1,9 +0,0 @@
name: DCO Check
on: [pull_request]
jobs:
dco_check:
runs-on: ubuntu-latest
steps:
- uses: tisonkun/actions-dco@f1024cd563550b5632e754df11b7d30b73be54a5 # v1.1
-64
View File
@@ -1,64 +0,0 @@
name: Docker image builds (pull requests)
on:
pull_request:
branches: ["main"]
env:
DOCKER_METADATA_SET_OUTPUT_ENV: "true"
permissions:
contents: read
jobs:
ko_pr:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- uses: ko-build/setup-ko@61b4d1d396f5b2e7d6bb6fefdce3dc38d1a13445 # v0.10
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/${{ github.repository }}
- name: Build and push
id: build
run: |
npm ci
npm run container
env:
PULL_REQUEST_ID: ${{ github.event.number }}
DOCKER_REPO: ghcr.io/${{ github.repository }}
SLOG_LEVEL: debug
- run: |
echo "Test this with:"
echo "docker pull ${DOCKER_IMAGE}"
env:
DOCKER_IMAGE: ${{ steps.build.outputs.docker_image }}
-88
View File
@@ -1,88 +0,0 @@
name: Docker image builds
on:
workflow_dispatch:
push:
branches: ["main"]
tags: ["v*"]
env:
DOCKER_METADATA_SET_OUTPUT_ENV: "true"
permissions:
contents: read
packages: write
attestations: write
id-token: write
pull-requests: write
jobs:
ko_prod:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential brotli zstd
- name: Set lowercase image name
run: |
echo "IMAGE=ghcr.io/${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- uses: ko-build/setup-ko@61b4d1d396f5b2e7d6bb6fefdce3dc38d1a13445 # v0.10
- name: Log into registry
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ${{ env.IMAGE }}
flavor: |
latest=false
tags: |
type=ref,event=branch
type=ref,event=tag
type=raw,value=latest,enable=${{ github.ref_type == 'tag' && !contains(github.ref_name, '-pre') }}
type=raw,value=pre,enable=${{ github.ref_type == 'tag' && contains(github.ref_name, '-pre') }}
- name: Build and push
id: build
run: |
npm ci
npm run container
env:
DOCKER_REPO: ${{ env.IMAGE }}
SLOG_LEVEL: debug
- name: Generate artifact attestation
uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
with:
subject-name: ${{ env.IMAGE }}
subject-digest: ${{ steps.build.outputs.digest }}
push-to-registry: true
-67
View File
@@ -1,67 +0,0 @@
name: Docs deploy
on:
workflow_dispatch:
push:
branches: ["main"]
permissions:
contents: read
packages: write
attestations: write
id-token: write
jobs:
build:
if: github.repository == 'TecharoHQ/anubis'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Log into registry
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: techarohq
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/techarohq/anubis/docs
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
main
- name: Build and push
id: build
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ./docs
cache-to: type=gha
cache-from: type=gha
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
push: true
- name: Apply k8s manifests to limsa lominsa
uses: actions-hub/kubectl@4a69b4074d038d7bc36682b7d0862db29c181ed4 # v1.37.1
env:
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
with:
args: apply -k docs/manifest
- name: Apply k8s manifests to limsa lominsa
uses: actions-hub/kubectl@4a69b4074d038d7bc36682b7d0862db29c181ed4 # v1.37.1
env:
KUBE_CONFIG: ${{ secrets.LIMSA_LOMINSA_KUBECONFIG }}
with:
args: rollout restart -n default deploy/anubis-docs
-42
View File
@@ -1,42 +0,0 @@
name: Docs test build
on:
pull_request:
branches: ["main"]
permissions:
contents: read
actions: write
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Docker meta
id: meta
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
images: ghcr.io/techarohq/anubis/docs
tags: |
type=sha,enable=true,priority=100,prefix=,suffix=,format=long
main
- name: Build and push
id: build
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ./docs
cache-to: type=gha
cache-from: type=gha
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64
push: false
-76
View File
@@ -1,76 +0,0 @@
name: Go Mod Tidy Check
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
go_mod_tidy_check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- name: Check go.mod and go.sum in main directory
run: |
# Store original file state
cp go.mod go.mod.orig
cp go.sum go.sum.orig
# Run go mod tidy
go mod tidy
# Check if files changed
if ! diff -q go.mod.orig go.mod > /dev/null 2>&1; then
echo "ERROR: go.mod in main directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.mod.orig go.mod
exit 1
fi
if ! diff -q go.sum.orig go.sum > /dev/null 2>&1; then
echo "ERROR: go.sum in main directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.sum.orig go.sum
exit 1
fi
echo "SUCCESS: go.mod and go.sum in main directory are tidy"
- name: Check go.mod and go.sum in test directory
run: |
cd test
# Store original file state
cp go.mod go.mod.orig
cp go.sum go.sum.orig
# Run go mod tidy
go mod tidy
# Check if files changed
if ! diff -q go.mod.orig go.mod > /dev/null 2>&1; then
echo "ERROR: go.mod in test directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.mod.orig go.mod
exit 1
fi
if ! diff -q go.sum.orig go.sum > /dev/null 2>&1; then
echo "ERROR: go.sum in test directory has changed after running 'go mod tidy'"
echo "Please run 'go mod tidy' locally and commit the changes"
diff go.sum.orig go.sum
exit 1
fi
echo "SUCCESS: go.mod and go.sum in test directory are tidy"
-57
View File
@@ -1,57 +0,0 @@
name: Go
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
actions: write
jobs:
go_tests:
#runs-on: alrest-techarohq
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: install node deps
run: |
npm ci
- name: Build
run: npm run build
- name: Test
run: npm run test
- name: Lint with staticcheck
uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # v1.4.1
with:
version: "latest"
- name: Govulncheck
run: |
go tool govulncheck ./... ||:
-48
View File
@@ -1,48 +0,0 @@
name: GolangCI Linter
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
actions: write
jobs:
golangci-lint:
runs-on: saga-techaro
#runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential brotli zstd
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: build static assets
run: |
npm ci
npm run assets
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.14.0
-45
View File
@@ -1,45 +0,0 @@
name: The great browser testing library of Gubal
on:
pull_request_review_comment:
types: [created]
issue_comment:
types: [created]
jobs:
gubal_test:
if: |
startsWith(github.event.comment.body, '/gubaltest')
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- name: Install gubalctl
run: |
arch=amd64
if [ "$(uname -m)" = "aarch64" ]; then
arch=arm64
fi
wget -O gubalctl.deb "https://xedn.t3.tigrisfiles.io/dl/gubalctl/gubalctl_0.0.0_${arch}.deb"
sudo apt-get -y install ./gubalctl.deb
- name: Run gubal test
run: |
gubalctl --url https://gubald.xeserv.us --anubis-image ttl.sh/techaro/pr-${PR_NUMBER}/anubis:24h
env:
GITHUB_REPO: ${{ github.repository }}
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_KEY_ID: ${{ secrets.GUBALD_ACCESS_KEY_ID }}
SECRET_ACCESS_KEY: ${{ secrets.GUBALD_SECRET_ACCESS_KEY }}
PR_NUMBER: ${{ github.event.issue.number || github.event.pull_request.number }}
-19
View File
@@ -1,19 +0,0 @@
name: "Lint PR"
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint_pr_title:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,85 +0,0 @@
name: Package builds (stable)
on:
workflow_dispatch:
# release:
# types: [published]
permissions:
contents: write
actions: write
jobs:
package_builds_stable:
runs-on: saga-techaro
#runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential brotli zstd
- name: Set up Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Ubuntu 24.04 ships wixl 0.103, which aborts on the Component Condition
# in run/windows/anubis.wxs ("unhandled child Component node Condition").
# Homebrew has 0.106, the version mkmsi is written against.
- name: install msitools
run: |
# Homebrew ships on the ubuntu-24.04 runner image but is not on PATH.
if ! command -v brew >/dev/null; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
brew update
brew install msitools
echo "$(brew --prefix)/bin" >> "$GITHUB_PATH"
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: install node deps
run: |
npm ci
- name: Build Packages
run: |
go tool yeet
- name: Verify MSI contents
env:
# msitools is installed and the zips are built above, so a skipped
# verification test here would be a green check that verified
# nothing. See skipOrFail in internal/cmd/mkmsi/msi_test.go.
MKMSI_REQUIRE_VERIFY: "true"
run: |
go test -count=1 -v -run TestMSI ./internal/cmd/mkmsi/
- name: Upload released artifacts
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
RELEASE_VERSION: ${{github.event.release.tag_name}}
shell: bash
run: |
RELEASE="${RELEASE_VERSION}"
cd var
for file in *; do
gh release upload $RELEASE $file
done
@@ -1,79 +0,0 @@
name: Package builds (unstable)
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
actions: write
jobs:
package_builds:
runs-on: saga-techaro
#runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential brotli zstd
- name: Set up Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Ubuntu 24.04 ships wixl 0.103, which aborts on the Component Condition
# in run/windows/anubis.wxs ("unhandled child Component node Condition").
# Homebrew has 0.106, the version mkmsi is written against.
- name: install msitools
run: |
# Homebrew ships on the ubuntu-24.04 runner image but is not on PATH.
if ! command -v brew >/dev/null; then
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
fi
brew update
brew install msitools
echo "$(brew --prefix)/bin" >> "$GITHUB_PATH"
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: install node deps
run: |
npm ci
- name: Build Packages
run: |
go tool yeet
- name: Verify MSI contents
env:
# msitools is installed and the zips are built above, so a skipped
# verification test here would be a green check that verified
# nothing. See skipOrFail in internal/cmd/mkmsi/msi_test.go.
MKMSI_REQUIRE_VERIFY: "true"
run: |
go test -count=1 -v -run TestMSI ./internal/cmd/mkmsi/
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: packages
path: var/*
-52
View File
@@ -1,52 +0,0 @@
name: End to End yeet package test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
proxmox-yeet:
runs-on: saga-techaro
#runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- name: build essential
run: |
sudo apt-get update
sudo apt-get install -y build-essential brotli zstd
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- name: install node deps
run: |
npm ci
- name: Run Proxmox test
run: |
cd test/proxmox-e2e
bash ./test.sh
env:
PROXMOX_HOST: ${{ secrets.PROXMOX_HOST }}
PROXMOX_TOKEN_ID: ${{ secrets.PROXMOX_TOKEN_ID }}
PROXMOX_SECRET: ${{ secrets.PROXMOX_SECRET }}
-50
View File
@@ -1,50 +0,0 @@
name: "Rust tests"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
rust-test:
strategy:
fail-fast: false
matrix:
runner:
- ubuntu-24.04
- ubuntu-24.04-arm
name: cargo test (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- run: cargo test --all-features
# Check formatting with rustfmt
rust-formatting:
strategy:
fail-fast: false
matrix:
runner:
- ubuntu-24.04
- ubuntu-24.04-arm
name: cargo fmt (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
components: rustfmt
cache: false
target: wasm32-unknown-unknown
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@4066006ec54a31931b9b1fddfd38f2fdf2d27143 # v1.1.2
-74
View File
@@ -1,74 +0,0 @@
name: Smoke tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
smoke-test:
strategy:
matrix:
test:
- default-config-macro
- docker-registry
- double_slash
- forced-language
- git-clone
- git-push
- gitweb
- healthcheck
- i18n
- lightpanda
- log-file
- nginx
- palemoon/amd64
#- palemoon/i386
- robots_txt
- traefik
- wildcard-match
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.15.0"
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
- uses: ko-build/setup-ko@61b4d1d396f5b2e7d6bb6fefdce3dc38d1a13445 # v0.10
- name: Install utils
run: |
go install ./utils/cmd/...
- name: Run test
run: |
cd test/${{ matrix.test }}
backoff-retry --try-count 10 ./test.sh
- name: Sanitize artifact name
if: always()
run: echo "ARTIFACT_NAME=${{ matrix.test }}" | sed 's|/|-|g' >> $GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: always()
with:
name: ${{ env.ARTIFACT_NAME }}
path: test/${{ matrix.test }}/var
-25
View File
@@ -1,25 +0,0 @@
name: Spelling
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
cspell:
name: Check spelling
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Spell check
uses: streetsidesoftware/cspell-action@6f3c77c1406bc930f944ba97e9801a22e42caf58 # v9.1.0
with:
config: ".vscode/cspell.json"
incremental_files_only: true
-37
View File
@@ -1,37 +0,0 @@
name: Regenerate ssh ci runner image
on:
# pull_request:
# branches: ["main"]
schedule:
- cron: "0 0 1,8,15,22 * *"
workflow_dispatch:
permissions:
pull-requests: write
contents: write
packages: write
jobs:
ssh-ci-rebuild:
if: github.repository == 'TecharoHQ/anubis'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- name: Log into registry
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- name: Build and push
run: |
cd ./test/ssh-ci
docker buildx bake --push
-63
View File
@@ -1,63 +0,0 @@
name: SSH CI
on:
push:
branches: ["main"]
# pull_request:
# branches: ["main"]
permissions:
contents: read
jobs:
ssh:
if: github.repository == 'TecharoHQ/anubis'
#runs-on: alrest-techarohq
runs-on: ubuntu-latest
strategy:
# Each host fails for its own reasons, don't let one hide the other.
fail-fast: false
matrix:
host:
- riscv64
- ppc64le
#- aarch64-4k
#- aarch64-16k
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-tags: true
fetch-depth: 0
persist-credentials: false
- name: Install CI target SSH key
uses: shimataro/ssh-key-action@87a8f067114a8ce263df83e9ed5c849953548bc3 # v2.8.1
with:
key: ${{ secrets.CI_SSH_KEY }}
name: id_rsa
known_hosts: ${{ secrets.CI_SSH_KNOWN_HOSTS }}
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "stable"
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
with:
cache: false
target: wasm32-unknown-unknown
- name: Setup `wasmtime`
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
# The wasm modules and their wasm2js output are the same on every
# architecture, so build them here and let rigging.sh ship them. The
# target hosts are slow at this, and the riscv64 one can't do it at all.
- name: Build WebAssembly artifacts
run: |
bash ./wasm/scripts/build_wasm.sh
bash ./wasm/scripts/build_wasm2js.sh
- name: Run CI
run: go run ./utils/cmd/backoff-retry bash test/ssh-ci/rigging.sh ${{ matrix.host }}
env:
GITHUB_RUN_ID: ${{ github.run_id }}
-35
View File
@@ -1,35 +0,0 @@
name: zizmor
on:
push:
paths:
- ".github/workflows/*.ya?ml"
pull_request:
paths:
- ".github/workflows/*.ya?ml"
jobs:
zizmor:
name: zizmor latest via PyPI
runs-on: ubuntu-24.04
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
- name: Run zizmor 🌈
run: uvx zizmor --format sarif . > results.sarif
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
with:
sarif_file: results.sarif
category: zizmor
-5
View File
@@ -1,5 +0,0 @@
rules:
unpinned-uses:
config:
policies:
Homebrew/actions/*: any
-8
View File
@@ -1,8 +0,0 @@
npx --no-install commitlint --edit "$1"
# Check if commit message contains Signed-off-by line
if ! grep -q "^Signed-off-by:" "$1"; then
echo "Commit message must contain a 'Signed-off-by:' line."
echo "Please use 'git commit --signoff' or add a Signed-off-by line to your commit message."
exit 1
fi
-2
View File
@@ -1,2 +0,0 @@
npm run lint
npm run test
-389
View File
@@ -1,389 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"language": "en",
"dictionaryDefinitions": [
{
"name": "project-words",
"path": "./project-words.txt",
"addWords": true
}
],
"dictionaries": [
"companies",
"css",
"en_GB",
"en_US",
"filetypes",
"fonts",
"golang",
"html",
"node",
"npm",
"project-words",
"rust",
"rust-crates",
"typescript"
],
"ignorePaths": [
"node_modules/**",
".git/**",
".vscode/cspell.json",
"**/{COPYRIGHT,copyright,Copyright}",
"**/{LICENSE,LICENCE,license,licence,License,Licence}",
"**/third-party/**",
"**/third_party/**",
"**/thirdparty/**",
"**/3rdparty/**",
"**/generated/**",
"**/vendor/**",
"**/go.sum",
"**/package.json",
"**/package-lock.json",
"**/Pipfile",
"**/pyproject.toml",
"**/requirements*.txt",
"**/*.a",
"**/*.ai",
"**/.all-contributorsrc",
"**/*.avi",
"**/*.bmp",
"**/*.bz2",
"**/*.cer",
"**/*.cert",
"**/*.crt",
"**/*.class",
"**/.coveragerc",
"**/*.crl",
"**/*.csr",
"**/*.dll",
"**/*.doc",
"**/*.docx",
"**/*.drawio",
"**/.DS_Store",
"**/*.eot",
"**/*.eps",
"**/*.exe",
"**/*.gif",
"**/.git-blame-ignore-revs",
"**/.gitattributes",
"**/.gitkeep",
"**/*.graffle",
"**/*.gz",
"**/*.icns",
"**/*.ico",
"**/*.ipynb",
"**/*.jar",
"**/*.jks",
"**/*.jpg",
"**/*.jpeg",
"**/*.key",
"**/*.lib",
"**/*.lock",
"**/*.map",
"**/*.min.*",
"**/*.mo",
"**/*.mod",
"**/*.mp3",
"**/*.mp4",
"**/*.o",
"**/*.ocf",
"**/*.otf",
"**/*.p12",
"**/*.parquet",
"**/*.pdf",
"**/*.pem",
"**/*.pfx",
"**/*.png",
"**/*.psd",
"**/*.pyc",
"**/.pylintrc",
"**/*.qm",
"**/*.s",
"**/*.sig",
"**/*.so",
"**/*.svg",
"**/*.svgz",
"**/*.sys",
"**/*.tar",
"**/*.tgz",
"**/*.tif",
"**/*.tiff",
"**/*.ttf",
"**/*.wav",
"**/*.webm",
"**/*.webp",
"**/*.woff",
"**/*.woff2",
"**/*.xcf",
"**/*.xls",
"**/*.xlsx",
"**/*.xpm",
"**/*.xz",
"**/*.zip",
"**/*ignore",
"**/robots.txt",
".github/FUNDING.yml",
".github/workflows/spelling.yml",
"data/**",
"docs/build/**",
"docs/blog/tags.yml",
"docs/docs/user/known-instances.md",
"docs/manifest/**",
"docs/node_modules/**",
"docs/static/.nojekyll",
"internal/glob/glob_test.go",
"internal/honeypot/naive/affirmations.txt",
"internal/honeypot/naive/spintext.txt",
"internal/honeypot/naive/titles.txt",
"lib/challenge/preact/static/**",
"lib/config/testdata/bad/unparseable.json",
"lib/localization/**",
"lib/localization/locales/*.json",
"internal/ogtags/ogtags_fuzz_test.go",
"lib/policy/config/testdata/bad/unparseable.json",
"test/**",
"web/static/**",
"var/**"
],
"flagWords": [
"attache",
"bellow",
"bellows",
"benefitting",
"occurence",
"occurences",
"dependant",
"dependants",
"dependance",
"dependances",
"dependancy",
"dependancies",
"develope",
"developement",
"developpe",
"developped",
"developper",
"developpers",
"developpement",
"Dever",
"Devers",
"devex",
"devide",
"devided",
"devides",
"Devina",
"Devine",
"Devinna",
"Devinne",
"devisal",
"devisor",
"diable",
"diables",
"oer",
"Sorce",
"spae",
"spaes",
"Teh",
"untill",
"untilling",
"vender",
"venders",
"wether",
"wethers"
],
"patterns": [
{
"name": "url",
"pattern": "(?:\\b(?:https?|ftp|file)://)[-A-Za-z0-9+&@#/*%?=~_|!:,.;]+[-A-Za-z0-9+&@#/*%=~_|]"
},
{
"name": "github-actions-uses",
"pattern": "\\buses:\\s+[-\\w.]+/[-\\w./]+@[-\\w.]+"
},
{
"name": "libraries",
"pattern": "(?:\\b|_)[Ll]ib(?:re(?=office)|era(?![lt])|)(?!ero|erty|rar(?:i(?:an|es)|y))(?=[a-z])"
},
{
"name": "version-suffix",
"pattern": "(?:(?<=[A-Z]{2})V|(?<=[a-z]{2}|[A-Z]{2})v)\\d+(?:\\b|(?=[a-zA-Z_]))"
},
{
"name": "container-image",
"pattern": "image: [-\\w./:@]+"
},
{
"name": "import",
"pattern": "^import\\s+(?:(?:static|type)\\s+|)(?:[\\w.]|\\{\\s*\\w*?(?:,\\s*(?:\\w*|\\*))+\\s*\\})+"
},
{
"name": "hex-digits",
"pattern": "(?:[\\\\0][xX]|\\\\u|[uU]\\+|#x?|%23|&H)[0-9_a-fA-FgGrR]*?[a-fA-FgGrR]{2,}[0-9_a-fA-FgGrR]*(?:[uUlL]{0,3}|[iu]\\d+)\\b"
},
{
"name": "node-packages",
"pattern": "([\"'])@[^/'\" ]+/[^/'\" ]+\\1"
},
{
"name": "css-fonts",
"pattern": "\\bfont(?:-family|):[^;}]+"
},
{
"name": "shell-set-args",
"pattern": "\\b(?:bash|sh|set)(?:\\s+[-+][abefimouxE]{1,2})*\\s+[-+][abefimouxE]{3,}(?:\\s+[-+][abefimouxE]+)*"
},
{
"name": "css-url",
"pattern": "\\burl\\([^)]+\\)"
},
{
"name": "c-byte-conversions",
"pattern": "(?:\\d|\\bh)to(?!ken)(?=[a-z])|to(?=[adhiklpun]\\()"
},
{
"name": "github-sha-refs",
"pattern": "\\[([0-9a-f]+)\\]\\(https://(?:www\\.|)github.com/[-\\w]+/[-\\w]+/commit/\\1[0-9a-f]*"
},
{
"name": "copyright",
"pattern": "Copyright (?:\\([Cc]\\)|)(?:[-\\d, ]|and)+(?: [A-Z][a-z]+ [A-Z][a-z]+,?)+"
},
{
"name": "ipv6",
"pattern": "\\b(?:[0-9a-fA-F]{0,4}:){3,7}[0-9a-fA-F]{0,4}\\b"
},
{
"name": "docker-from",
"pattern": "/^\\s*FROM\\s+\\S+:\\S+(?:\\s+AS\\s+\\S+|)/gmi"
},
{
"name": "perl-run",
"pattern": "perl(?:\\s+-[a-zA-Z]\\w*)+"
},
{
"name": "go-install",
"pattern": "go install(?:\\s+[a-z]+\\.[-@\\w/.]+)+"
},
{
"name": "printf-markers",
"pattern": "(?<!\\\\)\\\\[nrt](?=[a-z]{2,})"
},
{
"name": "tar-args",
"pattern": "\\b(?:\\\\n|)g?tar(?:\\.exe|)(?:(?:\\s+--[-a-zA-Z]+|\\s+-[a-zA-Z]+|\\s[ABGJMOPRSUWZacdfh-pr-xz]+\\b)(?:=[^ ]*|))+"
},
{
"name": "log-in-to",
"pattern": "\\b(?:(?:[Ll]og(?:g(?=[a-z])|)|[Ss]ign)(?:ed|ing)?) in to\\b"
},
{
"name": "to-opt-in",
"pattern": "\\bto opt in\\b"
},
{
"name": "pass-in",
"pattern": "\\bpass(?:ed|ing) in\\b"
},
{
"name": "ls-listing",
"pattern": "[-bcdlpsw](?:[-r][-w][-SsTtx]){3}[\\.+*]?\\s+\\d+\\s+\\S+\\s+\\S+\\s+[.\\d]+(?:[KMGT]|)\\s+"
},
{
"name": "mount",
"pattern": "\\bmount\\s+-t\\s+(\\w+)\\s+\\1\\b"
},
{
"name": "c-repeated-values",
"pattern": "\\s(auto|buffalo|center|div|inherit|long|LONG|none|normal|solid|thin|transparent|very)(?: \\1)+\\s"
},
{
"name": "c-enum-struct",
"pattern": "\\b(?:enum|struct)\\s+(\\w+)\\s+\\1\\b"
},
{
"name": "go-templates",
"pattern": "\\s(\\w+)\\s+\\1\\s+`(?:graphql|inject|json|yaml):"
},
{
"name": "doxygen",
"pattern": "(?:[\\\\@](?:brief|defgroup|groupname|link|t?param|return|retval)|(?:public|private|\\[Parameter(?:\\(.+\\)|)\\])(?:\\s+(?:static|override|readonly|required|virtual))*)(?:\\s+\\{\\w+\\}|)\\s+(\\w+)\\s+\\1\\s"
},
{
"name": "macos-path",
"pattern": "(?:Contents\\W+|(?!iOS)/)MacOS\\b"
},
{
"name": "python-macos",
"pattern": "\"Operating System :: MacOS :: MacOS X\""
},
{
"name": "gmbh",
"pattern": "\\bGmbH\\b"
},
{
"name": "intellij",
"pattern": "\\bIntelliJ\\b"
},
{
"name": "signed-off-by",
"pattern": "^\\s*(?:(?:Based-on-patch|Co-authored|Helped|Mentored|Reported|Reviewed|Signed-off)-by|Thanks-to): (?:[^<]*<[^>]*>|[^<]*)\\s*$"
},
{
"name": "revert-commit",
"pattern": "^This reverts commit [0-9a-f]{40}\\.$"
},
{
"name": "long-runs",
"pattern": "\\b([A-Za-z])\\1{3,}\\b"
},
{
"name": "microsoft-url",
"pattern": "\\b(?:https?://|)(?:(?:(?:blogs|download\\.visualstudio|docs|msdn2?|research)\\.|)microsoft|blogs\\.msdn)\\.co(?:m|\\.\\w\\w)/[-_a-zA-Z0-9()=./%]*"
},
{
"name": "data-url",
"pattern": "\\bdata:[-a-zA-Z=;:/0-9+]*,\\S*"
}
],
"ignoreRegExpList": [
"url",
"github-actions-uses",
"libraries",
"version-suffix",
"container-image",
"import",
"hex-digits",
"node-packages",
"css-fonts",
"shell-set-args",
"css-url",
"c-byte-conversions",
"github-sha-refs",
"copyright",
"ipv6",
"docker-from",
"perl-run",
"go-install",
"printf-markers",
"tar-args",
"log-in-to",
"to-opt-in",
"pass-in",
"ls-listing",
"mount",
"c-repeated-values",
"c-enum-struct",
"go-templates",
"doxygen",
"macos-path",
"python-macos",
"gmbh",
"intellij",
"signed-off-by",
"revert-commit",
"long-runs",
"microsoft-url",
"data-url"
]
}
-11
View File
@@ -1,11 +0,0 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"ms-azuretools.vscode-containers",
"golang.go",
"unifiedjs.vscode-mdx",
"a-h.templ",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker"
]
}
-27
View File
@@ -1,27 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}"
},
{
"name": "Anubis [dev]",
"command": "npm run dev",
"request": "launch",
"type": "node-terminal"
},
{
"name": "Start Docs",
"command": "cd docs && npm ci && npm run start",
"request": "launch",
"type": "node-terminal"
}
]
}
-671
View File
@@ -1,671 +0,0 @@
ABee
acs
Actorified
actorifiedstore
actorify
admins
agentic
Aibrew
alibaba
alives
allgood
alrest
amazonbot
anexia
ansicpg
anthro
anubis
anubistest
apimachinery
apnic
APNICRANDNETAU
Applebot
archlinux
arpa
arquivo
Asahi
ASIC
asnc
asnchecker
asns
aspera
aspirational
atuin
autoreload
AWOO
azurediamond
azuretools
badregexes
bbolt
bdba
behaviour
berr
bezier
binaryen
bindhosts
BINDIR
bingbot
Bitcoin
bitness
bitrate
blocklist
blocklists
Bluesky
blueskybot
boi
Bokm
Bokmål
botgenerate
botnet
botstopper
BPort
Brightbot
broked
buildah
buildx
byteslice
Bytespider
bytestrings
cachebuster
cachediptoasn
Caddyfile
caninetools
canonialheader
Cardyb
CAs
celchecker
celphase
cerr
certresolver
cespare
CGNAT
cgr
chainguard
chall
challengemozilla
challengepage
challengetest
checkpath
checkresult
chibi
chromesweep
cidranger
ckie
clampip
CLAUDE
cloudflare
cloudsolutions
Codespaces
commoncrawl
confd
configmap
containerbuild
containerregistry
cooldown
coreutils
Cotoyogi
Cromite
cromulent
crt
Cscript
csdl
cssload
CSSURL
Ctarget
CUDA
dacl
daemonizing
databento
DATADIR
datapkg
dayjob
dco
DDOS
ddwrt
de
dealign
Debian
debrpm
decaymap
deflang
denan
deprioritized
devcontainers
Diffbot
Dillo
discordapp
discordbot
distros
dnf
dnsbl
dnserr
DNSTTL
DOCDIR
domainhere
dont
DONT
dracula
dronebl
droneblresponse
dropin
dsilence
duckduckbot
echaro
eerror
ellenjoe
emacs
embe
enbyware
envoyproxy
eral
ETCDIR
etld
everyones
evilbot
evilsite
exdtir
expressionorlist
extdir
externalagent
externalfetcher
extldflags
facebookgo
Factset
fahedouch
fastcgi
FCr
fcrdns
fcvg
fediverse
felsqualle
ffprobe
FFXIV
fhdr
fileglob
filemode
financials
finfos
Firecrawl
firewalls
flagenv
fname
fnames
fonttbl
Fordola
forgejo
forwardauth
fout
fpcast
fptoint
freelist
fsys
fucky
fullchain
fvbommel
gaissmai
Galvus
gclid
gdead
gdeadbee
geoip
geoipchecker
geoiptest
geoipupdate
gha
GHSA
Ghz
gipc
gitea
github
gitlab
gitolite
gitweb
GLM
Goanna
godotenv
goimports
goland
golangci
gomod
goodbot
googlebot
gopsutil
goreleaser
govulncheck
goyaml
GPG
GPT
gptbot
Graphene
grpcprom
grw
gubal
gubalctl
GUBALD
gubaltest
gzw
handrolled
Hashcash
hashrate
hashx
hdr
headermap
healthcheck
healthz
hec
helpdesk
Hetzner
Hext
hmc
homelab
hostable
HSTS
htmlc
htmx
httpdebug
httponly
https
huawei
hypertext
iaskspider
iaso
iat
icacls
ifm
imafdcsu
Imagesift
imgproxy
impressum
inbox
ingressed
inlines
inp
installdir
INSTALLDIR
internets
iocaine
IPASN
iplist
IPTo
iptoasn
irreproducible
isp
iss
isset
iterand
ivh
Jenomis
JGit
jhjj
joho
journalctl
jshelter
JWTs
kagi
kagibot
Kata
Keyfunc
keypair
keypairreloader
KHTML
kinda
Kitesurf
kpr
KUBECONFIG
Lamat
lcj
ldflags
letsencrypt
Lexentale
lfc
lgbt
liberal
licend
licstart
lightpanda
limsa
Linting
linuxbrew
listor
LLU
loadbalancer
Lockdown
logfile
lol
lominsa
Lupis
Lyrenth
MAINT
maintnotifications
malware
maxmind
maxminddb
mba
mcr
memes
metarefresh
metrix
mimi
Minfilia
minica
mistralai
mkmsi
mmaps
mmdb
mmdbtype
mmdbwriter
mnt
Moenbryda
Mojeek
mojeekbot
Moto
mozilla
mqvh
msclkid
msgbox
msibuild
msiexec
msiinfo
msitools
msiversion
mtimes
mudhra
multicore
multifile
multisite
multivalue
mxschmitt
myapp
myclient
mymaster
mypass
myuser
NArg
nbf
Necron
neilotoole
nepeat
netsurf
nginx
nicksnyder
nikandfor
nobots
NOFILE
nolint
NONINFRINGEMENT
nontrapping
nosleep
nullglob
oci
OCOB
ogtag
ogtags
oklch
omgili
omgilibot
openai
opendns
opengraph
openrc
oschwald
oswald
packagecode
pag
pagegen
palemoon
Pangu
Papalymo
paranoidly
parseable
passthrough
Passthru
Patreon
perplexitybot
pgrep
phrik
pidfile
pids
pipefail
pki
pkill
podkova
podman
postcmd
Postel's
Postgre
poststart
prebaked
precmd
privkey
procname
prolocation
promauto
promhttp
proofofwork
pseudoprofound
publicsuffix
purejs
pwcmd
pwuser
qualys
qwant
qwantbot
qwertiko
rac
rawler
rcvar
redhat
redir
redirectscheme
reencode
refactors
reimagining
remoteip
reputational
rereloop
resourced
respawning
retasm
Rhul
rififi
risc
rjack
rlibs
ruleset
runlevels
RUnlock
runtimedir
runtimedirectory
RUSTFLAGS
Ryzen
Samsung
sarif
sas
sasl
screenshots
searchbot
searx
sebest
seccomp
secretplans
selfsigned
Semrush
Seo
Sephiroth
servicesid
setarch
setsebool
setuplistener
shellcheck
shellenv
shirou
shoneypot
shopt
Sidetrade
simprint
Siri
sitemap
sloglint
slogt
sls
sni
snipster
sortorder
soteria
Spambot
spammer
sparkline
specced
Spintax
spintext
spyderbot
srcip
srcs
srv
ssh
stackoverflow
Stargate
startprecmd
stdlib
stoppostcmd
storetest
strcmp
subauthorities
subgrid
subjobs
subr
subrequest
subrequests
subresource
subtest
suminfo
svcctl
SVCNAME
synthient
sysext
sysusers
tagline
tarballs
TARGETDIR
tarrif
taviso
tbn
tbr
techaro
techarohq
techknowlogick
telegrambot
templ
templruntime
tencent
testarea
tetratelabs
Thancred
thoth
thothmock
Tik
Timpibot
TLog
tmpfiles
toplevel
Totolymo
traefik
trimpath
trunc
txn
uberspace
ubuntu
Unbreak
unbreakdocker
Uncacheable
unfeatures
unifiedjs
unintrusive
unipromos
unixhttpd
unmaps
unmarshal
unmarshals
unparseable
unretryable
untallied
untee
updown
uppercased
uppercases
URLHTTP
urlsafe
usecase
usecases
uvensys
uvx
UXP
valkey
Varis
vbscript
Velen
vendored
verifyfcrdns
vhosts
vibeslop
vkbot
VKE
vnd
VPS
Vultr
WAIFU
Warde
wasmtime
wazero
wcg
webapps
weblate
webmaster
webpage
websecure
websites
Webzio
wenet
whois
wildbase
Wilfsunnwyn
Wingate
withthothmock
wixl
wolfbeast
wordpress
workaround
workarounds
workdir
wpbot
xai
XCircle
xeact
xeiaso
xeserv
xesite
xess
xff
XForwarded
xfu
XNG
XOB
XOriginal
xou
XReal
xxhash
Y'shtola
yae
YAMLTo
yandexbot
Yavascript
Yda
yeet
yeetfile
yourdomain
yyz
Zenos
zizmor
zombocom
zos
zst
-36
View File
@@ -1,36 +0,0 @@
#!/usr/bin/env node
// Sorts .vscode/project-words.txt alphabetically (case-insensitive) and
// removes duplicate/blank entries so cspell's dictionary stays tidy.
import { readFileSync, writeFileSync } from "node:fs";
import { fileURLToPath } from "node:url";
import { dirname, join } from "node:path";
const here = dirname(fileURLToPath(import.meta.url));
const target = join(here, "..", "project-words.txt");
const original = readFileSync(target, "utf8");
const words = [
...new Set(
original
.split("\n")
.map((line) => line.trim())
.filter((line) => line.length > 0),
),
];
words.sort(
(a, b) =>
a.localeCompare(b, "en", { sensitivity: "base" }) ||
a.localeCompare(b, "en"),
);
const sorted = words.join("\n") + "\n";
if (sorted === original) {
console.log("project-words.txt already sorted");
process.exit(0);
}
writeFileSync(target, sorted);
console.log(`sorted ${words.length} words in .vscode/project-words.txt`);
-38
View File
@@ -1,38 +0,0 @@
{
"github.copilot.enable": {
"*": false,
"plaintext": false,
"markdown": false,
"mdx": false,
"json": false,
"scminput": false,
"yaml": false,
"go": false,
"zig": false,
"javascript": false,
"properties": false
},
"[markdown]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"editor.wordBasedSuggestions": "off"
},
"[mdx]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"editor.wordBasedSuggestions": "off"
},
"[nunjucks]": {
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 80,
"editor.wordBasedSuggestions": "off"
},
"cSpell.enabledFileTypes": {
"mdx": true,
"md": true
},
"go.lintTool": "golangci-lint-v2",
"go.lintFlags": ["--path-mode=abs", "--fast-only"],
"cSpell.words": ["nolint", "ogtags", "Techaro"],
"cSpell.ignoreWords": ["DONT", "chall", "ogtag"]
}