From Fedora Project Wiki

Description

Describes a module with respect to its stream and version specified

Setup

  1. Download a nightly image or RC of Fedora 27 Modular Server
  2. Continue to install on a VM or Baremetal
  3. Login from the Cockpit Web-UI or server with the created user or root

How to test

Module Info:

   #  dnf module info module

Modules info with stream:

   #  dnf module info module:stream

Modules info with stream & version:

   #  dnf module module:stream:version

Expected Results

The commands execute without error

  1. The first command prints all the info about a module.
dnf  module info nodejs                                                                                                                                                                                                          
Last metadata expiration check: 3:24:04 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                      
                                                                                                                                                                                                                                                     
Name             : nodejs                                                                                                                                                                                                                            
Stream           : 8 (default)                                                                                                                                                                                                                       
Version          : 20171101135042                                                                                                                                                                                                                    
Profiles         : default development minimal                                                                                                                                                                                                       
Default profiles : default                                                                                                                                                                                                                           
Repo             : fedora-modular-server                                                                                                                                                                                                             
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.                                                                                                                                                                              
Artifacts        : nodejs-1:8.9.0-1.module_7b04e1ed.x86_64                                                                                                                                                                                           
                 : nodejs-devel-1:8.9.0-1.module_7b04e1ed.x86_64                                                                                                                                                                                     
                 : nodejs-docs-1:8.9.0-1.module_7b04e1ed.noarch                                                                                                                                                                                      
                 : nodejs-packaging-0:10-1.module_7b04e1ed.noarch                                                                                                                                                                                    
                 : npm-1:5.5.1-1.8.9.0.1.module_7b04e1ed.2.x86_64
  1. The second command prints all the info a module in specific stream
dnf module info nodejs:6                                                                                                                                                                                                         
Last metadata expiration check: 3:24:30 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                      
                                                                                                                                                                                                                                                     
Name             : nodejs                                                                                                                                                                                                                            
Stream           : 6                                                                                                                                                                                                                                 
Version          : 20170925160215                                                                                                                                                                                                                    
Profiles         : default development minimal                                                                                                                                                                                                       
Default profiles : default                                                                                                                                                                                                                           
Repo: fedora-modular-server                                                                                                                                                                                                             
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.                                                                                                                                                                              
Artifacts        : nodejs-1:6.11.3-2.module_57e455e2.x86_64                                                                                                                                                                                          
                 : nodejs-devel-1:6.11.3-2.module_57e455e2.x86_64                                                                                                                                                                                    
                 : nodejs-docs-1:6.11.3-2.module_57e455e2.noarch                                                                                                                                                                                     
                 : nodejs-packaging-0:10-1.module_57e455e2.noarch                                                                                                                                                                                    
                 : npm-1:3.10.10-1.6.11.3.2.module_57e455e2.x86_64                                                                                                                                                                                   
[root@localhost ~]# dnf module info nodejs:6:20170925160215                                                                                                                                                                                          
Last metadata expiration check: 3:25:13 ago on Fri 10 Nov 2017 03:35:01 AM IST.
  1. The third command prints all the info for a specific stream and version
 dnf module info nodejs:6:20170925160215                                                                                                                                                                                          
Last metadata expiration check: 3:25:13 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                      
                                                                                                                                                                                                                                                     
Name             : nodejs                                                                                                                                                                                                                            
Stream           : 6                                                                                                                                                                                                                                 
Version          : 20170925160215                                                                                                                                                                                                                    
Profiles         : default development minimal                                                                                                                                                                                                       
Default profiles : default                                                                                                                                                                                                                           
Repo             : fedora-modular-server                                                                                                                                                                                                             
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.                                                                                                                                                                              
Artifacts        : nodejs-1:6.11.3-2.module_57e455e2.x86_64                                                                                                                                                                                          
                 : nodejs-devel-1:6.11.3-2.module_57e455e2.x86_64                                                                                                                                                                                    
                 : nodejs-docs-1:6.11.3-2.module_57e455e2.noarch                                                                                                                                                                                     
                 : nodejs-packaging-0:10-1.module_57e455e2.noarch                                                                                                                                                                                    
                 : npm-1:3.10.10-1.6.11.3.2.module_57e455e2.x86_64



|optional=Optionally provide hints for exploratory testing. }}