From 2ffdc7d90a1e7fd72a0bea97661cd370f5ead2bb Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Apr 25 2019 06:49:35 +0000 Subject: remove upstream modulemd link Upstream has new features that are not necessarily ready for use in Feedora — by either development readiness or policy restrictions. People should refer to this page as guidelines instead. --- diff --git a/modules/ROOT/pages/making-modules/defining-modules.adoc b/modules/ROOT/pages/making-modules/defining-modules.adoc index 70ec898..58e9417 100644 --- a/modules/ROOT/pages/making-modules/defining-modules.adoc +++ b/modules/ROOT/pages/making-modules/defining-modules.adoc @@ -1,17 +1,6 @@ = Defining modules in modulemd -Simply put, a **https://github.com/fedora-modularity/libmodulemd/blob/master/spec.v2.yaml[modulemd] is a file that defines which packages get built for which releases**. It includes a summary and a description, a list of source RPM packages, build information i.e. build order and macros, and usage information i.e. installation profiles and licenses. - -== Getting started - -To get started quickly, you can use the `fedmod` tool (from the package of the same name) to create a skeletal modulemd file for your module based on one or more source packages, e.g.:: -[source,shell] ----- -$ fedmod fetch-metadata -$ fedmod rpm2module dwm > dwm.yaml ----- - -If you specify more than one package it will fill in the summary and description fields from their counterparts in the first specified package. +Simply put, **modulemd is a file that defines which packages get built for which releases**. It includes a summary and a description, a list of source RPM packages, build information i.e. build order and macros, and usage information i.e. installation profiles and licenses. == A typical modulemd example @@ -448,3 +437,15 @@ data: rationale: Web UI for the first-package. ref: latest ---- + +== Using fedmod + +To get started quickly, you can use the `fedmod` tool (from the package of the same name) to create a skeletal modulemd file for your module based on one or more source packages, e.g. + +[source,shell] +---- +$ fedmod fetch-metadata +$ fedmod rpm2module dwm > dwm.yaml +---- + +If you specify more than one package it will fill in the summary and description fields from their counterparts in the first specified package.