Updating OS Package metadata: license and description#49793
Updating OS Package metadata: license and description#49793doggydogworld merged 6 commits intomasterfrom
Conversation
fheinecke
left a comment
There was a problem hiding this comment.
LGTM provided that this builds/releases without issue
| # extra package information for linux | ||
| MAINTAINER="info@goteleport.com" | ||
| LICENSE="Apache-2.0" | ||
| LICENSE="AGPL-3.0-or-later" |
There was a problem hiding this comment.
The packages we distribute are governed by build.assets/LICENSE-community, NOT by AGPLv3.
We should change this (is there a way to use a custom license in a package?), and we should also be including a copy of LICENSE-community in the package itself.
There was a problem hiding this comment.
Ah ok the task we had wasn't entirely clear on what was necessary. Thanks for the additional context.
We should be able to use a custom license. Afaik this just takes in an arbitrary string. Unfortunately there's not really a way to query for the contents of the license itself. Maybe we could provide a link to the license in the description?
Adding the LICENSE-community should be easy enough though. Just need to update build-archive to include it in the tarball.
There was a problem hiding this comment.
I suppose its even a little more complicated than that, as the -ent packages are not governed by LICENSE-community.
|
Dev build: https://github.com/gravitational/teleport.e/actions/runs/12205154596#artifacts TarballRPMdeb |
|
@doggydogworld See the table below for backport results.
|
…49793) * Updating OS Package metadata: license and description * Adding community license to tarball * Updating build-package to include license for OSS package metadata * Fixing some interpolation errors * Removing unecessary line * Cleaning up the metadata formatting
Updates our OS packages (.rpm, .deb, etc) metadata to be up-to-date. Previous to this change it contained out-of-date information for our license and description.
changelog: Our OSS OS packages (rpm, deb, etc) now have up-to-date metadata.