<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>RE: rtems source builde git repository</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello Chris,<BR>
I tried with:<BR>
<BR>
%source set rtems git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
<BR>
Now I get:<BR>
Creating source directory: sources/git<BR>
git: clone: git://git.nanotronic:rtems.git -> sources/git/git.nanotronic:rtems.git<BR>
error: git command failed (/usr/bin/git): 128<BR>
Build FAILED<BR>
  See error report: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt<BR>
error: git command failed (/usr/bin/git): 128<BR>
Build Set: Time 0:06:48.445824<BR>
Build FAILED<BR>
<BR>
Google sais that the ssh key might not be setup correctly.<BR>
FYI:<BR>
hoefle@wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ git clone git.nanotronic:rtems.git<BR>
Cloning into 'rtems'...<BR>
remote: Counting objects: 452048, done.<BR>
remote: Compressing objects: 100% (76658/76658), done.<BR>
remote: Total 452048 (delta 366194), reused 451708 (delta 365854)<BR>
Receiving objects: 100% (452048/452048), 62.37 MiB | 28.78 MiB/s, done.<BR>
Resolving deltas: 100% (366194/366194), done.<BR>
hoefle@wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ rm -Rf rtems/<BR>
hoefle@wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$ git clone git://git.nanotronic:rtems.git<BR>
Cloning into 'rtems'...<BR>
fatal: unable to connect to :<BR>
: Name or service not known<BR>
<BR>
Regards,<BR>
Marco<BR>
<BR>
-----Original Message-----<BR>
From: Chris Johns [<A HREF="mailto:chrisj@rtems.org">mailto:chrisj@rtems.org</A>]<BR>
Sent: Tue 26/08/2014 02:13<BR>
To: Hoefle Marco; users@rtems.org<BR>
Subject: Re: rtems source builde git repository<BR>
<BR>
On 25/08/2014 6:26 pm, Hoefle Marco wrote:<BR>
> Hello Chris,<BR>
> I just tried the latest commit from 23.08.<BR>
> Unfortunately it still fails with<BR>
><BR>
> error: malforned URL:<BR>
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
> Build FAILED<BR>
>    See error report: rsb-report-sparc-rtems4.10-kernel-4.10-1.txt<BR>
> error: malforned URL:<BR>
> git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
> Build Set: Time 0:05:35.003275<BR>
> Build FAILED<BR>
><BR>
><BR>
> We use gitolite as our repository management tool and thus we set our<BR>
> ssh config file as:<BR>
> hoefle@wheezy:~/projects/customers/unibern/cassis/clone/source_build_test/rtems-source-builder/rtems$<BR>
> cat ~/.ssh/config<BR>
> Host git.nanotronic<BR>
> HostName srv03<BR>
> User gitolite<BR>
> IdentityFile ~/.ssh/id_dsa-git<BR>
><BR>
> Cloning from command line and with a previous version of source builder<BR>
> works.<BR>
<BR>
The URL in your configuration needs to change. I cleaned up the parsing.<BR>
The current code in download.py is:<BR>
<BR>
    colon = url.find(':')<BR>
    if url[colon + 1:colon + 3] != '//':<BR>
       raise error.general('malforned URL: %s' % (url))<BR>
<BR>
which means there needs to be a '//' after the first ':' therefore you<BR>
need to use:<BR>
<BR>
  git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
<BR>
Can you please try this ?<BR>
<BR>
The reason is worked before was the simple fact that your git server<BR>
started with the word 'git'.<BR>
<BR>
Chris<BR>
<BR>
> regards,<BR>
> Marco<BR>
><BR>
><BR>
><BR>
><BR>
><BR>
> -----Original Message-----<BR>
> From: Chris Johns [<A HREF="mailto:chrisj@rtems.org">mailto:chrisj@rtems.org</A>]<BR>
> Sent: Tue 19/08/2014 14:46<BR>
> To: Hoefle Marco; users@rtems.org<BR>
> Subject: Re: rtems source builde git repository<BR>
><BR>
> On 19/08/2014 10:20 pm, Hoefle Marco wrote:<BR>
>  > Dear Chris,<BR>
>  > cloning rtems using git works (and worked also with the previous rtems<BR>
>  > source builder version):<BR>
><BR>
> I fixed some of the download code and this may now catch the URL.<BR>
><BR>
>  ><BR>
>  > hoefle@wheezy:/tmp/hoefle$ git clone git.nanotronic:rtems.git<BR>
>  > Cloning into 'rtems'...<BR>
>  > remote: Counting objects: 452048, done.<BR>
>  > remote: Compressing objects: 100% (76658/76658), done.<BR>
>  > remote: Total 452048 (delta 366194), reused 451708 (delta 365854)<BR>
>  > Receiving objects: 100% (452048/452048), 62.37 MiB | 29.90 MiB/s, done.<BR>
>  > Resolving deltas: 100% (366194/366194), done.<BR>
>  ><BR>
>  ><BR>
>  > this is the content of:<BR>
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt<BR>
>  ><BR>
>  ><BR>
> hoefle@wheezy:~/projects/customers/unibern/cassis/clone/source_build_test$<BR>
>  > cat<BR>
>  > ./rtems-source-builder/rtems/rsb-report-sparc-rtems4.10-kernel-4.10-1.txt<BR>
>  > RTEMS Tools Project - Source Builder Error Report<BR>
>  >   Build: error: malforned URL:<BR>
>  > git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
><BR>
> Following this ...<BR>
><BR>
> <A HREF="http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html#_git">http://www.rtems.org/ftp/pub/rtems/people/chrisj/source-builder/source-builder.html#_git</A><BR>
><BR>
> I would try:<BR>
><BR>
>    git://git.nanotronic:rtems.git?reset=hard?pull?branch=gr-4.10<BR>
><BR>
> as the URL the RSB config file.<BR>
><BR>
> Please update the RSB as I just fixed a bug Joel and Josh pointed out.<BR>
><BR>
> Chris<BR>
><BR>
><BR>
><BR>
><BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>