Package: chronicle Version: 4.6-2 Severity: wishlist Tags: patch Dear Maintainer,
thanks for chronicle. It was the only blog engine that survived an actually rather small set of tests. Details would make a longer rant-ish blog posting, so I need a blog engine ... hmwait. However, do you take feature patches? For a starter, I'd like to spread my input files across sub-directories. Using File::File::Rule introduces a new install dependency on libfile-find-rule-perl but otherwise makes this really simple: --- /usr/bin/chronicle +++ ../chronicle @@ -282,6 +282,7 @@ use Encode; use File::Basename; use File::Copy; +use File::Find::Rule; use File::Path; use Getopt::Long; use HTML::Template; @@ -776,15 +777,14 @@ # # Find the filenames. # - foreach my $file ( sort( glob( $CONFIG{ 'input' } . "/" . $pattern ) ) ) + my @files = File::Find::Rule + ->file + ->name ( $pattern ) + ->in ( $CONFIG{ 'input' } ); + foreach my $file ( sort @files ) { # - # Ignore directories. - # - next if ( -d $file ); - - # # Read the entry and store all the data away as a # hash element keyed upon the (unique) filename. # Worked for me very well Christoph -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.10.33 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages chronicle depends on: ii libhtml-template-perl 2.95-1 ii libtimedate-perl 2.3000-1 ii perl 5.18.2-2+b1 ii perl-modules 5.18.2-2 chronicle recommends no packages. Versions of packages chronicle suggests: pn libsoap-lite-perl <none> ii libtext-markdown-perl 1.0.26-1 pn libtext-textile-perl <none> pn libtext-vimcolor-perl <none> pn memcached <none> -- no debconf information
signature.asc
Description: Digital signature