<link>http://people.skolelinux.org/pere/blog/</link>
<atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
+ <item>
+ <title>Moved the pymissile Debian packaging to collab-maint</title>
+ <link>http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html</link>
+ <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html</guid>
+ <pubDate>Thu, 10 Jan 2013 20:40:00 +0100</pubDate>
+ <description><p>As part of my investigation on how to improve the support in Debian
+for hardware dongles, I dug up my old Mark and Spencer USB Rocket
+Launcher and updated the Debian package
+<a href="http://packages.qa.debian.org/pymissile">pymissile</a> to make
+sure udev will fix the device permissions when it is plugged in. I
+also added a "Modaliases" header to test it in the Debian archive and
+hopefully make the package be proposed by jockey in Ubuntu when a user
+plug in his rocket launcher. In the process I moved the source to a
+git repository under collab-maint, to make it easier for any DD to
+contribute. <a href="http://code.google.com/p/pymissile/">Upstream</a>
+is not very active, but the software still work for me even after five
+years of relative silence. The new git repository is not listed in
+the uploaded package yet, because I want to test the other changes a
+bit more before I upload the new version. If you want to check out
+the new version with a .desktop file included, visit the
+<a href="http://anonscm.debian.org/gitweb/?p=collab-maint/pymissile.git">gitweb
+view</a> or use "<tt>git clone
+git://anonscm.debian.org/collab-maint/pymissile.git</tt>".</p>
+</description>
+ </item>
+
<item>
<title>Lets make hardware dongles easier to use in Debian</title>
<link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html</link>
</description>
</item>
- <item>
- <title>Scripting the Cerebrum/bofhd user administration system using XML-RPC</title>
- <link>http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</guid>
- <pubDate>Thu, 6 Dec 2012 10:30:00 +0100</pubDate>
- <description><p>Where I work at the <a href="http://www.uio.no/">University of
-Oslo</a>, we use the
-<a href="http://sourceforge.net/projects/cerebrum/">Cerebrum user
-administration system</a> to maintain users, groups, DNS, DHCP, etc.
-I've known since the system was written that the server is providing
-an <a href="http://en.wikipedia.org/wiki/XML-RPC">XML-RPC</a> API, but
-I have never spent time to try to figure out how to use it, as we
-always use the bofh command line client at work. Until today. I want
-to script the updating of DNS and DHCP to make it easier to set up
-virtual machines. Here are a few notes on how to use it with
-Python.</p>
-
-<p>I started by looking at the source of the Java
-<a href="http://cerebrum.svn.sourceforge.net/viewvc/cerebrum/trunk/cerebrum/clients/jbofh/">bofh
-client</a>, to figure out how it connected to the API server. I also
-googled for python examples on how to use XML-RPC, and found
-<a href="http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-python.html">a
-simple example in</a> the XML-RPC howto.</p>
-
-<p>This simple example code show how to connect, get the list of
-commands (as a JSON dump), and how to get the information about the
-user currently logged in:</p>
-
-<blockquote><pre>
-#!/usr/bin/env python
-import getpass
-import xmlrpclib
-server_url = 'https://cerebrum-uio.uio.no:8000';
-username = getpass.getuser()
-password = getpass.getpass()
-server = xmlrpclib.Server(server_url);
-#print server.get_commands(sessionid)
-sessionid = server.login(username, password)
-print server.run_command(sessionid, "user_info", username)
-result = server.logout(sessionid)
-print result
-</pre></blockquote>
-
-<p>Armed with this knowledge I can now move forward and script the DNS
-and DHCP updates I wanted to do.</p>
-</description>
- </item>
-
</channel>
</rss>