Skip to content

Commit

Permalink
Add changes for 14a73a6
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 6, 2023
1 parent d983ae9 commit 30d58f9
Show file tree
Hide file tree
Showing 31 changed files with 78 additions and 45 deletions.
15 changes: 12 additions & 3 deletions Contribution/Development.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
</li>
<li class="toctree-l3"><a class="reference internal" href="#local-installation">Local Installation</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#prepare-a-vanilla-vm">Prepare a Vanilla VM</a></li>
<li class="toctree-l4"><a class="reference internal" href="#ubuntu-18-04">Ubuntu 18.04</a></li>
<li class="toctree-l4"><a class="reference internal" href="#python-wheel">Python Wheel</a></li>
<li class="toctree-l4"><a class="reference internal" href="#local-pip-install">Local Pip install</a></li>
<li class="toctree-l4"><a class="reference internal" href="#debian-ubuntu">Debian/Ubuntu</a></li>
Expand Down Expand Up @@ -179,7 +180,7 @@ <h1>MetPX-Sarracenia Developer’s Guide<a class="headerlink" href="#metpx-sarra
<dd class="field-odd"><p>UNKNOWN</p>
</dd>
<dt class="field-even">date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
</dl>
<section id="tools-you-need">
Expand Down Expand Up @@ -411,6 +412,14 @@ <h3>Prepare a Vanilla VM<a class="headerlink" href="#prepare-a-vanilla-vm" title
</div>
<p>Then one can run flow_tests from this shell normally.</p>
</section>
<section id="ubuntu-18-04">
<h3>Ubuntu 18.04<a class="headerlink" href="#ubuntu-18-04" title="Link to this heading"></a></h3>
<p>A number of systems run Ubuntu 18.04 even though it is pretty old.</p>
<p><a href="#id3"><span class="problematic" id="id4">``</span></a><a href="#id5"><span class="problematic" id="id6">`</span></a></p>
<p>multipass launch -m 8G bionic</p>
<p><a href="#id7"><span class="problematic" id="id8">``</span></a>`
can run developer tests as per multipass as described above.</p>
</section>
<section id="python-wheel">
<h3>Python Wheel<a class="headerlink" href="#python-wheel" title="Link to this heading"></a></h3>
<p>If you have not used add_sr3.sh (which builds a debian package), then one can use this procedure
Expand Down Expand Up @@ -468,7 +477,7 @@ <h3>Committing Code<a class="headerlink" href="#committing-code" title="Link to
<li><p><strong>update doc/</strong> manual pages should get their updates ideally at the same time as the code.</p></li>
</ul>
<p>Usually there will be many such cycles on a development branch before one is ready
to issue a pull request. Eventually, we get to <a href="#id6"><span class="problematic" id="id7">`Commits to the Main Branch`_</span></a></p>
to issue a pull request. Eventually, we get to <a href="#id12"><span class="problematic" id="id13">`Commits to the Main Branch`_</span></a></p>
</section>
</section>
<section id="sr-insects-tests-description">
Expand Down Expand Up @@ -1475,7 +1484,7 @@ <h3>Set the Version<a class="headerlink" href="#set-the-version" title="Link to
</ul>
<p>for Metpx-Sr3, we have not yet approached the longevity of versions implied by Debian <em>stable</em>.
The labels don’t refer to how stable the software itself is, merely to how often the software
changes (increments versions.) More info: <a href="#id8"><span class="problematic" id="id9">`https://en.wikipedia.org/wiki/Debian_version_history`_</span></a>
changes (increments versions.) More info: <a href="#id14"><span class="problematic" id="id15">`https://en.wikipedia.org/wiki/Debian_version_history`_</span></a>
so when performing releases, the changelog is changed from UNRELEASED to unstable, and
back to UNRELEASED when working between releases, as per Debian custom.</p>
</section>
Expand Down
16 changes: 8 additions & 8 deletions Contribution/Philosophy/AboutTime.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"id": "703ed5c2",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-04T22:22:00.080699Z",
"iopub.status.busy": "2023-12-04T22:22:00.080246Z",
"iopub.status.idle": "2023-12-04T22:22:00.082839Z",
"shell.execute_reply": "2023-12-04T22:22:00.082473Z"
"iopub.execute_input": "2023-12-06T15:30:48.767354Z",
"iopub.status.busy": "2023-12-06T15:30:48.766782Z",
"iopub.status.idle": "2023-12-06T15:30:48.769179Z",
"shell.execute_reply": "2023-12-06T15:30:48.768840Z"
}
},
"outputs": [],
Expand All @@ -67,10 +67,10 @@
"id": "5c1a4040",
"metadata": {
"execution": {
"iopub.execute_input": "2023-12-04T22:22:00.085140Z",
"iopub.status.busy": "2023-12-04T22:22:00.084420Z",
"iopub.status.idle": "2023-12-04T22:22:00.087231Z",
"shell.execute_reply": "2023-12-04T22:22:00.086928Z"
"iopub.execute_input": "2023-12-06T15:30:48.772089Z",
"iopub.status.busy": "2023-12-06T15:30:48.771671Z",
"iopub.status.idle": "2023-12-06T15:30:48.773868Z",
"shell.execute_reply": "2023-12-06T15:30:48.773530Z"
}
},
"outputs": [],
Expand Down
2 changes: 1 addition & 1 deletion Contribution/man_page_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h2>sr_title<a class="headerlink" href="#sr-title" title="Link to this heading">
<dd class="field-odd"><p>1</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Explanation/SarraPluginDev.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h3>Revision Record<a class="headerlink" href="#revision-record" title="Link to
<dd class="field-odd"><p>UNKNOWN</p>
</dd>
<dt class="field-even">date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
</dl>
</section>
Expand Down
2 changes: 1 addition & 1 deletion How2Guides/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h3>Revision Record<a class="headerlink" href="#revision-record" title="Link to
<dd class="field-odd"><p>UNKNOWN</p>
</dd>
<dt class="field-even">date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
</dl>
<p>A Sarracenia data pump is a web (or sftp) server with notifications for subscribers
Expand Down
2 changes: 1 addition & 1 deletion How2Guides/subscriber.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h3>Revision Record<a class="headerlink" href="#revision-record" title="Link to
<dd class="field-odd"><p>UNKNOWN</p>
</dd>
<dt class="field-even">date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
</dl>
</section>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr3.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h2>sr3 Sarracenia CLI<a class="headerlink" href="#sr3-sarracenia-cli" title="Li
<dd class="field-odd"><p>1</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr3_cpump.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h2>sr_shovel in C<a class="headerlink" href="#sr-shovel-in-c" title="Link to th
<dd class="field-odd"><p>1</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr3_credentials.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h2>SR3 Credential File Format<a class="headerlink" href="#sr3-credential-file-f
<dd class="field-odd"><p>7</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr3_options.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h2>SR3 Configuration File Format<a class="headerlink" href="#sr3-configuration-
<dd class="field-odd"><p>7</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr3_post.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h2>Publish the Availability of Files<a class="headerlink" href="#publish-the-av
<dd class="field-odd"><p>1</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Reference/sr_post.7.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Sarracenia v03 Notification Message Format/Protocol<a class="headerlink" hre
<dd class="field-odd"><p>7</p>
</dd>
<dt class="field-even">Date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
<dt class="field-odd">Version<span class="colon">:</span></dt>
<dd class="field-odd"><p>UNKNOWN</p>
Expand Down
2 changes: 1 addition & 1 deletion Tutorials/Install.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h2>Revision Record<a class="headerlink" href="#revision-record" title="Link to
<dd class="field-odd"><p>UNKNOWN</p>
</dd>
<dt class="field-even">date<span class="colon">:</span></dt>
<dd class="field-even"><p>Dec 04, 2023</p>
<dd class="field-even"><p>Dec 06, 2023</p>
</dd>
</dl>
</section>
Expand Down
6 changes: 3 additions & 3 deletions _modules/sarracenia.html
Original file line number Diff line number Diff line change
Expand Up @@ -931,19 +931,19 @@ <h1>Source code for sarracenia</h1><div class="highlight"><pre>
<span class="sd"> return True if message format seems ok, return True, else return False, log some reasons.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">if</span> <span class="ow">not</span> <span class="nb">type</span><span class="p">(</span><span class="n">msg</span><span class="p">)</span> <span class="ow">is</span> <span class="n">sarracenia</span><span class="o">.</span><span class="n">Message</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span> <span class="sa">f</span><span class="s2">&quot;not a message&quot;</span><span class="p">)</span>
<span class="k">return</span> <span class="kc">False</span>

