Bug 1947077 - modulemd-validator does not recognize v3 modulemd-packager documents
Summary: modulemd-validator does not recognize v3 modulemd-packager documents
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libmodulemd
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-07 15:53 UTC by Petr Pisar
Modified: 2021-07-27 01:01 UTC (History)
4 users (show)

Fixed In Version: libmodulemd-2.13.0-1.fc35 libmodulemd-2.13.0-1.fc34 libmodulemd-2.13.0-1.fc33
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-13 01:15:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-modularity libmodulemd pull 569 0 None open Add modulemd-validator tests 2021-06-24 15:58:44 UTC

Description Petr Pisar 2021-04-07 15:53:15 UTC
modulemd-validator tool from libmodulemd-2.12.0-1.fc32.x86_64 does not understand <https://github.com/fedora-modularity/libmodulemd/blob/main/yaml_spec/modulemd_packager_v3.yaml>:

$ modulemd-validator perl-CGI.yaml 2>&1 | head
perl-CGI.yaml failed to validate

Failed subdocument (modulemd-packager document ignored while reading into a module index): 
---
document: modulemd-packager
version: 3
data:
  name: perl-CGI
  stream: '4.51'
  summary: Handle Common Gateway Interface requests and responses

Comment 1 Fedora Program Management 2021-04-29 16:47:00 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Ben Cotton 2021-05-25 17:07:29 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 3 Petr Pisar 2021-06-24 15:58:46 UTC
Basic tests for modulemd-validator tool <https://github.com/fedora-modularity/libmodulemd/pull/569>.
Fixes and tests for real issues will follow.

Comment 4 Petr Pisar 2021-06-25 14:36:52 UTC
Basic tests have been merged.
Support for validating modulemd-packager-v3 documents is in progress <https://github.com/ppisar/libmodulemd/commits/v3validator>.

Comment 5 Petr Pisar 2021-07-02 16:46:56 UTC
Support for validating all documents types at <https://github.com/fedora-modularity/libmodulemd/pull/570>.

Comment 6 Petr Pisar 2021-07-09 12:56:06 UTC
modulemd-validator tool of 2.13.0 version provides this features with a new --type modulemd-packager-v3 option.

Comment 7 Fedora Update System 2021-07-09 13:18:15 UTC
FEDORA-2021-da2ec14d7f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-da2ec14d7f

Comment 8 Fedora Update System 2021-07-09 13:18:22 UTC
FEDORA-2021-abcaa79b71 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-abcaa79b71

Comment 9 Fedora Update System 2021-07-10 01:03:53 UTC
FEDORA-2021-abcaa79b71 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-abcaa79b71`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-abcaa79b71

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-07-10 01:49:21 UTC
FEDORA-2021-da2ec14d7f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-da2ec14d7f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-da2ec14d7f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-07-13 01:15:02 UTC
FEDORA-2021-da2ec14d7f has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2021-07-27 01:01:56 UTC
FEDORA-2021-abcaa79b71 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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