<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Me on Stuff &#187; freebsd-update frontend</title>
	<atom:link href="http://fubar.geek.nz/blog/category/freebsd/freebsd-update-frontend/feed/" rel="self" type="application/rss+xml" />
	<link>http://fubar.geek.nz/blog</link>
	<description>Me ranting about Stuff</description>
	<lastBuildDate>Thu, 22 Jul 2010 03:42:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FreeBSD update front end update</title>
		<link>http://fubar.geek.nz/blog/2007/07/22/freebsd-update-front-end-update/</link>
		<comments>http://fubar.geek.nz/blog/2007/07/22/freebsd-update-front-end-update/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 11:20:38 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[freebsd-update frontend]]></category>

		<guid isPermaLink="false">http://fubar.geek.nz/blog/2007/07/22/freebsd-update-front-end-update/</guid>
		<description><![CDATA[My work towards creating a front end for freebsd-update is progressing. I have it at the point where it is exchanging dummy information about the patches on a machine. I&#8217;ve added signal handlers to shut down the back end correctly. The network code is fixed when the back end attempts to disconnect and reconnect.
I still [...]]]></description>
			<content:encoded><![CDATA[<p>My work towards creating a front end for freebsd-update is progressing. I have it at the point where it is exchanging dummy information about the patches on a machine. I&#8217;ve added signal handlers to shut down the back end correctly. The network code is fixed when the back end attempts to disconnect and reconnect.</p>
<p>I still need to write the code to detect the downloaded and installed patches. I am also working on the install_patches handler. It will need a functions written to extract the relevant data from the calls argument. When the install_patches handler is able to at least return some dummy information I will hook the new install button to a call.</p>
<p>When the list_updates and install_patches handlers work I&#8217;ll have to wait for a security announcement to test it with. Until then I&#8217;ll just have to use my local update server.</p>
]]></content:encoded>
			<wfw:commentRss>http://fubar.geek.nz/blog/2007/07/22/freebsd-update-front-end-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD update front end first cut</title>
		<link>http://fubar.geek.nz/blog/2007/06/10/freebsd-update-front-end-first-cut/</link>
		<comments>http://fubar.geek.nz/blog/2007/06/10/freebsd-update-front-end-first-cut/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 23:37:55 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[freebsd-update frontend]]></category>

		<guid isPermaLink="false">http://fubar.geek.nz/blog/2007/06/10/freebsd-update-front-end-first-cut/</guid>
		<description><![CDATA[I&#8217;ve managed to get my front and back ends talking to each other. The front-end is written in Python. It loads a Glade file and uses that to generate the window to display.
To run it you need a copy of //depot/projects/soc2007/andrew-update/ from perforce. Run &#8216;make&#8217; to build it. Next, from the backend directory, run &#8216;facund-be [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve managed to get my front and back ends talking to each other. The front-end is written in Python. It loads a Glade file and uses that to generate the window to display.</p>
<p>To run it you need a copy of //depot/projects/soc2007/andrew-update/ from perforce. Run &#8216;make&#8217; to build it. Next, from the backend directory, run &#8216;facund-be -c freebsd-config-control.conf&#8217;. This starts the backend. In a new terminal, from the frontend directory, run &#8216;python facund.py&#8217;. It will open a window with what will become a list of computers on the left with a connect and disconnect button under it. When the connect button is clicked it should attempt to connect to the back-end over the /tmp/facund unix socket and send a start message to the back-end. On disconnect it will send a stop message and wait for the back-end to do the same.</p>
<p>The rest of the communication is yet to be defined but I have a basic idea of the front-end sending a request something like &lt;get value=&#8221;available_updates&#8221; id=&#8221;random_id&#8221;/&gt;. The back-end then sends a &lt;return id=&#8221;random_id&#8221; data=&#8221;none&#8221;/&gt;. The return data may be changes to allow for non-string types, e.g. bool, int, array, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://fubar.geek.nz/blog/2007/06/10/freebsd-update-front-end-first-cut/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Summer of Code &#8216;07</title>
		<link>http://fubar.geek.nz/blog/2007/04/13/summer-of-code-07/</link>
		<comments>http://fubar.geek.nz/blog/2007/04/13/summer-of-code-07/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 22:32:58 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[freebsd-update frontend]]></category>

		<guid isPermaLink="false">http://fubar.geek.nz/blog/2007/04/13/summer-of-code-07/</guid>
		<description><![CDATA[My proposal for the Google Summer of Code to create a frontend for freebsd-update was accepted by the FreeBSD project.
My current design it to have a backend to control freebsd-update. This then talks to the frontend that lets the administrator update the machine and restart services as needed. I will have to come up with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/soc/freebsd/appinfo.html?csaid=96988314165AD86">My proposal</a> for the <a href="http://code.google.com/soc/">Google Summer of Code</a> to create a frontend for freebsd-update was accepted by the FreeBSD project.</p>
<p>My current design it to have a backend to control freebsd-update. This then talks to the frontend that lets the administrator update the machine and restart services as needed. I will have to come up with a protocol for the back and front ends to communicate in a secure manor. I also want to be able to extend what the backend can do, eg. update ports/packages, restart services or the whole computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://fubar.geek.nz/blog/2007/04/13/summer-of-code-07/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
