humm, I could swear that this script worked for me some months ago...
Unfortunately I have a very basic knowledge in scripting... can't help..
The workaround was to clone all by hand ;)
cheers,
Cristiano
On 03/10/12 08:49, Geoffrey De Smet wrote:
Turns out this is a known problem on mac:
# The gitUrlPrefix differs between committers and anonymous users.
Also it differs on forks.
# Committers on blessed gitUrlPrefix="git@github.com:droolsjbpm/"
# Anonymous users on blessed
gitUrlPrefix="git://github.com/droolsjbpm/"
# *TODO dynamic gitUrlPrefix detection does not work on mac*
cd ${scriptDir}
gitUrlPrefix=`git remote -v | grep --regex "^origin! .*(fetch)$ "`
gitUrlPrefix=`echo ${gitUrlPrefix} | sed 's/^origin\s*//g' | sed
's/droolsjbpm\-build\-bootstrap\.git\s*(fetch)$//g'`
I haven't found a way to fix it yet. Suggestions/pull requests welcome.
Op 03-10-12 13:28, Cristiano Gavião schreef:
> well, it is a bit strange.
>
> My git version is 1.7.11.1 in a macOS 10.6.8
>
> I tried with both:
> git clone
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git
>
> and
>
> git clone
git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git
>
> then
>
> $ ./droolsjbpm-build-bootstrap/script/git-clone-others.sh
>
> and the same result.
>
> So I added a echo in the git command to watch what is being called.
> that was the result:
>
> *git clone
git://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git
> (fetch)drools-planner.git drools-planner**
> *
> there is a strange (fetch) before the repository name !
>
>
>
> On 03/10/12 05:59, Geoffrey De Smet wrote:
>> IIRC, there was a but that it didn't work for non-developer users,
>> but I thought I fixed that?
>> In any case, it's base to avoid the HTTP url's when git cloning and
>> use the git url's instead.
>> The git url does differ between identified and anonymous - but the
>> script should be able to handle that.
>> If not, fixes welcome :)
>>
>> Op 03-10-12 10:42, Michael Anstis schreef:
>>> Hi,
>>>
>>> I just tried:
>>>
>>> mkdir ./temp
>>> cd ./temp
>>> git clone
https://github.com/droolsjbpm/droolsjbpm-build-bootstrap.git
>>> ./droolsjbpm-build-bootstrap/scripts/git-clone-other.sh
>>>
>>> Worked without problem.
>>>
>>> Maven: Apache Maven 3.0.3 (r1075438; 2011-02-28 17:31:09+0000)
>>> Git: git version 1.7.9.5
>>> Java: java version "1.6.0_24"
>>>
>>> With kind regards,
>>>
>>> Mike
>>>
>>> On 2 October 2012 22:07, Cristiano Gavião <cvgaviao(a)gmail.com
>>> <mailto:cvgaviao@gmail.com>> wrote:
>>>
>>> Hi,
>>>
>>> I want to investigate why I couldn't build my system using the
>>> latest
>>> snapshot of jbpm and drools..
>>>
>>> So, I cloned the
>>> git@github.com:droolsjbpm/droolsjbpm-build-bootstrap.git
>>> repository and
>>> I'm following the readme.md <
http://readme.md> file.
>>>
>>> When I try $
>>> droolsjbpm-build-bootstrap/script/git-clone-others.sh, I'm
>>> getting a error:
>>>
>>>
===============================================================================
>>> This directory already exists: droolsjbpm-build-bootstrap
>>>
===============================================================================
>>>
>>>
===============================================================================
>>> Repository: droolsjbpm-knowledge
>>>
===============================================================================
>>> Too many arguments.
>>>
>>> usage: git clone [options] [--] <repo> [<dir>]
>>>
>>> -v, --verbose be more verbose
>>> -q, --quiet be more quiet
>>>
>>>
>>> Am I missing something or the script is broken ?
>>>
>>> regards,
>>>
>>> Cristiano
>>>
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org <mailto:rules-users@lists.jboss.org>
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users