Skip to content
Snippets Groups Projects

abuild: add postcheck for required license file

Open Clayton Craft requested to merge craftyguy/abuild:postcheck-license-req into master
1 unresolved thread

Some licenses require distributing a copy of the license file[1], this adds a postcheck to make sure that packages of software with one of these licenses is meeting the requirement.

  1. https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#license

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • I think it would be nice to consistently enforce this in aports CI/checks, because right now it's being inconsistently enforced by reviewers who don't always remember to check for this.

    A lot of tests use the "MIT" license which causes this postcheck to fail since they don't install a license file :laughing: ... I can easily fix those tests but I would like to make sure this change is wanted first.

  • Contributor

    Yes

  • nitpick: the license file is not always called LICENSE, sometimes it has an extension (.md, .txt), sometimes it's a different spelling (LICENCE), etc.

Please register or sign in to reply
Loading