Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gnome-software gnome-software
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 229
    • Issues 229
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gnome-softwaregnome-software
  • Issues
  • #1626
Closed
Open
Issue created Feb 04, 2022 by Will Thompson@wjtDeveloper

Display human-readable license names

Currently the license tile for Free applications appears to display the raw SPDX identifier from the appdata. Here for example the otherwise human-readable text includes the string "GPL-3.0-or-later":

Capture_d_écran_de_2022-02-04_14-02-03

It might be nice to use a human-readable name for the license. libappstream does not appear to provide this, though the data does exist, e.g. https://github.com/spdx/license-list-data/blob/master/json/licenses.json

libappstream does provide a function to get a URL for more details about the license: https://www.freedesktop.org/software/appstream/docs/api/appstream-as-spdx.html#as-get-license-url

One issue here may be translations, since the SPDX database does not translate license names. In the example above, the human-readable name for the license available is “GNU General Public License v3.0 or later”, which might look strange when the surrounding text is not in English. (However the SPDX codes already include English words.)

Adding the full English name, and a link to the license details, might look like this:

Capture_d_écran_de_2022-02-04_14-09-00

Assignee
Assign to
Time tracking