| Summary: | Показывает несвободные лицензии у firefox и chromium | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Andrey Cherepanov <cas> |
| Component: | appstream-data-generator | Assignee: | Anton Farygin <rider> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | major | ||
| Priority: | P3 | CC: | aen, boyarsh, darktemplaralt, iv, rider, sem |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 34231 | ||
Это metadata_license, а не project_license. https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html Пункт 4.1.3 по указанной ссылке и далее. Добавлю возможность смены metadata_license, а также посмотрю что можно сделать по поводу взятия тэга license из файла rpm. appstream-data-generator-20190712-alt1 -> sisyphus: Fri Jul 12 2019 Aleksei Nikiforov <darktemplar@altlinux> 20190712-alt1 - Updated option descriptions in help message (Closes: #37021). - Added options to configure generation of metadata_license and project_license tags in appdata generated from desktop files (Closes: #37022). - Added options to skip or exclusively process specified desktop files if desktop files convertion is enabled. Спасибо! |
В поле лицензия показывается вместо собственно названия лицензии "Несвободная". Это неправильно. id>firefox.desktop</id> <metadata_license>CC0-1.0</metadata_license> <id>chromium.desktop</id> <metadata_license>CC0-1.0</metadata_license> Почему не берёт из пакета? cas@basalt appstream-data $ rpm -qp /ALT/Sisyphus/x86_64/RPMS.classic/firefox-67.0.4-alt2.x86_64.rpm --qf '%{license}\n' MPL/GPL/LGPL cas@basalt appstream-data $ rpm -qp /ALT/Sisyphus/x86_64/RPMS.classic/chromium-74.0.3729.131-alt1.x86_64.rpm --qf '%{license}\n' BSD-3-Clause and LGPL-2.1+