<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mgaadvisories, branch 0.30</title>
<subtitle>Scripts to Help with Update Advisories</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/'/>
<entry>
<title>0.30</title>
<updated>2024-04-16T17:59:54+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-16T17:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=f894bb17b82ef676a0121cdddcee57994e8b275d'/>
<id>f894bb17b82ef676a0121cdddcee57994e8b275d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Get the last modified date of advisories from SVN</title>
<updated>2024-04-16T17:58:32+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-16T06:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=7b864281523a0bf15ecea235f463c27bb77dec53'/>
<id>7b864281523a0bf15ecea235f463c27bb77dec53</id>
<content type='text'>
The modification date helps track if an advisory was changed after
initial publication. This is especially important for OSV users who need
the modification date in the vulns.json index to determine whether an
existing advisory was updated so they can download the update.  Also,
keep "ref" (pointing to bug number) in all advisories, not just the TODO
ones.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The modification date helps track if an advisory was changed after
initial publication. This is especially important for OSV users who need
the modification date in the vulns.json index to determine whether an
existing advisory was updated so they can download the update.  Also,
keep "ref" (pointing to bug number) in all advisories, not just the TODO
ones.
</pre>
</div>
</content>
</entry>
<entry>
<title>Try to fix publish-all</title>
<updated>2024-04-16T07:21:04+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-16T05:44:38+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=63160c8456f5fc561ce86a373d027d8acd630d4e'/>
<id>63160c8456f5fc561ce86a373d027d8acd630d4e</id>
<content type='text'>
An argument to output_pages() was missing. This command probably never
worked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An argument to output_pages() was missing. This command probably never
worked.
</pre>
</div>
</content>
</entry>
<entry>
<title>0.29</title>
<updated>2024-04-05T22:32:15+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-05T22:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=e8570071b32b996d16738e0439f20bd2f24a617c'/>
<id>e8570071b32b996d16738e0439f20bd2f24a617c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Install the new *.json templates</title>
<updated>2024-04-05T22:02:18+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-05T21:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=0cce25066cb3283f2af2bd21bc5dd161ff1fd9ab'/>
<id>0cce25066cb3283f2af2bd21bc5dd161ff1fd9ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>0.28</title>
<updated>2024-04-05T20:04:54+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-05T19:55:37+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=626887ffdbf345adc658bfcefce2a851574812f5'/>
<id>626887ffdbf345adc658bfcefce2a851574812f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix make tar to compress the file</title>
<updated>2024-04-05T20:04:43+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-04-05T20:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=33e445767642cd5678e9c505c6fd8bab32fbc1d7'/>
<id>33e445767642cd5678e9c505c6fd8bab32fbc1d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Exit if any of the parallel processes return an error</title>
<updated>2024-03-22T04:00:12+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-22T04:00:12+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=82bfec6e44209b4e1bce115e4adca62d0fffb279'/>
<id>82bfec6e44209b4e1bce115e4adca62d0fffb279</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cross-check that at least one SRPM is listed in the advisory</title>
<updated>2024-03-21T23:28:15+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-21T23:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=b9846fe26e87285ceab8ae5cd9c212325bd15f51'/>
<id>b9846fe26e87285ceab8ae5cd9c212325bd15f51</id>
<content type='text'>
An advisory must come with at least one fixed package.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An advisory must come with at least one fixed package.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use multiprocessing in mksite for improved speed</title>
<updated>2024-03-20T03:01:16+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-15T01:50:26+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=fe405b428456decd6fed841fd6de6b8e09e73e55'/>
<id>fe405b428456decd6fed841fd6de6b8e09e73e55</id>
<content type='text'>
This generates templated files using some parallelism, reducing the
total mksite time to less than half in my tests. Increasing parallelism
even further is possible, but would make the code harder to understand.
The obvious technique of generating each templated file in its own
process is actually far slower because the overhead of process creation
dwarfs the time spent processing the template, which is on average very
small and quick.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This generates templated files using some parallelism, reducing the
total mksite time to less than half in my tests. Increasing parallelism
even further is possible, but would make the code harder to understand.
The obvious technique of generating each templated file in its own
process is actually far slower because the overhead of process creation
dwarfs the time spent processing the template, which is on average very
small and quick.
</pre>
</div>
</content>
</entry>
</feed>
