rtems source builde git repository

Chris Johns chrisj at rtems.org
Tue Aug 26 00:13:55 UTC 2014


On 25/08/2014 6:26 pm, Hoefle Marco wrote:
> Hello Chris,
> I just tried the latest commit from 23.08.
> Unfortunately it still fails with
>
> error: malforned URL:
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
> Build FAILED
>    See error report: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
> error: malforned URL:
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
> Build Set: Time 0:05:35.003275
> Build FAILED
>
>
> We use gitolite as our repository management tool and thus we set our
> ssh config file as:
> hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$
> cat ~/.ssh/config
> Host git.nanotronic
> HostName srv03
> User gitolite
> IdentityFile ~/.ssh/id_dsa-git
>
> Cloning from command line and with a previous version of source builder
> works.

The URL in your configuration needs to change. I cleaned up the parsing. 
The current code in download.py is:

    colon = url.find(':')
    if url[colon + 1:colon + 3] != '//':
       raise error.general('malforned URL: %s' % (url))

which means there needs to be a '//' after the first ':' therefore you 
need to use:

  git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10

Can you please try this ?

The reason is worked before was the simple fact that your git server 
started with the word 'git'.

Chris

> regards,
> Marco
>
>
>
>
>
> -----Original Message-----
> From: Chris Johns [mailto:chrisj at rtems.org]
> Sent: Tue 19/08/2014 14:46
> To: Hoefle Marco; users at rtems.org
> Subject: Re: rtems source builde git repository
>
> On 19/08/2014 10:20 pm, Hoefle Marco wrote:
>  > Dear Chris,
>  > cloning rtems using git works (and worked also with the previous rtems
>  > source builder version):
>
> I fixed some of the download code and this may now catch the URL.
>
>  >
>  > hoefle at wheezy:/tmp/hoefle$ git clone git.nanotronic:rtems.git
>  > Cloning into 'rtems'...
>  > remote: Counting objects: 452048, done.
>  > remote: Compressing objects: 100% (76658/76658), done.
>  > remote: Total 452048 (delta 366194), reused 451708 (delta 365854)
>  > Receiving objects: 100% (452048/452048), 62.37 MiB | 29.90 MiB/s, done.
>  > Resolving deltas: 100% (366194/366194), done.
>  >
>  >
>  > this is the content of:
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
>  >
>  >
> hoefle at wheezy:~/projects/customers/unibern/cassis/clone/source_build_test$
>  > cat
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt
>  > RTEMS Tools Project - Source Builder Error Report
>  >   Build: error: malforned URL:
>  > git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
>
> Following this ...
>
> http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html#_git
>
> I would try:
>
>    git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10
>
> as the URL the RSB config file.
>
> Please update the RSB as I just fixed a bug Joel and Josh pointed out.
>
> Chris
>
>
>
>



More information about the users mailing list