Package: ikiwiki
Version: 3.00
Severity: normal
Tags: patch

Running the setup results in this...

$ ikiwiki -setup /etc/ikiwiki/auto.setup
What will the wiki be named? wiki
What revision control system to use? mercurial
What wiki user (or openid) will be wiki admin? jae


Setting up wiki ...
Importing /home/jae/wiki into mercurial
* does not exist!
/etc/ikiwiki/auto.setup: failed to set up the repository with ikiwiki-makerepo

usage: ikiwiki [options] source dest
       ikiwiki --setup configfile

--

The problem is the hg add call in the ikiwiki-makerepo script.

        hg add * .hgignore

It seems hg (mercurial) doesn't like the * when there are no files present.
hg works on all files by default, so it seems like just leaving the arguments 
off the command would eliminate the error and do the same thing.

It is a simple change but I went ahead and attached a patch for the added
clarification.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
ii  libhtml-scrubber-perl      0.08-4        Perl extension for scrubbing/sanit
ii  libhtml-template-perl      2.9-1         HTML::Template : A module for usin
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  markdown                   1.0.1-7       Text-to-HTML conversion tool
ii  perl                       5.10.0-18     Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  gcc [c-compiler]            4:4.3.2-2    The GNU C compiler
ii  gcc-4.1 [c-compiler]        4.1.2-23     The GNU C compiler
ii  gcc-4.2 [c-compiler]        4.2.4-4      The GNU C compiler
ii  gcc-4.3 [c-compiler]        4.3.2-1      The GNU C compiler
ii  git-core                    1:1.5.6.5-1  fast, scalable, distributed revisi
pn  libauthen-passphrase-perl   <none>       (no description available)
ii  libc6-dev [libc-dev]        2.7-16       GNU C Library: Development Librari
pn  libcgi-formbuilder-perl     <none>       (no description available)
pn  libcgi-session-perl         <none>       (no description available)
pn  liblwpx-paranoidagent-perl  <none>       (no description available)
ii  libmail-sendmail-perl       0.79-5       Send email from a perl script
pn  libnet-openid-consumer-perl <none>       (no description available)
ii  libtimedate-perl            1.1600-9     Time and date functions for Perl
ii  libxml-simple-perl          2.18-1       Perl module for reading and writin
ii  mercurial                   1.0.1-5.1    Scalable distributed version contr
ii  subversion                  1.5.1dfsg1-1 Advanced version control system

Versions of packages ikiwiki suggests:
pn  dvipng                     <none>        (no description available)
ii  graphviz                   2.20.2-3      rich set of graph drawing tools
ii  libcrypt-ssleay-perl       0.57-1+b1     Support for https protocol in LWP
ii  libdigest-sha1-perl        2.11-2+b1     NIST SHA-1 message digest algorith
pn  libfile-mimeinfo-perl      <none>        (no description available)
ii  libhtml-tree-perl          3.23-1        represent and create HTML syntax t
ii  liblocale-gettext-perl     1.05-4        Using libc functions for internati
ii  libmailtools-perl          2.03-1        Manipulate email in perl programs
pn  libnet-amazon-s3-perl      <none>        (no description available)
pn  librpc-xml-perl            <none>        (no description available)
pn  libsearch-xapian-perl      <none>        (no description available)
pn  libtext-csv-perl           <none>        (no description available)
pn  libtext-typography-perl    <none>        (no description available)
pn  libtext-wikiformat-perl    <none>        (no description available)
pn  libxml-feed-perl           <none>        (no description available)
pn  perlmagick                 <none>        (no description available)
pn  polygen                    <none>        (no description available)
ii  python                     2.5.2-3       An interactive high-level object-o
ii  python-docutils            0.5-2         Utilities for the documentation of
pn  sparkline-php              <none>        (no description available)
ii  texlive                    2007.dfsg.1-4 TeX Live: A decent selection of th
ii  tidy                       20080116cvs-2 HTML syntax checker and reformatte
pn  viewvc | gitweb | viewcvs  <none>        (no description available)
pn  xapian-omega               <none>        (no description available)

-- no debconf information
--- ikiwiki-makerepo.orig       2009-01-02 13:39:33.000000000 -0500
+++ ikiwiki-makerepo    2009-01-02 13:44:54.000000000 -0500
@@ -75,7 +75,7 @@
        hg init "$srcdir"
        cd "$srcdir"
        echo .ikiwiki > .hgignore
-       hg add * .hgignore
+       hg add
        hg commit -m "initial import"
        echo "Directory $srcdir is now set up as a mercurial repository"
 ;;

Reply via email to