]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index c6f996753f7abae0443fa72411f72c518379a01c..e95802ffe6a173b6114ee42dc4e1cce561c47df6 100644 (file)
 
 
     
+    <div class="entry">
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html">Moved the pymissile Debian packaging to collab-maint</a></div>
+      <div class="date">10th January 2013</div>
+      <div class="body"><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>
+</div>
+      <div class="tags">
+        
+        
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/robot">robot</a>. 
+        
+        
+      </div>
+    </div>
+    <div class="padding"></div>
+    
     <div class="entry">
       <div class="title"><a href="http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html">Lets make hardware dongles easier to use in Debian</a></div>
       <div class="date"> 9th January 2013</div>
@@ -609,60 +641,6 @@ innbyggerne i uka om feil på offentlig infrastruktur.</p>
     </div>
     <div class="padding"></div>
     
-    <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html">Scripting the Cerebrum/bofhd user administration system using XML-RPC</a></div>
-      <div class="date"> 6th December 2012</div>
-      <div class="body"><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>
-</div>
-      <div class="tags">
-        
-        
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin</a>. 
-        
-        
-      </div>
-    </div>
-    <div class="padding"></div>
-    
     <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
     <div id="sidebar">
       
@@ -674,7 +652,7 @@ and DHCP updates I wanted to do.</p>
 <li>2013
 <ul>
 
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (3)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (4)</a></li>
 
 </ul></li>
 
@@ -824,7 +802,7 @@ and DHCP updates I wanted to do.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (61)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (62)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (118)</a></li>
 
@@ -834,7 +812,7 @@ and DHCP updates I wanted to do.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (167)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (168)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (21)</a></li>
 
@@ -874,7 +852,7 @@ and DHCP updates I wanted to do.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (5)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (6)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>