project, docs: the linter goes
The Catcrafts house-style rules (Crafter.LintRules) rode in project.cpp as a dependency crafter-build cloned once and built on every load; the tree never passed them (111 findings on the 1.1.0 tree, 156 on an early freeze of this range (2e87e26), 100 of the 156 the shared naming rule's, each for a variable whose name begins with a capital — the fp6 journal's lint captures, lint-tip-2e87e26), CI never ran them, and AGENTS.md kept a census nobody acted on. Out: the dependency, the import and the five AddRules calls, the lint-disable comments in 25 files and on 4 lines, §4.2 and the census of §6 — now "Code style", the three rules that were never the linter's; the cross-compiling section becomes §4.2 and its six citations — §4.1's sysroot sentence, §9.1, the CI workflow, the APKBUILD, build-package.sh, make-sysroot.sh — follow. Jorijn, 2026-10-17: "just remove the linter, we are ignoring it anyway".
This commit is contained in:
parent
d0cfaf712d
commit
910e2594a0
30 changed files with 17 additions and 95 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
# Maintainer: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
||||
# Binary packaging: wraps a crafter-build binary cross-compiled per the
|
||||
# cross-compiling flow of AGENTS.md §4.3 into a proper apk — used by this repo's
|
||||
# cross-compiling flow of AGENTS.md §4.2 into a proper apk — used by this repo's
|
||||
# package CI (packaging/build-package.sh, which also seds pkgver from
|
||||
# implementations/main.cpp) and runnable by hand. The source tarball is
|
||||
# produced by packaging/make-bin-tarball.sh; the desktop/preset files and
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
# SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
# CI package build: cross-compile imsd for aarch64 with crafter-build (the
|
||||
# cross-compiling flow of AGENTS.md §4.3), run the test suite natively, and package
|
||||
# cross-compiling flow of AGENTS.md §4.2), run the test suite natively, and package
|
||||
# the result via packaging/APKBUILD.binary. Expects an x86_64 Alpine
|
||||
# environment with root — the workflow runs it in an alpine:edge job
|
||||
# container on the privileged `flatpak` runner: crafter-build is the
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# packaging/make-sysroot.sh [dir] # default: ~/.cache/imsd/sysroot-aarch64-alpine
|
||||
# crafter-build -- --target=aarch64-alpine-linux-musl --sysroot=<dir> \
|
||||
# --march=… --mtune=… # the phone's values: AGENTS.md §4.3
|
||||
# --march=… --mtune=… # the phone's values: AGENTS.md §4.2
|
||||
set -eu
|
||||
|
||||
SYSROOT="${1:-$HOME/.cache/imsd/sysroot-aarch64-alpine}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue