Skip to content

Standardize copyright headers and licensing#4

Merged
nlaverdure merged 7 commits into
mainfrom
copyright-cleanup
Jun 4, 2026
Merged

Standardize copyright headers and licensing#4
nlaverdure merged 7 commits into
mainfrom
copyright-cleanup

Conversation

@nlaverdure
Copy link
Copy Markdown
Member

@nlaverdure nlaverdure commented Jun 4, 2026

Summary

Audits every file with a Littleton Robotics copyright header against the actual AdvantageKit template originals and assigns accurate copyright statements based on true authorship.

Related: AdvantageKit #197

Three-tier header scheme

Header Files
Littleton-only Main.java, PhoenixUtil.java, SparkUtil.java, LocalADStarAK.java, GyroIO.java, ModuleIO.java, ModuleIOSimWPI.java, ModuleIOTalonFX.java, PhoenixOdometryThread.java — identical or trivially adapted from AKit
Joint (Littleton + TH) Robot.java, Constants.java, Drive.java, DriveCommands.java, Vision.java, Module.java, VisionIO.java, VisionIOPhotonVision.java, VisionIOPhotonVisionSim.java — AKit skeleton with substantial TH additions
TH-only DriveConstants.java, GyroIOBoron.java, VisionFilter.java, VisionConstants.java, and all other TH-originated files — no meaningful AKit lineage

Also replaced outdated GPL-3 headers with BSD-3-Clause, created LICENSE, updated AdvantageKit-License.md, and added a Credits section to README.md.

Test plan

  • ./gradlew build passes
  • No functional code changed — headers only
  • No GPL references remain

🤖 Generated with Claude Code

nlaverdure and others added 7 commits June 4, 2026 16:25
- Replace outdated GPL-3 AdvantageKit-License.md with current BSD 3-Clause text
  (AKit relicensed from GPL-3 to BSD via contributor consent in May 2025)
- Update 11 source files with stale FRC 6328/GPL-3 headers to BSD (Littleton Robotics)
- Add BSD 3-Clause copyright headers to 62 Triple Helix-original source files
- Add LICENSE file (BSD 3-Clause, Triple Helix + Littleton Robotics)
- Add Credits and Licensing section to README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Files with no meaningful AKit lineage get TH-only copyright (Constants,
DriveConstants, GyroIOBoron, VisionFilter, VisionConstants). Files with
substantial TH rewrites over an AKit skeleton get joint copyright (Drive,
DriveCommands, Vision, Module, VisionIO, VisionIOPhotonVision,
VisionIOPhotonVisionSim).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- LocalADStarAK.java: restore Littleton-only header; code body is
  identical to the AKit original (only package path changed)
- Robot.java: upgrade to joint header; AKit skeleton (BuildConstants
  logging, mode switch, Logger.start(), CommandScheduler boilerplate)
  forms the structural foundation
- Constants.java: upgrade to joint header; the Mode enum and
  simMode/currentMode pattern are verbatim from AKit; TH added all
  hardware constants around it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The root LICENSE file now covers both Littleton Robotics and Triple
Helix copyright. Update the README link accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nlaverdure nlaverdure merged commit 43faa8e into main Jun 4, 2026
2 checks passed
@nlaverdure nlaverdure deleted the copyright-cleanup branch June 4, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant