Skip to content

Use verbatim Apache-2.0 licence text so GitHub and Zenodo detect it - #44

Open
annefou wants to merge 1 commit into
mainfrom
fix/apache-license-verbatim
Open

annefou wants to merge 1 commit into
mainfrom
fix/apache-license-verbatim

Conversation

@annefou

@annefou annefou commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Problem

LICENSE was a 631-byte summary of Apache-2.0 rather than the licence text itself. GitHub's detector matches on exact text, so it reports:

healpix-plot   license.spdx_id = NOASSERTION

Zenodo takes the licence from GitHub's detected licence, and when that is NOASSERTION it falls back to its own default, CC-BY-4.0. So the published record for v2026.07.0 (10.5281/zenodo.21723749) currently states a content licence for software.

The three sibling repos ship the full verbatim text and are detected correctly:

Repo LICENSE bytes GitHub detects Zenodo records
healpix-resample 11357 Apache-2.0 apache2.0
healpix-plot 631 NOASSERTION cc-by-4.0
healpix-analyse 11357 Apache-2.0 apache2.0
healpix-geo 11357 Apache-2.0 apache2.0

Change

Replaces LICENSE with the same verbatim Apache-2.0 file used by the other three repos. The copyright holder line is unchanged — it still reads Copyright 2026, Plotting healpix data with matplotlib and cartopy developers. Apart from that line the file is byte-identical to the sibling repos' LICENSE.

No code, packaging or metadata changes; pyproject.toml already declares license = { text = "Apache-2.0" }.

Follow-up not covered here

This fixes detection for future releases. The existing Zenodo record still says CC-BY-4.0 and needs a manual metadata edit in the Zenodo UI (editing metadata does not change the DOI).

🤖 Generated with Claude Code

GitHub's licence detector matches on exact licence text. The previous
LICENSE was a 631-byte summary, so GitHub reported NOASSERTION and
Zenodo fell back to its own default of CC-BY-4.0 -- a content licence,
not a software licence -- on the v2026.07.0 record (10.5281/zenodo.21723749).

Replace it with the full verbatim Apache-2.0 text already used by
healpix-resample, healpix-analyse and healpix-geo, all three of which
GitHub detects correctly. The copyright holder line is unchanged.
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