<span class="n">res</span> <span class="o">=</span> <span class="kc">True</span>
<span class="k">for</span> <span class="n">required_key</span> <span class="ow">in</span> <span class="p">[</span><span class="s1">&#39;pubTime&#39;</span><span class="p">,</span> <span class="s1">&#39;baseUrl&#39;</span><span class="p">,</span> <span class="s1">&#39;relPath&#39;</span><span class="p">]:</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">required_key</span> <span class="ow">in</span> <span class="n">msg</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s1">&#39;missing key: </span><span class="si">%s</span><span class="s1">&#39;</span> <span class="o">%</span> <span class="n">required_key</span><span class="p">)</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span> <span class="sa">f</span><span class="s1">&#39;missing key: </span><span class="si">{</span><span class="n">required_key</span><span class="si">}</span><span class="s1">&#39;</span> <span class="p">)</span>
<span class="n">res</span> <span class="o">=</span> <span class="kc">False</span>

<span class="k">if</span> <span class="ow">not</span> <span class="n">timeValidate</span><span class="p">(</span><span class="n">msg</span><span class="p">[</span><span class="s1">&#39;pubTime&#39;</span><span class="p">]):</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span> <span class="sa">f</span><span class="s2">&quot;malformed pubTime: </span><span class="si">{</span><span class="n">msg</span><span class="p">[</span><span class="s1">&#39;pubTime&#39;</span><span class="p">]</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="n">res</span> <span class="o">=</span> <span class="kc">False</span>

<span class="k">if</span> <span class="ow">not</span> <span class="n">res</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">error</span><span class="p">(</span><span class="s1">&#39;malformed message: </span><span class="si">%s</span><span class="s1">&#39;</span><span class="p">,</span> <span class="n">msg</span><span class="p">)</span>
<span class="k">return</span> <span class="n">res</span></div>


Expand Down
Loading

0 comments on commit 30d58f9

Please sign in to comment.