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
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Aka unit tests — the AKAv1-MD5 digest against a vector cross-computed
|
||||
// with the Python reference, identity assembly, the qmicli/mmcli text
|
||||
// parsers (fed real device output), and the AUTHENTICATE APDU build/parse.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Engine unit tests — the call state machine driven through recorded
|
||||
// network dialogs. Outgoing: reliable-18x PRACK, 2xx ACK + media start,
|
||||
// media-plane far-end hangup, local hang-up (CANCEL before answer, BYE
|
||||
|
|
@ -1256,7 +1255,7 @@ int main() {
|
|||
auto findSms = [](const std::vector<SmsAction>& a, SmsAction::Type t) -> const SmsAction* { for (const auto& x : a) if (x.type == t) return &x; return nullptr; };
|
||||
auto bodyRp = [](std::string_view msg) {
|
||||
std::string_view body = imsd::sip::Body(msg);
|
||||
return ParseRp(std::span<const std::uint8_t>(reinterpret_cast<const std::uint8_t*>(body.data()), body.size()), false); // lint-disable-line no-char-pointer
|
||||
return ParseRp(std::span<const std::uint8_t>(reinterpret_cast<const std::uint8_t*>(body.data()), body.size()), false);
|
||||
};
|
||||
auto final = [](std::string_view callid, int code, std::string_view text) { return std::format("SIP/2.0 {} {}\r\nCall-ID: {}\r\nCSeq: 1 MESSAGE\r\nContent-Length: 0\r\n\r\n", code, text, callid); };
|
||||
const auto kpnSc = *imsd::util::FromHex("07911356131313f3");
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Ipsec unit tests — the `ip xfrm` setup command sequence (byte-exact
|
||||
// argv), the warm-SA reader, fed `ip xfrm state`/`policy` output in the
|
||||
// exact shape captured from a registered FP6 (addresses/keys synthetic), and
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Messages unit tests — the initial and the protected REGISTER and the INVITE
|
||||
// compared byte-for-byte against a reference message cross-generated from the
|
||||
// Python VoLTE stack with pinned tags/branches/SPIs; their variants and the other
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Qmi unit tests — the request bytes imsd-pcscf sends (pinned to the
|
||||
// bytes the dev-phone probe sent, which are protocol only), a Get Current
|
||||
// Settings answer in the exact TLV shape the Fairphone 6's modem returned
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Sdp unit tests — offer building (byte-exact) and answer parsing
|
||||
// (payload-type preference, octet-align, address family). The IPv6 answer
|
||||
// mirrors what a live commercial IMS core actually returns (AMR-WB pt=97
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Sip unit tests — header access, status-line parsing, granted-expires
|
||||
// extraction, caller-identity extraction, and the TCP frame buffer (split
|
||||
// delivery, keepalive pongs, pipelined messages). These pin the module's
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Sms unit tests — the short message codecs byte for byte: the GSM
|
||||
// 7-bit alphabet, its extension table and the septet packing (the classic
|
||||
// "hellohello" vector), UCS-2, the address fields, SMS-SUBMIT (the classic
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
||||
|
||||
// lint-disable-file fixed-width-types
|
||||
// Imsd:Util unit tests — MD5 against the RFC 1321 test suite, base64/hex
|
||||
// decoding, host/port formatting, the RFC 5952 canonical IPv6 text and the
|
||||
// address-list parser, and the deterministic-seed RNG. MD5 and
|
||||
|
|
|
|||
Loading…
Reference in a new issue