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 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 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. 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 - **SPDX.** Every new source file carries an `SPDX-License-Identifier` line
under the license of its repository. 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 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 changed behavior, or the commit message says why it has no catalog
consequence. 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 5. No em dashes, no British spellings, no workstation paths, no bench
identity, no factory firmware code, no history narrative, no AI identity, no factory firmware code, no history narrative, no AI
attribution. attribution.
+2 -2
View File
@@ -1,5 +1,5 @@
Copyright 2018-2026 Copyright 2018-2026 514 LLC d/b/a OpenGlow
Scott Wiederhold <s.e.wiederhold@gmail.com> Written by Scott Wiederhold
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
+2 -2
View File
@@ -1,8 +1,8 @@
/* /*
* forgefixture API (see api.h). * forgefixture API (see api.h).
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "api.h" #include "api.h"
+2 -2
View File
@@ -16,8 +16,8 @@
* progress. Errors are {"error": "..."}; actions answer with the state * progress. Errors are {"error": "..."}; actions answer with the state
* as GET / shows it. * as GET / shows it.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#pragma once #pragma once
+2 -2
View File
@@ -7,8 +7,8 @@
* nothing at all otherwise: every line low at boot and after any reset, * nothing at all otherwise: every line low at boot and after any reset,
* the button only ever pulsed, every request under a key. * the button only ever pulsed, every request under a key.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "esp_log.h" #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 * forgefixture policy (see policy.h). No ESP-IDF here: test/policy_test.c
* compiles this file with a host compiler. * compiles this file with a host compiler.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "policy.h" #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, * 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. * what a request may ask of it, and how long a button press may last.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#pragma once #pragma once
+2 -2
View File
@@ -8,8 +8,8 @@
* relays_release(); the button is only ever pulsed, its end set by a * relays_release(); the button is only ever pulsed, its end set by a
* one-shot timer that is armed before the line goes high. * one-shot timer that is armed before the line goes high.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "relays.h" #include "relays.h"
+2 -2
View File
@@ -2,8 +2,8 @@
* forgefixture relays: the three channels on their GPIOs, the button's * forgefixture relays: the three channels on their GPIOs, the button's
* pulse timer, and the enable jumper that gates the button. * pulse timer, and the enable jumper that gates the button.
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#pragma once #pragma once
+2 -2
View File
@@ -1,8 +1,8 @@
/* /*
* forgefixture wifi (see wifi.h). * forgefixture wifi (see wifi.h).
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include "wifi.h" #include "wifi.h"
+2 -2
View File
@@ -3,8 +3,8 @@
* joined, announces its hostname over DHCP and mDNS, and never sleeps * joined, announces its hostname over DHCP and mDNS, and never sleeps
* the radio (the API answers in milliseconds, not on the next beacon). * the radio (the API answers in milliseconds, not on the next beacon).
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#pragma once #pragma once
+2 -2
View File
@@ -2,8 +2,8 @@
* forgefixture policy, held to account on the host: gcc -o policy_test * forgefixture policy, held to account on the host: gcc -o policy_test
* policy_test.c ../main/policy.c (see run.sh). * policy_test.c ../main/policy.c (see run.sh).
* *
* (C) Copyright 2026 * Copyright 2026 514 LLC d/b/a OpenGlow
* Scott Wiederhold, s.e.wiederhold@gmail.com * Written by Scott Wiederhold
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
#include <stdio.h> #include <stdio.h>
+2 -1
View File
@@ -1,6 +1,7 @@
/* /*
* app.js - forgetest: the acceptance page * 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 * SPDX-License-Identifier: MIT
* *
* Acceptance tab + bench tab. State comes from GET /state, polled every * 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 * 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 * SPDX-License-Identifier: MIT
* *
* Every explanation the page offers lives here, keyed by the data-help * 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 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 SPDX-License-Identifier: MIT
Served at "/" as one self-contained page: page.py inlines every 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 * 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 * SPDX-License-Identifier: MIT
* *
* Everything specific to this page, on the tokens theme.css defines * 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 * 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 * SPDX-License-Identifier: MIT
* *
* Every color the panel uses is a token here, defined once for the light * Every color the panel uses is a token here, defined once for the light
@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
@@ -2,5 +2,5 @@
# only SRCREV and PV here - the image manifest leaves *-pin.inc out of the # only SRCREV and PV here - the image manifest leaves *-pin.inc out of the
# layer content hash because the component entry already identifies the # layer content hash because the component entry already identifies the
# pinned source (forgefirm-image-manifest.bbclass). # pinned source (forgefirm-image-manifest.bbclass).
SRCREV = "692e4d8ff689d6752b347ca8cc0202f9ad63a320" SRCREV = "24e136ef4970bfe55157299c46f65f0caeeb6419"
PV = "0.1.7" PV = "0.1.8"
@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# (C) Copyright 2020-2026 # Copyright 2020-2026 514 LLC d/b/a OpenGlow
# Scott Wiederhold, s.e.wiederhold@gmail.com # Written by Scott Wiederhold
# https://community.openglow.org # https://community.openglow.org
# SPDX-License-Identifier: MIT # SPDX-License-Identifier: MIT
# #