Bug 1908373 - RFE: Support for susedata.xml in repodata
Summary: RFE: Support for susedata.xml in repodata
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: dnf-community
TreeView+ depends on / blocked
 
Reported: 2020-12-16 14:47 UTC by Neal Gompa
Modified: 2024-12-09 22:32 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-12-09 15:44:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example susedata.xml from openSUSE Tumbleweed non-oss repo (60.62 KB, application/xml)
2020-12-16 14:51 UTC, Neal Gompa
no flags Details
Example susedata.es.xml from openSUSE Tumbleweed non-oss repo (4.32 KB, application/xml)
2020-12-16 14:52 UTC, Neal Gompa
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github rpm-software-management dnf5 issues 1945 0 None open RFE: Support for susedata.xml in repodata 2024-12-09 22:32:52 UTC

Description Neal Gompa 2020-12-16 14:47:24 UTC
Description of problem:
Zypper supports an extension to rpm-md known as the susedata.(lang.)xml file.

This extension offers a number of extra attributes, as noted here:

* https://pagure.io/rpm-metadata/blob/master/f/suse/yum-schema/susedata.rnc
* https://pagure.io/rpm-metadata/blob/master/f/suse/yum-schema/susedata.rng

This extra repodata file offers two main properties:

* A way to ship proprietary licenses for packages that need explicit user agreement via the EULA tag when the package is requested (susedata.xml)
* A way to ship translations of RPM tags (in susedata.$LANG.xml)

In order to make it possible for SUSE distributions to ship DNF instead of Zypper, we need this data handled if it exists in the repodata, and support for signaling EULA stuff out to frontends (e.g. PackageKit, which *does* support this with the Zypp backend too).

Comment 1 Neal Gompa 2020-12-16 14:51:18 UTC
Created attachment 1739663 [details]
Example susedata.xml from openSUSE Tumbleweed non-oss repo

Comment 2 Neal Gompa 2020-12-16 14:52:27 UTC
Created attachment 1739664 [details]
Example susedata.es.xml from openSUSE Tumbleweed non-oss repo

Comment 3 Neal Gompa 2020-12-16 14:52:51 UTC
I've attached some example metadata files to show what this looks like

Comment 4 Neal Gompa 2024-12-07 14:43:29 UTC
DNF5 is now where new feature development occurs, so moving this bug to there.

Comment 5 Petr Pisar 2024-12-09 15:44:04 UTC
I think you bark on a wrong tree. Fedora is not the right place for solving integration with SuSE distribution. I recommend you instead visiting DNF5 upstream <https://github.com/rpm-software-management/dnf5>.

Comment 6 Neal Gompa 2024-12-09 22:32:53 UTC
Migrated: https://github.com/rpm-software-management/dnf5/issues/1945


Note You need to log in before you can comment on or make changes to this bug.