Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -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).

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
8 changes: 4 additions & 4 deletions scripts/check-dco.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <contact@intentlabs.dev>\n";
const message = "feat: x\n\nSigned-off-by: The Architect <hello@ingestron.io>\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 <contact@intentlabs.dev> \n";
const message = "feat: x\n\nsigned-off-by: The Architect <hello@ingestron.io> \n";
assert.deepEqual(unsignedCommits([commit("a2", message)]), []);
});

Expand All @@ -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 <contact@intentlabs.dev>\n";
const message = "feat: x\n\nCo-authored-by: The Architect <hello@ingestron.io>\n";
assert.deepEqual(unsignedCommits([commit("a4", message)]), ["a4"]);
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/licence-fields.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
});
11 changes: 8 additions & 3 deletions test/standards-and-teams.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<day>"));
expect(withoutStart(copied)).toEqual(withoutStart(standard));
expect(start).toContain(`\`${name}/standard.yaml\` starts with \`# From ${path}\``);
});
});
Expand Down
Loading