Skip to content

Commit

Permalink
Deploying to gh-pages from @ a5c276c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaverga committed Dec 9, 2023
1 parent aa08ace commit f260457
Show file tree
Hide file tree
Showing 49 changed files with 1,205 additions and 374 deletions.
2 changes: 1 addition & 1 deletion develop/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: ff52ba886ed049dc8b051e82452676c8
config: d5089712adbb4def32d29c57c53eefdf
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified develop/_images/database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions develop/_modules/bodhi/client/bindings.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.client.bindings &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.client.bindings &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions develop/_modules/bodhi/messages/schemas/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.messages.schemas.base &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.messages.schemas.base &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.messages.schemas.buildroot_override &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.messages.schemas.buildroot_override &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions develop/_modules/bodhi/messages/schemas/compose.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.messages.schemas.compose &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.messages.schemas.compose &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down
4 changes: 2 additions & 2 deletions develop/_modules/bodhi/messages/schemas/errata.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.messages.schemas.errata &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.messages.schemas.errata &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down
125 changes: 123 additions & 2 deletions develop/_modules/bodhi/messages/schemas/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>bodhi.messages.schemas.update &#8212; bodhi 7.2.2 documentation</title>
<title>bodhi.messages.schemas.update &#8212; bodhi 8.0.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../../../../_static/alabaster.css?v=71a681cb" />
<script src="../../../../_static/documentation_options.js?v=9fcf24ae"></script>
<script src="../../../../_static/documentation_options.js?v=f663eb4a"></script>
<script src="../../../../_static/doctools.js?v=888ff710"></script>
<script src="../../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<link rel="index" title="Index" href="../../../../genindex.html" />
Expand Down Expand Up @@ -1143,6 +1143,127 @@ <h1>Source code for bodhi.messages.schemas.update</h1><div class="highlight"><pr
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">new_line</span><span class="o">.</span><span class="n">join</span><span class="p">([</span><span class="n">b</span><span class="p">[</span><span class="s1">&#39;nvr&#39;</span><span class="p">]</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="n">b</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="bp">self</span><span class="o">.</span><span class="n">body</span><span class="p">[</span><span class="s1">&#39;artifact&#39;</span><span class="p">][</span><span class="s1">&#39;builds&#39;</span><span class="p">]])</span><span class="si">}</span><span class="s2"> &quot;</span><span class="p">)</span></div>
</div>



<div class="viewcode-block" id="UpdateReadyForTestingV3">
<a class="viewcode-back" href="../../../../server_api/messages/update.html#bodhi.messages.schemas.update.UpdateReadyForTestingV3">[docs]</a>
<span class="k">class</span> <span class="nc">UpdateReadyForTestingV3</span><span class="p">(</span><span class="n">UpdateMessage</span><span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Sent when an update is ready to be tested. Simplified version.</span>

<span class="sd"> Specifically, this message is sent:</span>

<span class="sd"> * When an update is created</span>
<span class="sd"> * When an update is edited and its builds change</span>
<span class="sd"> * When a &quot;re-trigger tests&quot; request is made via the web UI or API</span>

<span class="sd"> These are the points where we expect that automated systems will</span>
<span class="sd"> test the update.</span>

<span class="sd"> Inherits from UpdateMessage and only contains as much extra</span>
<span class="sd"> information (in the &#39;artifact&#39; dict) as the Fedora CI schedulers</span>
<span class="sd"> actually need.</span>
<span class="sd"> &quot;&quot;&quot;</span>

<span class="n">body_schema</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">&#39;id&#39;</span><span class="p">:</span> <span class="sa">f</span><span class="s1">&#39;</span><span class="si">{</span><span class="n">SCHEMA_URL</span><span class="si">}</span><span class="s1">/v1/bodhi.update.status.testing#&#39;</span><span class="p">,</span>
<span class="s1">&#39;$schema&#39;</span><span class="p">:</span> <span class="s1">&#39;http://json-schema.org/draft-04/schema#&#39;</span><span class="p">,</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Schema for message sent when an update is ready for testing&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;object&#39;</span><span class="p">,</span>
<span class="s1">&#39;properties&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;agent&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;string&#39;</span><span class="p">,</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Re-trigger request: name of requester, trigger on push: &quot;bodhi&quot;.&#39;</span><span class="p">,</span>
<span class="p">},</span>
<span class="s1">&#39;artifact&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Details about the builds to test.&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;object&#39;</span><span class="p">,</span>
<span class="s1">&#39;properties&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Artifact type, in this case &quot;koji-build-group&quot;.&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;string&#39;</span><span class="p">,</span>
<span class="p">},</span>
<span class="s1">&#39;builds&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;array&#39;</span><span class="p">,</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;A list of builds included in this group&#39;</span><span class="p">,</span>
<span class="s1">&#39;items&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;$ref&#39;</span><span class="p">:</span> <span class="s1">&#39;#/definitions/artifactbuild&#39;</span><span class="p">}</span>
<span class="p">},</span>
<span class="p">},</span>
<span class="s1">&#39;required&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s1">&#39;type&#39;</span><span class="p">,</span> <span class="s1">&#39;builds&#39;</span><span class="p">],</span>
<span class="p">},</span>
<span class="s1">&#39;re-trigger&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;boolean&#39;</span><span class="p">,</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;This flag is True if the message is sent to re-trigger tests&#39;</span>
<span class="p">},</span>
<span class="s1">&#39;update&#39;</span><span class="p">:</span> <span class="n">UpdateV1</span><span class="o">.</span><span class="n">schema</span><span class="p">(),</span>
<span class="p">},</span>
<span class="s1">&#39;required&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s1">&#39;agent&#39;</span><span class="p">,</span> <span class="s1">&#39;artifact&#39;</span><span class="p">,</span> <span class="s1">&#39;update&#39;</span><span class="p">],</span>
<span class="s1">&#39;definitions&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;artifactbuild&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Details about a build that are not in the update builds dict&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;object&#39;</span><span class="p">,</span>
<span class="s1">&#39;properties&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Artifact type, in this case &quot;koji-build&quot;&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;string&#39;</span><span class="p">,</span>
<span class="p">},</span>
<span class="s1">&#39;id&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Build ID of the koji build.&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;integer&#39;</span><span class="p">,</span>
<span class="p">},</span>
<span class="s1">&#39;task_id&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Task ID of the koji build.&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s1">&#39;null&#39;</span><span class="p">,</span> <span class="s1">&#39;integer&#39;</span><span class="p">],</span>
<span class="p">},</span>
<span class="s1">&#39;nvr&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;description&#39;</span><span class="p">:</span> <span class="s1">&#39;Name-version-release of the artifact.&#39;</span><span class="p">,</span>
<span class="s1">&#39;type&#39;</span><span class="p">:</span> <span class="s1">&#39;string&#39;</span><span class="p">,</span>
<span class="p">}</span>
<span class="p">},</span>
<span class="s1">&#39;required&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s1">&#39;type&#39;</span><span class="p">,</span> <span class="s1">&#39;id&#39;</span><span class="p">,</span> <span class="s1">&#39;task_id&#39;</span><span class="p">,</span> <span class="s1">&#39;nvr&#39;</span><span class="p">],</span>
<span class="p">},</span>
<span class="s1">&#39;build&#39;</span><span class="p">:</span> <span class="n">BuildV1</span><span class="o">.</span><span class="n">schema</span><span class="p">(),</span>
<span class="p">}</span>
<span class="p">}</span>

