<?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>Ian Weller’s free software blog &#187; fedoracommunity</title>
	<atom:link href="http://ianweller.org/tag/fedoracommunity/feed/" rel="self" type="application/rss+xml" />
	<link>http://ianweller.org</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 19:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Statistics 2.0: The beginnings</title>
		<link>http://ianweller.org/2009/07/06/statistics-20-the-beginnings/</link>
		<comments>http://ianweller.org/2009/07/06/statistics-20-the-beginnings/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 04:13:02 +0000</pubDate>
		<dc:creator>Ian Weller</dc:creator>
				<category><![CDATA[Fedora Planet]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedoracommunity]]></category>
		<category><![CDATA[moksha]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://ianweller.org/?p=479</guid>
		<description><![CDATA[I&#8217;ve been doing some work on getting a Statistics application in Fedora Community. It&#8217;s very weak as it stands &#8212; only shows you two wiki-related things right now &#8212; but now that I&#8217;ve kind of meandered around the code a bunch, I think I have a better idea of what I&#8217;m doing, and it shouldn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://git.fedorahosted.org/git/?p=fedoracommunity.git;a=shortlog;h=refs/heads/stats">I&#8217;ve been doing some work</a> on getting a Statistics application in Fedora Community. It&#8217;s very weak as it stands &#8212; only shows you two wiki-related things right now &#8212; but now that I&#8217;ve kind of meandered around the code a bunch, I think I have a better idea of what I&#8217;m doing, and it shouldn&#8217;t be difficult to churn out code for other parts of Fedora&#8217;s stuff now.</p>
<p>Currently, we have a Grid widget and a Flot widget. Grids are used for displaying data in, well, a grid, and Flot widgets are used for nice, pretty charts. (The awesome thing about Flot is that it uses pure HTML to create charts. How about that?!)</p>
<p>I need to thank Luke Macken and J5 for all the help I&#8217;ve gotten from them so far. :)</p>
<p>So let&#8217;s go through how you can test this and see the magic unfold. (And potentially figure out how to write code for you own <a href="https://fedoraproject.org/wiki/Statistics_2.0">use cases</a>!)</p>
<ol>
<li>Install Luke&#8217;s repo file for TurboGears 2. It&#8217;s not all in Fedora yet so this is necessary. You can find the repo files at <a href="http://lmacken.fedorapeople.org/rpms/tg2/">http://lmacken.fedorapeople.org/rpms/tg2/</a>.</li>
<li>Install moksha.
<pre># yum install moksha</pre>
</li>
<li>Pull fedoracommunity.git.
<pre>$ git clone git://git.fedorahosted.org/fedoracommunity.git</pre>
<p>(If you&#8217;ve got a FAS account and you&#8217;ve ever used Hosted before, it&#8217;s usually a good idea to use ssh://, IMHO. Makes it easier to push later if you get push access. The URL for that is <code>ssh://git.fedorahosted.org/git/fedoracommunity.git</code>)</li>
<li>Create the stats branch locally, and pull from the remote stats branch.
<pre>$ cd fedoracommunity/; git checkout -b stats; git pull origin stats</pre>
</li>
<li>Now, I don&#8217;t know if this is the proper way to do it, but it&#8217;s portable and it works. Before you can start up paster to serve the content, an egg needs to be created.
<pre>$ python setup.py egg_info</pre>
</li>
<li>Then you can run paster:
<pre>$ paster serve development.ini</pre>
<p>And yay!</li>
</ol>
<p>The important files to note are fedoracommunity/connectors/wikiconnector.py, fedoracommunity/mokshaapps/statistics/widgets/wiki.py, and fedoracommunity/mokshaapps/statistics/templates/wiki_active_pages.mak. My next priority is to get stats for how FAS groups grow over time.</p>
<p>Happy hacking! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://ianweller.org/2009/07/06/statistics-20-the-beginnings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
