<tt><font size=2>amessina@messinet.com wrote on 11/04/2013 18:56:08:<br>
&gt; <br>
&gt; On Monday, November 04, 2013 05:28:28 PM John.Florian@dart.biz wrote:<br>
&gt; &gt; From what I gather, mash is the tool of choice for composing
usable<br>
&gt; &gt; repositories out of koji's build efforts. &nbsp;What advice do
y'all have for<br>
&gt; &gt; integrating the two? &nbsp;Presently, I've got mash running via
cron every 15m<br>
&gt; &gt; but that hardly seems optimal as it's a lot of busy work if I'm
not<br>
&gt; &gt; building packages for several days and conversely adds more latency
into my<br>
&gt; &gt; build + deploy + test timeline if a build finishes right after
mash does.<br>
&gt; &gt; &nbsp;Seems like a hook or callback is in order, but I've not
seen any write ups<br>
&gt; &gt; on this subject. &nbsp;Also, I had a rpm built by koji which
then made it over<br>
&gt; &gt; to my repo via mash, but then I got busy for a few days on other
tasks.<br>
&gt; &gt; &nbsp;When I came back it appears that my rpm has disappeared
from the repo.<br>
&gt; &gt; &nbsp;I'm guessing kojira cleaned it up, but I was under the
impression that<br>
&gt; &gt; such cleanup wouldn't propagate to the repo.<br>
&gt; <br>
&gt; I use a very custom koji-maint [1] script, but you could take a look
at the &nbsp;<br>
&gt; mashCreateRepos function for some ideas. &nbsp;I run it from a systemd
timer unit <br>
&gt; once a day. &nbsp;You could have systemd run it more often if you
wanted,since the <br>
&gt; design goal was to only have mash create new repositories *if* the
file date <br>
&gt; from the previously created repo is older that the last package tagged
in the <br>
&gt; specific Koji build target.<br>
&gt; <br>
&gt; -A<br>
&gt; <br>
&gt; 1. </font></tt><a href="https://messinet.com/trac/browser/koji-maint/koji-maint"><tt><font size=2>https://messinet.com/trac/browser/koji-maint/koji-maint</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; -- <br>
&gt; Anthony - </font></tt><a href=http://messinet.com/><tt><font size=2>http://messinet.com</font></tt></a><tt><font size=2>
- </font></tt><a href=http://messinet.com/~amessina/gallery><tt><font size=2>http://messinet.com/~amessina/gallery</font></tt></a><tt><font size=2><br>
&gt; 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E<br>
</font></tt>
<br><font size=2 face="sans-serif">Thanks for that link. &nbsp;Looks to
have all sorts of handy features. &nbsp;Package signing is another item
on my checklist and I see you've got code in there for that too. &nbsp;I'll
have to hack on this (or so it appears) to get it working with certificate-based
authentication. &nbsp;Would you be interested in any such patches?</font>
<br><font size=2 face="sans-serif"><br>
--<br>
John Florian</font>
<br>