Skip to content

Commit a5cb20e

Browse files
committed
Updating libmodulemd docs for 33f0dbe64a6f71425e9d0e6c9674f4855b550d21
1 parent b949e94 commit a5cb20e

24 files changed

+1415
-1042
lines changed

libmodulemd/latest/ModulemdModuleStream.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,17 @@ <h2><span class="refentrytitle"><a name="ModulemdModuleStream.top_of_page"></a>M
380380
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/stable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_name</code></em>,
381381
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/stable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_stream</code></em>,
382382
<em class="parameter"><code><a href="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
383+
<div class="warning">
384+
<p><code class="literal">modulemd_module_stream_read_file</code> has been deprecated since version 2.11 and should not be used in newly-written code.</p>
385+
<p>Use <a class="link" href="modulemd-2.0-Modulemd.html#modulemd-read-packager-file" title="modulemd_read_packager_file ()"><code class="function">modulemd_read_packager_file()</code></a> instead.</p>
386+
</div>
383387
<p>Create a <a class="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><span class="type">ModulemdModuleStream</span></a> object from a YAML file.</p>
388+
<p>Note: This function also reads modulemd-packager v2 and v3 documents, which
389+
are transparently returned as <a class="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><span class="type">ModulemdModuleStream</span></a> (V2) objects. However,
390+
if a modulemd-packager v3 document (<a class="link" href="modulemd-2.0-Modulemd.PackagerV3.html#ModulemdPackagerV3"><span class="type">ModulemdPackagerV3</span></a>) is encountered and
391+
it uses buildopts (<a class="link" href="modulemd-2.0-Modulemd.Buildopts.html#ModulemdBuildopts"><span class="type">ModulemdBuildopts</span></a>) in one or more build configurations,
392+
only the buildopts present in the first listed configuration (if any) will be
393+
applied to the returned <a class="link" href="modulemd-2.0-Modulemd.ModuleStreamV2.html#ModulemdModuleStreamV2"><span class="type">ModulemdModuleStreamV2</span></a> object.</p>
384394
<div class="refsect3">
385395
<a name="modulemd-module-stream-read-file.parameters"></a><h4>Parameters</h4>
386396
<div class="informaltable"><table class="informaltable" width="100%" border="0">
@@ -445,7 +455,17 @@ <h2><span class="refentrytitle"><a name="ModulemdModuleStream.top_of_page"></a>M
445455
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/stable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_name</code></em>,
446456
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/stable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *module_stream</code></em>,
447457
<em class="parameter"><code><a href="https://developer.gnome.org/glib/stable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
458+
<div class="warning">
459+
<p><code class="literal">modulemd_module_stream_read_string</code> has been deprecated since version 2.11 and should not be used in newly-written code.</p>
460+
<p>Use <a class="link" href="modulemd-2.0-Modulemd.html#modulemd-read-packager-string" title="modulemd_read_packager_string ()"><code class="function">modulemd_read_packager_string()</code></a> instead.</p>
461+
</div>
448462
<p>Create a <a class="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><span class="type">ModulemdModuleStream</span></a> object from a YAML string.</p>
463+
<p>Note: This function also reads modulemd-packager v2 and v3 documents, which
464+
are transparently returned as <a class="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><span class="type">ModulemdModuleStream</span></a> (V2) objects. However,
465+
if a modulemd-packager v3 document (<a class="link" href="modulemd-2.0-Modulemd.PackagerV3.html#ModulemdPackagerV3"><span class="type">ModulemdPackagerV3</span></a>) is encountered and
466+
it uses buildopts (<a class="link" href="modulemd-2.0-Modulemd.Buildopts.html#ModulemdBuildopts"><span class="type">ModulemdBuildopts</span></a>) in one or more build configurations,
467+
only the buildopts present in the first listed configuration (if any) will be
468+
applied to the returned <a class="link" href="modulemd-2.0-Modulemd.ModuleStreamV2.html#ModulemdModuleStreamV2"><span class="type">ModulemdModuleStreamV2</span></a> object.</p>
449469
<div class="refsect3">
450470
<a name="modulemd-module-stream-read-string.parameters"></a><h4>Parameters</h4>
451471
<div class="informaltable"><table class="informaltable" width="100%" border="0">

