]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index da5850f0f80350eaa61b493ee338dc576714262b..13cebea5c8415a168fe4614fec5401f5c2289b07 100644 (file)
@@ -6,6 +6,32 @@
                 <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>&lt;p&gt;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
+&lt;a href=&quot;http://packages.qa.debian.org/pymissile&quot;&gt;pymissile&lt;/a&gt; to make
+sure udev will fix the device permissions when it is plugged in.  I
+also added a &quot;Modaliases&quot; 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.  &lt;a href=&quot;http://code.google.com/p/pymissile/&quot;&gt;Upstream&lt;/a&gt;
+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
+&lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/pymissile.git&quot;&gt;gitweb
+view&lt;/a&gt; or use &quot;&lt;tt&gt;git clone
+git://anonscm.debian.org/collab-maint/pymissile.git&lt;/tt&gt;&quot;.&lt;/p&gt;
+</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>
@@ -542,53 +568,5 @@ innbyggerne i uka om feil på offentlig infrastruktur.&lt;/p&gt;
 </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>&lt;p&gt;Where I work at the &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of
-Oslo&lt;/a&gt;, we use the
-&lt;a href=&quot;http://sourceforge.net/projects/cerebrum/&quot;&gt;Cerebrum user
-administration system&lt;/a&gt; to maintain users, groups, DNS, DHCP, etc.
-I&#39;ve known since the system was written that the server is providing
-an &lt;a href=&quot;http://en.wikipedia.org/wiki/XML-RPC&quot;&gt;XML-RPC&lt;/a&gt; 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.&lt;/p&gt;
-
-&lt;p&gt;I started by looking at the source of the Java
-&lt;a href=&quot;http://cerebrum.svn.sourceforge.net/viewvc/cerebrum/trunk/cerebrum/clients/jbofh/&quot;&gt;bofh
-client&lt;/a&gt;, to figure out how it connected to the API server.  I also
-googled for python examples on how to use XML-RPC, and found
-&lt;a href=&quot;http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-python.html&quot;&gt;a
-simple example in&lt;/a&gt; the XML-RPC howto.&lt;/p&gt;
-
-&lt;p&gt;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:&lt;/p&gt;
-
-&lt;blockquote&gt;&lt;pre&gt;
-#!/usr/bin/env python
-import getpass
-import xmlrpclib
-server_url = &#39;https://cerebrum-uio.uio.no:8000&#39;;
-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, &quot;user_info&quot;, username)
-result = server.logout(sessionid)
-print result
-&lt;/pre&gt;&lt;/blockquote&gt;
-
-&lt;p&gt;Armed with this knowledge I can now move forward and script the DNS
-and DHCP updates I wanted to do.&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>