diff --git a/NOTICE b/NOTICE index 383b0c3..724010c 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Ingestron -Copyright 2026 Otrera Limited, trading as IntentLabs +Copyright 2026 The Ingestron Authors This product is licensed under the Apache License, Version 2.0 (see LICENSE). diff --git a/README.md b/README.md index 6743004..65071bf 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ Questions and feedback: hello@ingestron.io. Security reports: security@ingestron Licensed under the [Apache License 2.0](LICENSE); see [NOTICE](NOTICE). The fonts in `public/fonts/` are under the SIL Open Font License 1.1, with their -licence texts beside them. Made by [IntentLabs](https://intentlabs.dev). +licence texts beside them. diff --git a/scripts/check-dco.test.mjs b/scripts/check-dco.test.mjs index 0d703e6..52de3a5 100644 --- a/scripts/check-dco.test.mjs +++ b/scripts/check-dco.test.mjs @@ -4,16 +4,16 @@ import test from "node:test"; import { unsignedCommits } from "./check-dco.mjs"; -const author = { author: "The Architect", email: "contact@intentlabs.dev", parents: 1 }; +const author = { author: "The Architect", email: "hello@ingestron.io", parents: 1 }; const commit = (sha, message, extra = {}) => ({ sha, message, ...author, ...extra }); test("accepts a sign-off that matches the author", () => { - const message = "feat: x\n\nSigned-off-by: The Architect \n"; + const message = "feat: x\n\nSigned-off-by: The Architect \n"; assert.deepEqual(unsignedCommits([commit("a1", message)]), []); }); test("ignores the case of the trailer and trailing spaces", () => { - const message = "feat: x\n\nsigned-off-by: The Architect \n"; + const message = "feat: x\n\nsigned-off-by: The Architect \n"; assert.deepEqual(unsignedCommits([commit("a2", message)]), []); }); @@ -23,7 +23,7 @@ test("rejects a sign-off by someone other than the author", () => { }); test("does not count Co-authored-by as a sign-off", () => { - const message = "feat: x\n\nCo-authored-by: The Architect \n"; + const message = "feat: x\n\nCo-authored-by: The Architect \n"; assert.deepEqual(unsignedCommits([commit("a4", message)]), ["a4"]); }); diff --git a/scripts/licence-fields.test.mjs b/scripts/licence-fields.test.mjs index 87b97e3..c429fc1 100644 --- a/scripts/licence-fields.test.mjs +++ b/scripts/licence-fields.test.mjs @@ -32,5 +32,5 @@ test("LICENSE is the Apache License 2.0", () => { }); test("NOTICE names the copyright holder", () => { - assert.match(read("NOTICE"), /Copyright 2026 Otrera Limited, trading as IntentLabs/); + assert.match(read("NOTICE"), /Copyright 2026 The Ingestron Authors/); }); diff --git a/test/standards-and-teams.test.ts b/test/standards-and-teams.test.ts index e2063b6..e729e8a 100644 --- a/test/standards-and-teams.test.ts +++ b/test/standards-and-teams.test.ts @@ -9,11 +9,14 @@ import { join } from "node:path"; import { run } from "@ingestron/cli"; import { createElement } from "react"; import { renderToStaticMarkup } from "react-dom/server"; -import { describe, expect, it } from "vitest"; +import { describe, expect, it, vi } from "vitest"; import { parse } from "yaml"; import { PackNaming } from "../components/reference/pack-defaults"; import { exampleFolder, exampleRequest, requestSections } from "../lib/examples"; import { packName, packs } from "../lib/reference"; + +// Each test runs the command line against a copy of a sample, which takes seconds on a busy machine. +vi.setConfig({ testTimeout: 30_000 }); import { cli, command, @@ -158,9 +161,11 @@ describe("how-to/configure-a-standard", () => { const name = init.split(" ")[2]!; const copied = readFileSync(join(cwd, name, "standard.yaml"), "utf8"); // The standard, after a first line naming where it came from; init writes it back as - // YAML, so only its formatting may differ. + // YAML, so only its formatting may differ, and each method's first window, which starts + // on the day the project is created. expect(copied.split("\n")[0]).toBe(`# From ${path}`); - expect(parse(copied)).toEqual(parse(standard)); + const withoutStart = (yaml: string) => parse(yaml.replace(/^(\s*start: ).+$/gm, "$1")); + expect(withoutStart(copied)).toEqual(withoutStart(standard)); expect(start).toContain(`\`${name}/standard.yaml\` starts with \`# From ${path}\``); }); });