Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rpmmod package type #199

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mprpic
Copy link
Contributor

@mprpic mprpic commented Oct 28, 2022

RPM modules are a concept in the RHEL/Fedora/CentOS land that allow for grouping of arbitrary RPMs. These modules have their own naming scheme and can be identified using their own purl type. The proposal here is to call that type rpmmod.

More about RPM modules can be found in either of these sources:

More about the naming convention for RPM modules can also be found here:

https://docs.fedoraproject.org/en-US/modularity/core-concepts/nsvca/#_nsvca_definition

An example of an the NodeJS 14 module on Fedora 36:

$ cat /etc/redhat-release
Fedora release 36 (Thirty Six)
$ dnf module --repo=fedora-modular info nodejs:14
Name             : nodejs
Stream           : 14
Version          : 3620220301144317
Context          : 5e5ad4a0
Architecture     : x86_64
Profiles         : common [d], development, minimal
Default profiles : common
Repo             : fedora-modular
Summary          : Javascript runtime
Description      : Node.js is a platform built on Chrome''s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Requires         : platform:[f36]
Artifacts        : c-ares-0:1.17.2-2.module_f36+13930+82e25793.src
                 : c-ares-0:1.17.2-2.module_f36+13930+82e25793.x86_64
                 : c-ares-debuginfo-0:1.17.2-2.module_f36+13930+82e25793.x86_64
                 [...list truncated...]

@mprpic mprpic changed the title Add rpmmod package type Add rpmmod package type Oct 28, 2022
pombredanne
pombredanne previously approved these changes Oct 30, 2022
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Thanks!
Is there a way to find installed modules on a Fedora system?

@mprpic
Copy link
Contributor Author

mprpic commented Oct 31, 2022

Is there a way to find installed modules on a Fedora system?

There is! dnf module list --installed. Alternatively, running just dnf module list will list all available modules and tag them with [d]efault, [e]nabled, [x]disabled, [i]nstalled.

PURL-TYPES.rst Outdated Show resolved Hide resolved
PURL-TYPES.rst Show resolved Hide resolved
RPM modules are a concept in the RHEL/Fedora/CentOS land that allow for
grouping of arbitrary RPMs. These modules have their own naming scheme and
can be identified using their own purl type.
@mprpic
Copy link
Contributor Author

mprpic commented Feb 7, 2023

@iamwillbar @pombredanne Is there anything else blocking the merge of this change?

@mprpic mprpic requested a review from iamwillbar May 23, 2023 19:09
@stevespringett stevespringett added the PURL type definition Non-core definitions that describe and standardize PURL types label Jul 19, 2023
@mrizzi
Copy link

mrizzi commented Oct 3, 2023

Hi, what is the situation with this review? Could this be merged please?

@mprpic
Copy link
Contributor Author

mprpic commented Jan 16, 2024

Any update on merging this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PURL type definition Non-core definitions that describe and standardize PURL types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants