[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 22:12:16
Message-ID: 2885378.ZsWkYcagcg () eik122
[Download RAW message or body]

Op woensdag 19 september 2012 00:05:54 schreef Albert Astals Cid:
> El Dimarts, 18 de setembre de 2012, a les 23:05:37, Freek de Kruijf va
> 
> escriure:
> > 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.
> > 
> > I tried the following patch which did work.
> > 
> > --- scripts/populate_documentation.sh.org       2012-02-02
> > 10:44:01.431765688 +0100
> > +++ scripts/populate_documentation.sh   2012-09-18 22:49:48.887431636
> > +0200
> > @@ -8,7 +8,7 @@
> > 
> >                 oldmd5=$4
> >                 newmd5=`mktemp`
> >         
> >         fi
> > 
> > -       git archive --remote=$1 $2 | tar -x
> > +       git archive --remote=$1 ${2%:*} ${2#*:} | tar -x
> > 
> >         res=$?
> >         if [ -z "$3" ]; then
> >         
> >                 md5deep -rl . > $newmd5
> > 
> > The same should be applied to that file in trunk.
> 
> I'm trying to get sysadmin to install an even newer git server that should
> restore compatibility with the "old" syntax and thus mean no change in
> scripts. If I haven't them to update the stuff i'll have a look at your
> patches (a bit weird that we need different patches for trunk and stable,
> no?)

It appears that trunk contains a value in $2 that does not have a colon, so I 
needed to add a little more testing for trunk. In branch apparently all values 
of $2 contain a colon. So the patch could be the same. However the two scripts 
in branch and trunk differ right at that git command, trunk has "timeout 1h " 
in front of the git command.

-- 
vr.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