Forgotten some things:
1) How do the RSS feed generator get the logfile? I asume that are
always the style like
http://www.emdebian.org/buildd/a/apt/trunk/apt-arm-1233120802.log
Should this be a command line tool or a webscript?
If webscript, only the link (script must fetch the buildlog with
curl) or the content?
Am 2009-01-28 17:03:01, schrieb Neil Williams:
> > <channel>
> > <title>Emdebian - Crush</title>
> > <link>http://www.emdebian.org/crush/</link>
> > <description>Stuff about Crusj</description>
>
> <description>Crush update details</description>
>
> or auto-process to say:
> $count packages updated in Crush
2) $count is what?
Do you count new uploads in a timeframe like one week?
I prefer to build small *.in files like
1234567890_$pkg.in
where 1234567890 is the buildtime and then if I prebuild the
RSS-feed I compare the time, whether it is in the timeframe.
> > and now the uploaded items:
> >
> > <item>
> > <title>some package name</title>
> > <link>ftp://ftp.emdebian.org/debian/pool/main/LETTER/PKG/*.dsc</link>
>
> Probably don't want the .dsc in this link, more likely (for Crush) is a
> link to the build log:
>
> e.g.
> http://www.emdebian.org/buildd/history.php?pkg=apt&arch=arm
OK, no problem...
> > <description>short describtion</description>
>
> Something like $version, link to the patches maybe. For unsuccessful
> builds, a summary of why it failed. For a testing migration, something
> close to the message you currently get from Britney in Debian, if
> possible.
>
> > <pubDate>Wed, 28 Jan 2009 07:22:48 +0100</pubDate>
> > <guid>link to packages.debian.org maybe</guid>
> > <content:encoded>
> > long Describtion
> > </content:encoded>
> > </item>
>
> The repeated for each package uploaded since the last run of the feed
> generator script.
Hm, I was ongoing to build the RSS feed immediately... because each time
a new buildlog comes in I generate a timestamed IN file which contain
the stuff between <item></item> and then I 'cat' it together which takes
on a decent server under 1 second even for 100 packages since they have
only some bytes.
Q: How many builds do you have per day?
If not build immediately, how often do you want to build the RSS feed?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
<http://www.tamay-dogan.net/> <http://www.can4linux.org/>
Michelle Konzack Apt. 917 ICQ #328449886
+49/177/9351947 50, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Attachment:
signature.pgp
Description: Digital signature