Assignment

This commit is contained in:
ScottW514
2026-09-08 16:21:37 -04:00
parent 722de73a39
commit c2ca2686a7
26 changed files with 58 additions and 46 deletions
+8 -1
View File
@@ -315,6 +315,12 @@ docstrings, log and console text, commit messages, issue text, and replies.
affiliation disclaimer lives in the site footer only. It is also the user's
responsibility to make sure that they stay within the vendor's terms of
service when they use a feature that calls that vendor's cloud services.
- **Copyright.** Copyright in this project belongs to 514 LLC d/b/a
OpenGlow. Every new source file carries two lines in its header, in the
comment style of the file: `Copyright <year> 514 LLC d/b/a OpenGlow` and
`Written by Scott Wiederhold`. Keep the year, or the year range, that
the file already has. The copyright notices of other holders stay
unchanged.
- **SPDX.** Every new source file carries an `SPDX-License-Identifier` line
under the license of its repository.
@@ -381,7 +387,8 @@ docstrings, log and console text, commit messages, issue text, and replies.
3. For a component that ships in the image: the acceptance catalog covers the
changed behavior, or the commit message says why it has no catalog
consequence.
4. New files carry an SPDX line. Line endings are LF.
4. New files carry the 514 LLC d/b/a OpenGlow copyright, the `Written by`
line, and an SPDX line. Line endings are LF.
5. No em dashes, no British spellings, no workstation paths, no bench
identity, no factory firmware code, no history narrative, no AI
attribution.
+2 -2
View File
@@ -1,5 +1,5 @@
Copyright 2018-2026
Scott Wiederhold <s.e.wiederhold@gmail.com>
Copyright 2018-2026 514 LLC d/b/a OpenGlow
Written by Scott Wiederhold
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+2 -2
View File
@@ -1,8 +1,8 @@
/*
* forgefixture API (see api.h).
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include "api.h"
+2 -2
View File
@@ -16,8 +16,8 @@
* progress. Errors are {"error": "..."}; actions answer with the state
* as GET / shows it.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#pragma once
+2 -2
View File
@@ -7,8 +7,8 @@
* nothing at all otherwise: every line low at boot and after any reset,
* the button only ever pulsed, every request under a key.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include "esp_log.h"
+2 -2
View File
@@ -2,8 +2,8 @@
* forgefixture policy (see policy.h). No ESP-IDF here: test/policy_test.c
* compiles this file with a host compiler.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include "policy.h"
+2 -2
View File
@@ -3,8 +3,8 @@
* so the host test can hold them to account. What a channel is called,
* what a request may ask of it, and how long a button press may last.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#pragma once
+2 -2
View File
@@ -8,8 +8,8 @@
* relays_release(); the button is only ever pulsed, its end set by a
* one-shot timer that is armed before the line goes high.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include "relays.h"
+2 -2
View File
@@ -2,8 +2,8 @@
* forgefixture relays: the three channels on their GPIOs, the button's
* pulse timer, and the enable jumper that gates the button.
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#pragma once
+2 -2
View File
@@ -1,8 +1,8 @@
/*
* forgefixture wifi (see wifi.h).
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include "wifi.h"
+2 -2
View File
@@ -3,8 +3,8 @@
* joined, announces its hostname over DHCP and mDNS, and never sleeps
* the radio (the API answers in milliseconds, not on the next beacon).
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#pragma once
+2 -2
View File
@@ -2,8 +2,8 @@
* forgefixture policy, held to account on the host: gcc -o policy_test
* policy_test.c ../main/policy.c (see run.sh).
*
* (C) Copyright 2026
* Scott Wiederhold, s.e.wiederhold@gmail.com
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*/
#include <stdio.h>
+2 -1
View File
@@ -1,6 +1,7 @@
/*
* app.js - forgetest: the acceptance page
* Copyright (c) 2026 Scott Wiederhold <s.e.wiederhold@gmail.com>
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*
* Acceptance tab + bench tab. State comes from GET /state, polled every
+2 -1
View File
@@ -1,6 +1,7 @@
/*
* help.js - forgetest: the page's help text
* Copyright (c) 2026 Scott Wiederhold <s.e.wiederhold@gmail.com>
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*
* Every explanation the page offers lives here, keyed by the data-help
+2 -1
View File
@@ -1,6 +1,7 @@
<!--
index.html - forgetest: the acceptance page
Copyright (c) 2026 Scott Wiederhold <s.e.wiederhold@gmail.com>
Copyright 2026 514 LLC d/b/a OpenGlow
Written by Scott Wiederhold
SPDX-License-Identifier: MIT
Served at "/" as one self-contained page: page.py inlines every
+2 -1
View File
@@ -1,6 +1,7 @@
/*
* page.css - forgetest: the acceptance page's own styles
* Copyright (c) 2026 Scott Wiederhold <s.e.wiederhold@gmail.com>
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*
* Everything specific to this page, on the tokens theme.css defines
+2 -1
View File
@@ -1,6 +1,7 @@
/*
* theme.css - forgectrl: the OpenGlow theme on top of Bootstrap
* Copyright (c) 2026 Scott Wiederhold <s.e.wiederhold@gmail.com>
* Copyright 2026 514 LLC d/b/a OpenGlow
* Written by Scott Wiederhold
* SPDX-License-Identifier: MIT
*
* Every color the panel uses is a token here, defined once for the light
@@ -1,6 +1,6 @@
#!/bin/sh
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
@@ -2,5 +2,5 @@
# only SRCREV and PV here - the image manifest leaves *-pin.inc out of the
# layer content hash because the component entry already identifies the
# pinned source (forgefirm-image-manifest.bbclass).
SRCREV = "692e4d8ff689d6752b347ca8cc0202f9ad63a320"
PV = "0.1.7"
SRCREV = "24e136ef4970bfe55157299c46f65f0caeeb6419"
PV = "0.1.8"
@@ -1,6 +1,6 @@
#!/bin/sh
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# (C) Copyright 2020-2026
# Scott Wiederhold, s.e.wiederhold@gmail.com
# Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Written by Scott Wiederhold
# https://community.openglow.org
# SPDX-License-Identifier: MIT
#