Skip to content

chore(license): adopt the upstream 9.4 licence and per-file modification notices - #69

Merged
juliusknorr merged 13 commits into
mainfrom
licence/9.4
Dec 4, 2026
Merged

juliusknorr merged 13 commits into
mainfrom
licence/9.4

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Upstream ONLYOFFICE relicensed with 9.4: AGPL-3.0-only with new additional terms. The logo clause is dropped, modified versions must say so and keep a record of changes, and the About must show the notices. This PR moves the repo to that licence and adds the required notices.

  • Restore Ascensio's original file headers that an earlier commit had stripped
  • Cherry-pick upstream's 9.4 licence commits (-x, licence files and headers only, no code)
  • Mark every file we changed with "Modified by Euro-Office contributors, see MODIFICATIONS.txt" and SPDX-FileCopyrightText: Euro-Office contributors after the upstream header; files we added get the SPDX pair only
  • REUSE.toml for files that can't hold a notice (vendored, generated)
  • MODIFICATIONS.txt: a note linking the git history. Release builds generate the full dated record
  • .github/workflows/licence.yml: gate PRs and default-branch pushes (missing or broken notices, changed licence files)
  • macOS: stage the Chromium credits from the CEF distribution
  • README: ONLYOFFICE attribution and licence terms

Attribution wording: "based on the original ONLYOFFICE software developed by Ascensio System SIA".

Tests: the licence gate passes on this branch, modrecord --note --check passes. No repo licence tests here beyond the gate. The Licence notices check fails until Euro-Office/.github#41 lands.

Land together with: Euro-Office/core#536, Euro-Office/sdkjs#312, Euro-Office/web-apps#524, Euro-Office/server#96, Euro-Office/sdkjs-forms#9, Euro-Office/desktop-apps#158, Euro-Office/document-server-package#41, Euro-Office/document-server-proxy#3, Euro-Office/Docker-DocumentServer#2, Euro-Office/DesktopEditors#434, Euro-Office/DocumentServer#641

juliusknorr and others added 8 commits December 3, 2026 12:52
Revert the Section 7 header strip from 43943a3 on the files that
still exist upstream, so upstream's header update applies on top
unchanged.

ChromiumBasedEditors/app/install/deb/onlyoffice-desktopeditor/debian/copyright
keeps its current text: upstream deleted the file.

This reverts part of commit 43943a3.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
(cherry picked from commit a4c450d)
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Co-authored-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com>
Co-committed-by: Alexander Trofimov <alexander.trofimov@onlyoffice.com>
(cherry picked from commit 8f6d24b)
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Declares the licence of files that must not get our notices: vendored and generated code and file types that can't hold a comment. The header gates skip annotated paths.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Runs the header gates of licence-modification-tooling through the organization's licence action (workflow template licence.yml) on pull requests to and pushes of main.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: CI config, proven by running the gate commands locally
Copies CREDITS.html from the CEF binary distribution into the staging dir as LICENSES.chromium.html, so the app bundle can ship it next to 3DPARTYLICENSE.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
The organization licence action no longer takes a token: the tooling is public. The workflow matches the .github template again.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Same wording as the DocumentServer and DesktopEditors READMEs: the attribution to Ascensio System SIA, the Section 7 additional terms in LICENSE and a pointer to MODIFICATIONS.txt.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: README text only
Stamped with licence-modification-tooling 624f487 (relicence.sh).

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
@juliusknorr juliusknorr changed the title chore(license): adopt the ONLYOFFICE 9.4 licence and per-file modification notices chore(license): adopt the upstream 9.4 licence and per-file modification notices Dec 3, 2026
@juliusknorr
juliusknorr marked this pull request as ready for review December 3, 2026 18:45

@rikled rikled left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Only question: licence.yml runs fork PRs on [self-hosted, ubuntu-latest] while our other PR workflows use GitHub-hosted runners. Intended?

The gate only needs git and Python 3.11+, so it does not need the few
self-hosted runners, and fork PRs then don't run on them.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: CI config, proven by the licence check on this PR
@juliusknorr

Copy link
Copy Markdown
Member Author

Not intended, switched to ubuntu-latest, thanks.

Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5
No-test: README change only
@juliusknorr
juliusknorr merged commit 2402bf2 into main Dec 4, 2026
5 checks passed
@juliusknorr
juliusknorr deleted the licence/9.4 branch December 4, 2026 14:45
@juliusknorr juliusknorr added the upstream Also affects ONLYOFFICE upstream, or comes from an upstream change label Dec 4, 2026
@github-project-automation github-project-automation Bot moved this from 📄 To do to ☑️ Done in 📄 Euro-Office team Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore desktop Desktop apps on all operating systems upstream Also affects ONLYOFFICE upstream, or comes from an upstream change

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

3 participants