<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mgaadvisories/lib/MGA, 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>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>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>
<entry>
<title>Write JSON index files for advisories</title>
<updated>2024-03-14T22:21:41+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-14T22:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=c9c5444f4f27f0a7375088a1cc0b4594742d8fe8'/>
<id>c9c5444f4f27f0a7375088a1cc0b4594742d8fe8</id>
<content type='text'>
The JSON schema is simple and compatible with the one published in the
Go Vulnerability Database. Security advisories and bugfix advisories
each have their own index.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The JSON schema is simple and compatible with the one published in the
Go Vulnerability Database. Security advisories and bugfix advisories
each have their own index.
</pre>
</div>
</content>
</entry>
<entry>
<title>Write JSON output files in mksite</title>
<updated>2024-03-09T07:55:05+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-09T06:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=dcfd914210f70323bdb8c8820cc2eed8f83f4f1f'/>
<id>dcfd914210f70323bdb8c8820cc2eed8f83f4f1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'showjson' command to output an advisory in OSV JSON</title>
<updated>2024-03-09T07:55:05+00:00</updated>
<author>
<name>Dan Fandrich</name>
<email>danf@mageia.org</email>
</author>
<published>2024-03-09T02:33:47+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=de98902a85982351c7539672391de014252edde5'/>
<id>de98902a85982351c7539672391de014252edde5</id>
<content type='text'>
Open Source Vulnerability format is a standard for publishing
vulnerabilities in Open Source projects and is defined at
https://ossf.github.io/osv-schema/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Open Source Vulnerability format is a standard for publishing
vulnerabilities in Open Source projects and is defined at
https://ossf.github.io/osv-schema/
</pre>
</div>
</content>
</entry>
<entry>
<title>Report the broken file rather than exploding when an advisory is invalid</title>
<updated>2020-11-08T13:36:05+00:00</updated>
<author>
<name>Pascal Terjan</name>
<email>pterjan@mageia.org</email>
</author>
<published>2020-11-08T13:36:05+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=b667bc060067d784cb0236b7c03644738026687e'/>
<id>b667bc060067d784cb0236b7c03644738026687e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reset 'advisory' keyword instead of 'validated_update' for invalid advisories</title>
<updated>2017-09-20T17:28:37+00:00</updated>
<author>
<name>Rémi Verschelde</name>
<email>rverschelde@gmail.com</email>
</author>
<published>2017-09-20T17:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/software/infrastructure/mgaadvisories/commit/?id=77db5dbabe078afc87809bc7295eaae1110bdf78'/>
<id>77db5dbabe078afc87809bc7295eaae1110bdf78</id>
<content type='text'>
This is now possible since 'advisory' was made a keyword,
while it used to be written in the Whiteboard field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is now possible since 'advisory' was made a keyword,
while it used to be written in the Whiteboard field.
</pre>
</div>
</content>
</entry>
</feed>