libmodulemd/latest/ch01.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.html">Modulemd</a></span><span class="refpurpose"> — User's Guide for libmodulemd</span>
2828
</dt>
2929
<dt>
30+
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.BuildConfig.html">Modulemd.BuildConfig</a></span><span class="refpurpose"> — Internal representation of a module build configuration</span>
31+
</dt>
32+
<dt>
3033
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.Buildopts.html">Modulemd.Buildopts</a></span><span class="refpurpose"> — Provides hints to the build-system on how to build this module.</span>
3134
</dt>
3235
<dt>
@@ -78,6 +81,10 @@
7881
by a modulemd YAML document of version 2.</span>
7982
</dt>
8083
<dt>
84+
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.PackagerV3.html">Modulemd.PackagerV3</a></span><span class="refpurpose"> — Internal representation of the modulemd-packager v3
85+
format.</span>
86+
</dt>
87+
<dt>
8188
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.Profile.html">Modulemd.Profile</a></span><span class="refpurpose"> — Stores profile information for a module stream.</span>
8289
</dt>
8390
<dt>

libmodulemd/latest/ch02.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link rel="home" href="index.html" title="Modulemd Reference Manual">
88
<link rel="up" href="modulemd-2.0.html" title="libmodulemd">
99
<link rel="prev" href="modulemd-2.0-Modulemd.Obsoletes.html" title="Modulemd.Obsoletes">
10-
<link rel="next" href="modulemd-2.0-Modulemd.BuildConfig.html" title="Modulemd.BuildConfig">
10+
<link rel="next" href="modulemd-2.0-modulemd-build-config-private.html" title="modulemd-build-config-private">
1111
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
1212
<link rel="stylesheet" href="style.css" type="text/css">
1313
</head>
@@ -17,14 +17,14 @@
1717
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
1818
<td><a accesskey="u" href="modulemd-2.0.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
1919
<td><a accesskey="p" href="modulemd-2.0-Modulemd.Obsoletes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20-
<td><a accesskey="n" href="modulemd-2.0-Modulemd.BuildConfig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
20+
<td><a accesskey="n" href="modulemd-2.0-modulemd-build-config-private.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
2121
</tr></table>
2222
<div class="chapter">
2323
<div class="titlepage"><div><div><h2 class="title">
2424
<a name="id-1.2.4"></a>Modulemd 2.0 Private Object Methods</h2></div></div></div>
2525
<div class="toc"><dl class="toc">
2626
<dt>
27-
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.BuildConfig.html">Modulemd.BuildConfig</a></span><span class="refpurpose"> — Internal representation of a module build configuration</span>
27+
<span class="refentrytitle"><a href="modulemd-2.0-modulemd-build-config-private.html">modulemd-build-config-private</a></span><span class="refpurpose"></span>
2828
</dt>
2929
<dt>
3030
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.Buildopts-(Private).html">Modulemd.Buildopts (Private)</a></span><span class="refpurpose"><span class="type">ModulemdBuildopts</span> methods that should be used only
@@ -79,8 +79,8 @@
7979
used by internal consumers.</span>
8080
</dt>
8181
<dt>
82-
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.PackagerV3.html">Modulemd.PackagerV3</a></span><span class="refpurpose">Internal representation of the modulemd-packager v3
83-
format.</span>
82+
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.PackagerV3-(Private).html">Modulemd.PackagerV3 (Private)</a></span><span class="refpurpose"><span class="type">ModulemdPackagerV3</span> methods that should only be used by
83+
internal consumers.</span>
8484
</dt>
8585
<dt>
8686
<span class="refentrytitle"><a href="modulemd-2.0-Modulemd.Profile-(Private).html">Modulemd.Profile (Private)</a></span><span class="refpurpose"><span class="type">ModulemdProfile</span> methods that should be used only

0 commit comments

Comments
 (0)