<span class="n">topic</span> <span class="o">=</span> <span class="s2">&quot;bodhi.update.status.testing.koji-build-group.build.complete&quot;</span>
<span class="n">severity</span> <span class="o">=</span> <span class="n">DEBUG</span>

<span class="nd">@property</span>
<span class="k">def</span> <span class="nf">summary</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">str</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Return a short, human-readable representation of this message.</span>

<span class="sd"> This should provide a short summary of the message, much like the subject line</span>
<span class="sd"> of an email.</span>

<span class="sd"> Returns:</span>
<span class="sd"> A summary for this message.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">return</span> <span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">update</span><span class="o">.</span><span class="n">user</span><span class="o">.</span><span class="n">name</span><span class="si">}</span><span class="s2">&#39;s </span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">_builds_summary</span><span class="si">}</span><span class="s2"> &quot;</span>
<span class="sa">f</span><span class="s2">&quot;bodhi update is ready for testing&quot;</span><span class="p">)</span>

<div class="viewcode-block" id="UpdateReadyForTestingV3.__str__">
<a class="viewcode-back" href="../../../../server_api/messages/update.html#bodhi.messages.schemas.update.UpdateReadyForTestingV3.__str__">[docs]</a>
<span class="k">def</span> <span class="fm">__str__</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="nb">str</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Return a human-readable representation of this message.</span>

<span class="sd"> This should provide a detailed representation of the message, much like the body</span>
<span class="sd"> of an email.</span>

<span class="sd"> Returns:</span>
<span class="sd"> A human readable representation of this message.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="n">new_line</span> <span class="o">=</span> <span class="s2">&quot;</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="k">return</span> <span class="p">(</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">update</span><span class="o">.</span><span class="n">user</span><span class="o">.</span><span class="n">name</span><span class="si">}</span><span class="s2">&#39;s Bodhi update </span><span class="si">{</span><span class="bp">self</span><span class="o">.</span><span class="n">update</span><span class="o">.</span><span class="n">alias</span><span class="si">}</span><span class="s2"> &quot;</span>
<span class="sa">f</span><span class="s2">&quot;is ready for testing</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="sa">f</span><span class="s2">&quot;Builds:</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="sa">f</span><span class="s2">&quot;</span><span class="si">{</span><span class="n">new_line</span><span class="o">.</span><span class="n">join</span><span class="p">([</span><span class="n">b</span><span class="o">.</span><span class="n">nvr</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="n">b</span><span class="w"> </span><span class="ow">in</span><span class="w"> </span><span class="bp">self</span><span class="o">.</span><span class="n">update</span><span class="o">.</span><span class="n">builds</span><span class="p">])</span><span class="si">}</span><span class="s2"> &quot;</span><span class="p">)</span></div>
</div>

</pre></div>

</div>
Expand Down
Loading

0 comments on commit f260457

Please sign in to comment.