Skip to content

Refresh copyright notices - #844

Merged
kasnder merged 1 commit into
masterfrom
codex/refresh-copyright-notices
Aug 31, 2026
Merged

Refresh copyright notices#844
kasnder merged 1 commit into
masterfrom
codex/refresh-copyright-notices

Conversation

@kasnder

@kasnder kasnder commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

  • refresh Konrad Kollnig source copyright ranges from each file Git history
  • remove the University of Oxford affiliation from owned notices
  • preserve Marcel Bokhorst NetGuard attribution separately
  • render the in-app copyright end year dynamically without changing localized strings

Validation

  • uv run --script scripts/refresh_copyright_headers.py
  • ./gradlew :app:compileGithubDebugJavaWithJavac -q

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T21:31:27.005514Z 3c4c1be PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3c4c1bef1d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/refresh_copyright_headers.py Outdated


def last_updated_year(path: str) -> str:
return git("log", "-1", "--format=%ad", "--date=format:%Y", "--", path)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Exclude header-refresh commits from the update lookup

Once the --write output is committed, this lookup treats that copyright-only commit as each file's latest revision. Running the script on the reviewed tree already exits 1 and proposes changing 16 deliberately preserved 2020/2022 end years to 2026, so the generator is not idempotent and its next invocation destroys the per-file years it just computed. Determine the last substantive revision or otherwise ignore header-refresh commits.

Useful? React with 👍 / 👎.

Comment on lines +21 to +23
KONRAD_HEADER = re.compile(
r"(?P<prefix>Copyright © (?P<start>20\d{2})[–-])20\d{2} Konrad Kollnig"
r"(?: \(University of Oxford\))?"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recognize single-year copyright notices

Because this pattern requires a start year, separator, and end year, the default repository scan ignores single-year notices. In this tree, app/src/main/java/net/kollnig/missioncontrol/dns/DnsProxyServer.java therefore remains Copyright © 2024 Konrad Kollnig (University of Oxford), leaving the affiliation that this refresh is intended to remove. Support the single-year form when matching and preserve it or expand it using the history year.

Useful? React with 👍 / 👎.

@kasnder
kasnder force-pushed the codex/refresh-copyright-notices branch 2 times, most recently from 717ddfe to d9896a0 Compare August 29, 2026 21:53
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kasnder
kasnder force-pushed the codex/refresh-copyright-notices branch from d9896a0 to f92f149 Compare August 31, 2026 19:35
@kasnder
kasnder merged commit 5d26c49 into master Aug 31, 2026
1 of 2 checks passed
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