[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Error message when generating docbooks
From:       Freek de Kruijf <f.de.kruijf () gmail ! com>
Date:       2012-09-18 21:39:46
Message-ID: 1873049.LhzjD2Rvvu () eik122
[Download RAW message or body]

Op dinsdag 18 september 2012 19:27:50 schreef Albert Astals Cid:
> El Dimarts, 18 de setembre de 2012, a les 11:45:12, Yuri Chornoivan va
> 
> escriure:
> > Tue, 18 Sep 2012 10:44:11 +0300 було написано Freek de Kruijf
> > 
> > <f.de.kruijf@gmail.com>:
> > > I get the following error message when using scripts/update_xml for
> > > branch,
> > > right after starting the script.
> > > 
> > > Updating kdelibs root documentation
> > > remote: fatal: no such ref: KDE/4.9:doc
> > > remote: git upload-archive: archiver died with error
> > > tar: This does not look like a tar archive
> > > tar: Exiting with failure status due to previous errors
> > > 
> > > After that the generation goes OK.
> > 
> > KDE Git repositories have rather annoying problems with access during last
> > two months. It is sometimes impossible to generate docs for large Git
> > modules like kdeedu.
> > 
> > Please try later. It is possible that the repository become usable again
> > in a few minutes or few hours.
> 
> I suggest you to drop by #kde-sysadmin IRC channel if you can reproduce
> problems accessing git repositories, they should work fine. If you don't
> report problems they are not going to get fixed automagically.

The patch file for trunk is as follows:

--- scripts/populate_documentation.sh.org       2012-09-04 20:54:33.422764415 
+0200
+++ scripts/populate_documentation.sh   2012-09-18 23:31:43.313989065 +0200
@@ -8,7 +8,13 @@
                oldmd5=$4
                newmd5=`mktemp`
        fi
-       timeout 1h git archive --remote=$1 $2 | tar -x
+       # next test is true if there is no colon in the $2 parameter, 
otherwise the colon will be replaced by a space
+       if [ "${2%:*}" = "${2#*:}" ]; then
+               par="$2"
+       else
+               par="${2%:*} ${2#*:}"
+       fi
+       timeout 1h git archive --remote=$1 $par | tar -x
        res=$?
        if [ -z "$3" ]; then
                md5deep -rl . > $newmd5

-- 
fr.gr.

Freek de Kruijf

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic