<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ddumont&#039;s Blog</title>
	<atom:link href="http://ddumont.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ddumont.wordpress.com</link>
	<description>Thoughts about computing and other stuff, like Perl or Debian</description>
	<lastBuildDate>Fri, 27 Apr 2012 09:50:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ddumont.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ddumont&#039;s Blog</title>
		<link>http://ddumont.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ddumont.wordpress.com/osd.xml" title="Ddumont&#039;s Blog" />
	<atom:link rel='hub' href='http://ddumont.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A success story for Config::Model</title>
		<link>http://ddumont.wordpress.com/2012/04/20/a-success-story-for-configmodel/</link>
		<comments>http://ddumont.wordpress.com/2012/04/20/a-success-story-for-configmodel/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 10:57:22 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[Config::Model]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[config-model]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=466</guid>
		<description><![CDATA[Hello Here&#8217;s a mail telling how the Config::Model Perl module was used to refactor existing configuration tools in Perl. Some punctuation and blank lines were added to improve the flow of this text. The full name and mail address of gkr is withheld on his request. I took over a perl script that was responsible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=466&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Here&#8217;s a mail telling how the <a href="https://github.com/dod38fr/config-model">Config::Model</a> Perl module was used to refactor existing configuration tools in Perl. Some punctuation and blank lines were added to improve the flow of this text. The full name and mail address of gkr is withheld on his request.</p>
<blockquote><p>    I took over a perl script that was responsible to pull data from several sources and push it after validation and re-packaging including some meta data into one of our production systems.</p>
<p>    The script was never intended to be used for more then a few month. But as things go, we were still using it after a few years. Only now for a lot more sources. Since all the configuration of sources and meta data were contained as a single hash in this script, it became very unwieldy. Although the configuration seldom changed, once it got added it was not an option to keep it like this especially as we decided to prepare a Debian package for faster installation and version tracking. So I had to re-work it and was looking for some library that was allowing me to define how the configuration has to look like, providing sensible hard coded and computed defaults for some of the values.</p>
<p>    This was when I found <a href="https://metacpan.org/module/Config::Model">Config::Model on Cpan</a>. It was, after some digging into the documentation, quite simple to define a rough first version of the complete config, including global default values as ini file and very simple to read in and write out. A more advanced version was not working because the Config::Model in Debian squeeze did not provide needed features.</p>
<p>    Switching to <a href="http://en.wikipedia.org/wiki/YAML">yaml</a> as configuration file format not only increased readability but also worked with the standard Squeeze package. Consistency is checked automatically inside the model so broken configurations are more unlikely in the future.</p>
<p>    Of course I had some work re-factoring the original source but Config::Model allowed an easy addition of a value-checked and documented configuration file. To access the <a href="http://search.cpan.org/dist/Config-Model/lib/Config/Model/Instance.pm">Config::Model::Instance</a> I added small wrapper packages that allowed an easy access of the config elements by name to make the source easier to understand. The re-factoring needed for creating a Debian package for the Script &#8211; which is now a set of modules and a small executable &#8211; was simple once I had Config::Model working, since I was able to add new configuration items effortlessly and remove a lot of hard coded parameters.</p>
<p>    I don&#8217;t use the cli tool yet for configuration editing but that&#8217;s going to be the next step.</p>
</blockquote>
<p>Many thanks to gkr for this feedback. Let&#8217;s hope he will continue to give feedback on his usage of Config::Model.</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/config-model/'>config-model</a>, <a href='http://ddumont.wordpress.com/tag/configuration/'>configuration</a>, <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/466/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=466&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/04/20/a-success-story-for-configmodel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>My setup for vdr automatic wake up and shutdown</title>
		<link>http://ddumont.wordpress.com/2012/04/14/my-setup-for-vdr-automatic-wake-up-and-shutdown/</link>
		<comments>http://ddumont.wordpress.com/2012/04/14/my-setup-for-vdr-automatic-wake-up-and-shutdown/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 16:35:55 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[vdr]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=454</guid>
		<description><![CDATA[Here how I've setup vdr to automatically wakup or shutdown my machine to record programs<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=454&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Like all kids, my kids really enjoy watching cartoons. Unfortunately, most of them are broadcast during the morning, sometimes very early in the morning. Since I don&#8217;t want my kids to wake up (or wake me up&#8230;) too early in the morning to watch cartoon, I record the most interesting programs with vdr (I also edit out commercials before my kids watch them) </p>
<p>To limit my carbon (or equivalent radio-active waste) footprint, I do not want to leave the computer on 24/24, so the machine has to power up by itself before a recording time.</p>
<p>So I&#8217;ve setup vdr to automatically setup the wake up time of the computer and shutdown the machine once the recording is finished. Note that this machine is also my main home machine, so it must not shutdown while I&#8217;m working on it (typing this blog, for instance).</p>
<p>This should have been easy and fairly documented. Well, it was not that easy. A lot of doc mentions nvram-wakeup which is more or less obsolete. Other docs were in German. So, here&#8217;s a summary of the setup so other can benefit from my experience.</p>
<p>First, this was done on a Debian/sid machine, this post should be usable on other distros, provided some adaptations. These adaptations are left as an exercise to the reader (which is marketing lingo for &#8220;I don&#8217;t have a clue&#8221;)</p>
<p>First add this line in <tt>/etc/default/vdr</tt>:</p>
<pre>
 ENABLE_SHUTDOWN=1
</pre>
<p>When vdr has nothing to do, it will run some shutdown scripts, including <tt>/usr/share/vdr/shutdown-hooks/S90.custom</tt>, which is a link to <tt>/etc/vdr/shutdown-hooks/S90.custom</tt>.</p>
<p>The output of this script will be eval&#8217;ed by vdr, so vdr knows what to do next (e.g. abort shutdown, display a message to user, retry later&#8230;).</p>
<p>Here are the possible output of a vdr shutdown script (list taken from <a href="http://www.vdr-wiki.de/wiki/index.php/ACPI_Wakeup">vdr-wiki</a>):</p>
<ul>
<li>To abort the shutdown, exit with an errorlevel != 0.
</li>
<li>If you want a message to be displayed on the OSD when aborting a shutdown,<br />
then write to stdout:<br />
  <tt>ABORT_MESSAGE=&lt;message to display&gt;</tt>
</li>
<li>If you want to defer the shutdown, write to stdout:<br />
  <tt>TRY_AGAIN=&lt;minutes to wait before next shutdown request&gt;</tt>
</li>
<li>To overwrite the command that will be executed to shutdown the machine<br />
after all shutdown hooks have been processed, write to stdout:<br />
   <tt>SHUTDOWNCMD=&lt;new shutdown command&gt;</tt><br />
 i.e.:<br />
   <tt>echo "ABORT_MESSAGE=\"I do not want to shutdown now!\"" ; exit 1</tt>
</li>
</ul>
<p>This script will mess with <tt>/sys/class/rtc/rtc0/wakealarm</tt> so it must be run as root. But vdr will launch this script and does not run as root. Instead of setting a suid bit, let&#8217;s setup sudo to enable this script to gain root privilege from vdr. Add this line in /etc/sudoers (with visudo):</p>
<pre>
vdr ALL= NOPASSWD: /etc/vdr/shutdown-hooks/S90.custom *
</pre>
<p>And here&#8217;s a commented Perl script that handle the shutdown test: </p>
<pre>
#!/usr/bin/perl
use IO::File ;
use 5.10.0 ;
use English;
use Path::Class; 

use Sys::Syslog qw(:standard :macros);  # standard functions &amp; macros
openlog('vdr-shutdown', "", "user");
</pre>
<p>Here&#8217;s the call to sudo to gain root privilege (if not already run as root):</p>
<pre>
if ($EUID) {
    system('sudo','/etc/vdr/shutdown-hooks/S90.custom', @ARGV) ;
    syslog(info =&gt; "vdr-shutdown: sudo myself returned $@") ;
}
</pre>
<p>Get the next timer info from the command arguments provided by vdr:</p>
<pre>
my ($next_timer,$interval) = @ARGV ;
</pre>
<p>Setup the next alarm in the mother board:</p>
<pre>
if ( $next_timer) {
  my $dev_fh = IO::File-&gt;new("&gt; /sys/class/rtc/rtc0/wakealarm");
  die "cannot open $dev_fh: $!" unless $dev_fh ;
  my $newtime = $next_timer - 300  ;  # Start 5 minutes earlier
  $dev_fh-&gt;print( "$newtime\n" ) ;
  $dev_fh-&gt;close ;

  syslog(info =&gt; "vdr-shutdown: set wakeup to $newtime") ;
}
</pre>
<p>Now, let&#8217;s check if someone is logged on the system. Weirdly enough, forking a command from this Perl script does not work when it&#8217;s run by vdr. Calling the &#8216;who&#8217; command always return empty. The trick to find if anyone is logged is to check the content of <tt>/dev/pts</tt> directory. No files in there means that nobody is logged:</p>
<pre>
my @pts  = dir('/dev/pts')-&gt;children;
syslog(info =&gt; "vdr-shutdown:  found pts @pts") ;

if (@pts &gt; 1) {
    syslog(info =&gt; "vdr-shutdown: retry later: someone is logged") ;
    say 'ABORT_MESSAGE="someone is logged, shutting down deferred"';
    say 'TRY_AGAIN=30'
}
else {
    syslog(info =&gt; "vdr-shutdown: nobody is logged, halting") ;
}
</pre>
<p>Now some cleanup then exit:</p>
<pre>
closelog() ;

exit 0;
</pre>
<p>This script has been working for one month, and not a single programs was missed. My kids are happy. </p>
<p>I&#8217;m not so happy because I now have a lot of commercials to edit out <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a>, <a href='http://ddumont.wordpress.com/tag/vdr/'>vdr</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/454/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/454/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/454/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=454&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/04/14/my-setup-for-vdr-automatic-wake-up-and-shutdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>My activities during Perl/QA hackathon in Paris</title>
		<link>http://ddumont.wordpress.com/2012/04/05/my-activities-during-perlqa-hackathon-in-paris/</link>
		<comments>http://ddumont.wordpress.com/2012/04/05/my-activities-during-perlqa-hackathon-in-paris/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 11:07:28 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[hackathon]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=441</guid>
		<description><![CDATA[Hello Last week-end, I&#8217;ve participated Perl/QA hackathon in Paris. Here&#8217;s a short summary of the main activities during this week-end. I was not in the best of shape due to a nasty (biological) bug that wore me down before the hackathon. First of all, I discussed with rjbs about the bunch of debian patches I&#8217;ve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=441&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Last week-end, I&#8217;ve participated <a href="http://2012.qa-hackathon.org/qa2012/">Perl/QA hackathon</a> in Paris. </p>
<p>Here&#8217;s a short summary of the main activities during this week-end. I was not in the best of shape due to a nasty (biological) bug that wore me down before the hackathon.</p>
<p>First of all, I discussed with rjbs about the bunch of debian patches I&#8217;ve written for <a href="https://metacpan.org/release/Software-License">Software::License</a>. These patches (and hacks) are used in Debian to provide licenses summaries in <a href="https://metacpan.org/module/Config::Model::models::Debian::Dpkg::Copyright">Debian::Dpkg::Copyright</a> model to help write <a href="http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/">Debian copyright files</a>. License management is boring but necessary. <a href="https://metacpan.org/module/cme">cme</a> and Software::License help in making this task slightly less boring. Ricardo kindly suggested some modifications and agreed to include my patches. I implemented these <a href="http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libsoftware-license-perl.git;a=commit;h=8fc78e8051f32fdee2f6332fe5f56f3bfcb15dc1">modifications</a> directly during the hackathon. </p>
<p>The other tasks during this week-end were (not necessarily in that order):</p>
<ul>
<li>I discussed with alanhaggai and gave him some ideas to fix his Archive::Zip module</li>
<li>I did a live demo of Debian packaging to ribasushi: I updated the Debian package <a href="http://packages.qa.debian.org/libd/libdbix-class-schema-loader-perl.html">libdbix-class-schema-loader-perl</a> from CPAN and uploaded it in Debian.</li>
<li>I presented how to package Perl modules for Debian. renormalist will package his own module <a href="https://metacpan.org/search?q=Data%3A%3ADPath">Data::Dpath</a> and its dependencies for Debian. I will sponsor his packages once they are available on Debian perl&#8217;s team git repository. Unless gregoa beats me to it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</li>
<li>I discussed with Slaven Rezic some binding weirdness found in Perl/Tk HList. <a href="https://metacpan.org/module/Config::Model::TkUI">Config::Model&#8217;s graphical interface</a> provide a viewer widget and and editor widget for configuration items. As expected, the viewer is invoked by a single left click. One would expect a double click to invoke the editor widget. But the double click bindinngdoes not owrk in HList when the single click is used. Currently the editor widget is invoked with a right-click, which is not user-friendly. According to Slaven, the bug might be hidden quite deep in Perl/Tk guts. Fixing it won&#8217;t be easy.</li>
<li>As a Debian/sid user, I&#8217;ve been quite spoiled: I&#8217;ve always had a recent Perl available on my system. I&#8217;ve neved had to compile Perl since my HPUX days back in last century. However, Config;:Model tests failed with Perl 5.15.9, a development version not available in Debian (sid is not that unstable). Thanks to Xavier Caron, I&#8217;ve learned about perlbrew and cpanminus to reproduce this bug and fix the issue. Many apologies to miyagawa for asking dumb questions about cpanm: the disctinction between runtime and build time does not apply to cpan minus. I guess that&#8217;s the drawback of wearing 2 hats (Debian dev hat and Perl dev hat): your brain may get confused and you conflate issues. Oops.
</li>
</ul>
<p>Many thanks to <a href="http://freeside.biz/">FreeSide</a> who sponsored my travel, to the hackathons organisers and to all the participants for their welcome.</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/hackathon/'>hackathon</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/441/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/441/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=441&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/04/05/my-activities-during-perlqa-hackathon-in-paris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>Config::Model and cme to help debian transitions</title>
		<link>http://ddumont.wordpress.com/2012/03/16/configmodel-and-cme-to-help-debian-transitions/</link>
		<comments>http://ddumont.wordpress.com/2012/03/16/configmodel-and-cme-to-help-debian-transitions/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 11:47:55 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[Config::Model]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[package]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=424</guid>
		<description><![CDATA[Hello As maintainer of libwx-scintilla-perl, I had to update the package to update a dependency declation to close bug #662427. The dependency was good enough for the package to work but it blocked the linpng15 transition. This is yet another detail to remember when updating package: whether the dependencies are impacted by a transition. As [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=424&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>As maintainer of <a href="http://packages.debian.org/sid/libwx-scintilla-perl">libwx-scintilla-perl</a>, I had to update the package to update a dependency declation to close <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662417" title="bug #662427">bug #662427</a>. The dependency was good enough for the package to work but it blocked the <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650601">linpng15 transition</a>.</p>
<p>This is yet another detail to remember when updating package: whether the dependencies are impacted by a transition. As I&#8217;m really bad at remembering such details, I&#8217;ve added the relevant check in the <a href="http://search.cpan.org/dist/Config-Model/lib/Config/Model/models/Debian/Dpkg/Control/Source.pod">dpkg control source model</a> used by <a href="http://search.cpan.org/dist/Config-Model/script/cme">cme</a>.</p>
<p>Now running &#8216;cme check dpkg&#8217; will warn you if a dependency impacts a transition. And &#8216;cme fix dpkg&#8217; will fix you dependency list as resquested by a transition.  Well, that holds true for the transition I&#8217;m aware of. Feel free to contact me if more transition checks are needed.</p>
<p>For those who are curious (or want to send me a patch for another transition), here&#8217;s the <a href="https://github.com/dod38fr/config-model/commit/1969417cdd697ce05c84c7f5df428fa832a8457e#L0L102" title="added transition check">actual implementation of these new checks</a>.</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/configmodel/'>Config::Model</a>, <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/dpkg/'>dpkg</a>, <a href='http://ddumont.wordpress.com/tag/package/'>package</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/424/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=424&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/03/16/configmodel-and-cme-to-help-debian-transitions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>Config::Model: new cme command is available</title>
		<link>http://ddumont.wordpress.com/2012/02/24/configmodel-new-cme-command-is-avaialable/</link>
		<comments>http://ddumont.wordpress.com/2012/02/24/configmodel-new-cme-command-is-avaialable/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 12:56:42 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Config::Model]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=413</guid>
		<description><![CDATA[new version of config-model with cme command<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=413&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>I&#8217;ve (finally) released a new version of <a href="http://search.cpan.org/dist/Config-Model/">Config::Model</a>. The main change for users is the deprecation of the config-edit program in favor of <a href="http://search.cpan.org/dist/Config-Model/script/cme">cme</a> program. Instead of using options, this cme uses command keywords like git, so users will have more possibilities while typing less. bash completion is provided for cme command and options. </p>
<p>Following Debian annoucement regarding the recommended format of <a href="http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/">Debian copyright file</a> (aka DEP-5), I&#8217;ve also updated the URL in <a href="http://search.cpan.org/dist/Config-Model/lib/Config/Model/models/Debian/Dpkg/Copyright.pod#Format">Debian copyright model</a>. If your package is already in a DEP-5 format, you can update the URL with this simple command:</p>
<p> cme fix dpkg-copyright</p>
<p>Check the <a href="https://github.com/dod38fr/config-model/wiki/Using-config-model#wiki-Debian_copyright_file_maintenance">wiki on github</a> for more example of cme command.</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/configmodel/'>Config::Model</a>, <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/dpkg/'>dpkg</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=413&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/02/24/configmodel-new-cme-command-is-avaialable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>Dpkg: edit debian/control description without worrying about leading &#8216;.&#8217; and &#8216; &#8216;</title>
		<link>http://ddumont.wordpress.com/2012/02/10/dpkg-edit-debiancontrol-description-without-worrying-about-leading-and/</link>
		<comments>http://ddumont.wordpress.com/2012/02/10/dpkg-edit-debiancontrol-description-without-worrying-about-leading-and/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 13:24:36 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Config::Model]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=408</guid>
		<description><![CDATA[Hello In Debian package, the debian/control file has a specific syntax where each line must begin with a space and paragraphs are separated by a single &#8216;.&#8217;. If you want to follow DEP-5 syntax for debian/copyright files, you have a similar problem when comes the time to fill the license text for creative-common license: it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=408&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>In Debian package, the debian/control file has a <a href="http://www.debian.org/doc/debian-policy/ch-controlfields.html">specific syntax</a> where each line must begin with a space and paragraphs are separated by a single &#8216;.&#8217;. If you want to follow DEP-5 syntax for debian/copyright files, you have a similar problem when comes the time to fill the license text for creative-common license: it&#8217;s easy to miss a space or a dot.</p>
<p>Let&#8217;s say I want to add a new section in the description of my package. Here&#8217;s the current description:</p>
<pre>
Description: module to automate definition of a DBIx::Class::Schema
 DBIx::Class::Schema::Loader is an extension to DBIx::Class that automates the
 definition of a DBIx::Class::Schema by scanning table schemas and setting up
 columns and primary keys appropriately. It supports MySQL, PostgreSQL, SQLite
 and DB2.
 .
 Bare table definitions are fairly straightforward, but relationship creation
 is somewhat heuristic, especially with respect to choosing relationship types
 and names, as well as join types. The relationships generated by this module
 will probably never be as well-defined as hand-generated ones.
</pre>
<p>I want to add &#8220;This package is awesome&#8221; but I don&#8217;t want to be bothered by leading dots and white spaces.</p>
<p>First, I go in the package directory, then check the syntax with <code>cme</code>:</p>
<pre>
$ cme check dpkg
</pre>
<p>Then create a loop directory, where the dpkg content will be mapped to a fuse directory:</p>
<pre>
$ mkdir loop
$ cme fusefs dpkg -fuse-dir loop/
Mounting config on loop/ in background.
Use command 'fusermount -u loop/' to unmount
$ cat loop/control/binary/libdbix-class-schema-loader-perl/Description 
DBIx::Class::Schema::Loader is an extension to DBIx::Class that automates the
definition of a DBIx::Class::Schema by scanning table schemas and setting up
columns and primary keys appropriately. It supports MySQL, PostgreSQL, SQLite
and DB2.

Bare table definitions are fairly straightforward, but relationship creation
is somewhat heuristic, especially with respect to choosing relationship types
and names, as well as join types. The relationships generated by this module
will probably never be as well-defined as hand-generated ones.
</pre>
<p>Then edit <code>loop/control/binary/libdbix-class-schema-loader-perl/Description</code> with your favorite editor.</p>
<p>For the sake of this blog, I will use <code>echo</code> to edit this file:</p>
<pre>
$ echo -e "\nThis module is awesome" &gt;&gt; loop/control/binary/libdbix-class-schema-loader-perl/Description
</pre>
<p>Now umount the loop (note that the actual debian/control is not changed before this step):</p>
<pre>
fusermount -u loop
</pre>
<p>Now the result:</p>
<pre>
$ cat debian/control 
[...]
Description: module to automate definition of a DBIx::Class::Schema
 DBIx::Class::Schema::Loader is an extension to DBIx::Class that automates the
 definition of a DBIx::Class::Schema by scanning table schemas and setting up
 columns and primary keys appropriately. It supports MySQL, PostgreSQL, SQLite
 and DB2.
 .
 Bare table definitions are fairly straightforward, but relationship creation
 is somewhat heuristic, especially with respect to choosing relationship types
 and names, as well as join types. The relationships generated by this module
 will probably never be as well-defined as hand-generated ones.
 .
 This module is awesome
</pre>
<p>Here&#8217;s another example to fill the license text for a license while respecting <a href="http://dep.debian.net/deps/dep5/">DEP-5 syntax</a>, (done after the cme command):</p>
<pre>
# creating this dir will create a new DEP-5 
# standalone license section with name CC-BY-30
mkdir loop/copyright/License/CC-BY-30
# fill the text part of the  license
wget http://creativecommons.org/licenses/by/3.0/legalcode -O - \
 | html2text -style pretty &gt; loop/copyright/License/CC-BY-30/text
$ fusermount -u loop
$ cat debian/copyright
[...]
License: CC-BY-30
 .
 .
 .
                                Creative_Commons
 .
 .
 Creative Commons Legal Code
 .
 .
 Attribution 3.0 Unported
[...]
</pre>
<p>And that&#8217;s it. (note that cme command is new and is available only from version 2.004 of Config::Model)</p>
<p>Of course, there&#8217;s more than a awy to do it: you can also run <code>cme edit dpkg</code> and add or edit license text in the GUI (or in an editor launched by the GUI). <code>cme</code> will take care of the syntax details.</p>
<p>All the best </p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/configmodel/'>Config::Model</a>, <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/package/'>package</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/408/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/408/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/408/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=408&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/02/10/dpkg-edit-debiancontrol-description-without-worrying-about-leading-and/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>SDL packaging team update: most SDL packages are now up-to-date</title>
		<link>http://ddumont.wordpress.com/2012/02/01/sdl-packaging-team-update-most-sdl-packages-are-now-up-to-date/</link>
		<comments>http://ddumont.wordpress.com/2012/02/01/sdl-packaging-team-update-most-sdl-packages-are-now-up-to-date/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 09:56:30 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[sdl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=394</guid>
		<description><![CDATA[Hello Thanks to the effort of Felix Geyer (debfx) and Manuel Montecelo (mafm), most of SDL packages in Debian unstable are now up-to-date. These guys did a really great job: most of the time, I could upload the packages they prepared without modification. These guys should become DD, they have the skills. Ok, debfx has [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=394&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Thanks to the effort of Felix Geyer (debfx) and Manuel Montecelo (mafm), most of <a href="http://qa.debian.org/developer.php?login=pkg-sdl-maintainers@lists.alioth.debian.org">SDL packages</a> in Debian unstable are now up-to-date. These guys did a really great job: most of the time, I could upload the packages they prepared without modification. These guys should become DD, they have the skills. Ok, debfx has started the process (congrats) and mafm is still thinking about it&#8230;</p>
<p>Anyway, here the messages for all those who gave up packaging new SDL games for Debian because of stale SDL packages: <strong><a href="http://wiki.debian.org/Teams/DebianSdlGroup">SDL team</a> is alive, the core SDL packages are now up-to-date, the wait is over.</strong></p>
<p>This is true also for Perl SDL games: I&#8217;ve uploaded yesterday the latest <a href="http://packages.qa.debian.org/libs/libsdl-perl.html">Perl bindings to SDL</a>. Unfortunately, this upload broke some games like frozen-bubble, pangzero and dizzy. But new versions compatible with new SDL perl are available upstream so theses games won&#8217;t be broken for long.</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a>, <a href='http://ddumont.wordpress.com/tag/sdl/'>sdl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=394&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2012/02/01/sdl-packaging-team-update-most-sdl-packages-are-now-up-to-date/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>Config::Model new command line: And the winner is &#8230;</title>
		<link>http://ddumont.wordpress.com/2011/12/16/configmodel-new-command-line-and-the-winner-is/</link>
		<comments>http://ddumont.wordpress.com/2011/12/16/configmodel-new-command-line-and-the-winner-is/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 12:12:15 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[config-model]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=403</guid>
		<description><![CDATA[Hello Following the suggestions provided after my post &#8220;What name for Config::Model’s new command line ? cfg or something else ?&#8220;, I&#8217;ve considered &#8220;cmc&#8221; and &#8220;cme&#8221; as a good candidates. But, &#8220;cmc&#8221; is used by a &#8220;C mol compiler&#8221; software (don&#8217;t ask me what it is&#8230;). &#8220;cme&#8221; is also a very good name. So the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=403&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Following the suggestions provided after my post <a href="http://ddumont.wordpress.com/2011/12/12/what-name-for-configmodels-new-command-line-cfg-or-something-else/">&#8220;What name for Config::Model’s new command line ? cfg or something else ?</a>&#8220;, I&#8217;ve considered &#8220;cmc&#8221; and &#8220;cme&#8221; as a good candidates. But, &#8220;cmc&#8221; is used by a &#8220;C mol compiler&#8221; software (don&#8217;t ask me what it is&#8230;). &#8220;cme&#8221; is also a very good name.</p>
<p>So the winner is <strong>&#8220;cme&#8221;</strong> </p>
<p>Next version of Config::Model will provide <code>/usr/bin/cme</code>. The old <code>config-edit</code> command will be provided for a few months to preserve backward compatibility.</p>
<p>Thanks to all people who took the time to reply <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/config-model/'>config-model</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/403/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=403&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2011/12/16/configmodel-new-command-line-and-the-winner-is/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>What name for Config::Model&#8217;s new command line ? cfg or something else ?</title>
		<link>http://ddumont.wordpress.com/2011/12/12/what-name-for-configmodels-new-command-line-cfg-or-something-else/</link>
		<comments>http://ddumont.wordpress.com/2011/12/12/what-name-for-configmodels-new-command-line-cfg-or-something-else/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 12:37:40 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[config-model]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=391</guid>
		<description><![CDATA[Config::Model author is wondering what name for a new command line interface for Config::Model<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=391&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>As Damyan mentioned last summer in Debconf, the current command interface to Config::Model Perl module is rather cumbersome as it involves quite a lot of typing.  First, <em>config-edit</em> command name is too long. Even with the help bash completion, this does not compare well with git or hg command. Then all operation require options. For instance, the -application option is required to specify what you will be working on. A <em>required option</em> is a good example of an oxymoron. Which may be funny but which is not user friendly&#8230;  </p>
<p>So, here&#8217;s the synopsis of the new command I&#8217;m working on:</p>
<pre>
# edit dpkg config with GUI (Tk or curses, or readline)
cfg edit dpkg 
  
# just check the validity of the file, show warnings
# and suggested fixes
# does not modify the file
cfg check dpkg
  
# check the file, remove deprecated parameters,
# migrate data to new parameters and save
cfg migrate dpkg 
  
# like migrate, but also apply all suggested fixes
cfg fix dpkg 

# like migrate and modify configuration 
# with command line argument
cfg modify dpkg source format="quilt (3.0)"
  
# access dpkg parameters through a fuse file
# system. data are saved when fs is unmounted
cfg fusefs dpkg fuse-dir

# dump configuration data in config-model format
cfg dump dpkg   

# list all available applications
cfg list 
  
# more general synopsis
cfg [ global_options ] command application [ options ] arguments
</pre>
<p>This synopsis use dpkg as an example, but it could be used for any of the available models (e.g. ssh, lcdproc, multistrap &#8230;).</p>
<p>The main question I have for you is: Is <strong>cfg</strong> name good ? I mean it&#8217;s short, descriptive enough. But it&#8217;s also quite ugly. Does anyone have a better idea ?</p>
<p>And what do you think of the synopsis shown above ? Are the sub-command name descriptive enough ?</p>
<p>All the best</p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/config-model/'>config-model</a>, <a href='http://ddumont.wordpress.com/tag/perl/'>Perl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/391/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/391/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/391/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=391&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2011/12/12/what-name-for-configmodels-new-command-line-cfg-or-something-else/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
		<item>
		<title>Debian SDL packaging team revival</title>
		<link>http://ddumont.wordpress.com/2011/11/19/sdl-team-revival/</link>
		<comments>http://ddumont.wordpress.com/2011/11/19/sdl-team-revival/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 17:21:49 +0000</pubDate>
		<dc:creator>dod</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[sdl]]></category>

		<guid isPermaLink="false">http://ddumont.wordpress.com/?p=383</guid>
		<description><![CDATA[Hello Most SDL packages are outdated, people are complaining in the BTS, and the team is mostly inactive. That&#8217;s bad news for my project. What can I do ? Well, it&#8217;s Debian project, I just have to step up. Thanks to Sam Hocevar, I&#8217;m now admin on Debian Alioth SDL packaging project. I&#8217;d like to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=383&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Most SDL packages are outdated, people are complaining in the BTS, and the team is mostly inactive.</p>
<p>That&#8217;s bad news for my project. What can I do ?</p>
<p>   Well, it&#8217;s Debian project, I just have to step up.</p>
<p>Thanks to Sam Hocevar, I&#8217;m now admin on Debian Alioth SDL packaging project.</p>
<p>I&#8217;d like to revive the team. (Note that I don&#8217;t have the bandwidth to be the team all by myself).</p>
<p>Here are the first steps I plan (mostly inspired by the way Debian-perl team is working):</p>
<ul>
<li>create a <a href="http://wiki.debian.org/Teams/DebianSdlGroup" title="SDL team page" target="_blank">SDL-team page</a> on debian wiki (done)</li>
<li>setup a SDL packaging git repo so that team members can collaborate more easily on packaging (on-going)</li>
<li>call for volunteers to help. (this message is the first step)</li>
<li>review and upload packages from team members</li>
</ul>
<p>Now, there are some ground rules I wish to push forward:</p>
<ul>
<li>any team member can work on any package maintained by the team. </li>
<li>just tell us on this list about any work you are doing (to avoid duplication)</li>
<li>send a mail on this list if you need a package to be reviewed for upload.</li>
<li>you can use SDL subversion repository to work on a package</li>
<li>you can also use SDL git repo to work on a package (please discuss with us for the migration steps)</li>
<li>once a package is migrated to git, it cannot go back to subversion.</li>
</ul>
<p>If you don&#8217;t agree with the above points, now is the time to say it.</p>
<p>Feel free to join by:</p>
<ol>
<li>Creating an account on <a href="http://alioth.debian.org" target="_blank">Alioth</a></li>
<li>request to join <a href="http://alioth.debian.org/projects/pkg-sdl/" target="_blank">sdl-team</a></li>
<li>Last but not least, send a short introduction mail to pkg-sdl-maintainers AT lists.alioth.debian.org so we can know each other. </li>
</ol>
<p>See you soon <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<br /> Tagged: <a href='http://ddumont.wordpress.com/tag/debian/'>debian</a>, <a href='http://ddumont.wordpress.com/tag/package/'>package</a>, <a href='http://ddumont.wordpress.com/tag/sdl/'>sdl</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ddumont.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ddumont.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ddumont.wordpress.com/383/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ddumont.wordpress.com&amp;blog=9917469&amp;post=383&amp;subd=ddumont&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ddumont.wordpress.com/2011/11/19/sdl-team-revival/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e1b47fe149d809e79fe37e488ac51eba?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ddumont</media:title>
		</media:content>
	</item>
	</channel>
</rss>
