[Gta04-owner] Problem with gta04-kernel.git
Dr. H. Nikolaus Schaller
hns at goldelico.com
Thu May 8 14:47:21 CEST 2014
Hello,
Am 08.05.2014 um 13:59 schrieb Alexandre Roumiantsev:
> Hello
>
> I think, that problem not in size. Right now I have done a trick - I
> fetch kernel separately using http protocol without a problem. Somewhere
> is a difference between git and http.
Yes. They use different daemons and TCP/IP ports.
http: uses the httpd at port 80 and while git: uses the git-daemon on some other port.
I am aware of these differences:
* different access rights on server (http serves all files in a given subdirectory - git serves git repositories only in perhaps another subdirectory; httpd and git-daemon usually run with different user/group)
* http is sort of an unreliable protocol. There is no automatic retry if download fails, and it appears that git is not correctly handling a broken connection
* git also needs that a file git-daemon-export-ok exists
And the last wasn't true any more. I don't know exactly why it was missing, but I think it is automatically managed by Indefero. Because there, you can create git repositories for each project.
Any config difference gives the message you see. Even a typo in the repository name or a // instead of / will not differentiate the error messages.
I have now succeeded with both:
git clone git://git.goldelico.com/gta04-kernel.git
git clone git://git.goldelico.com/gta04-replicant.git
I think I will try to set up a cron task to create/check the git-daemon-export-ok file...
BR,
Nikolaus
>
> Best regards, Alexandre
>
>> Hi!
>>
>> There is no difference in the manifest configuration for those
>> repositories. They are all configured exactly the same.
>>
>> But a difference is, that the kernel repository is magnitudes larger
>> than the device/vendor/... repos, which might lead to errors. But
>> usually it worked for me.
>>
>> BR,
>> Lukas
>>
>> On 08.05.2014 13:14 UTC+0200, Alexandre Roumiantsev wrote:
>>> Hello
>>>
>>> Same.
>>> It looks something wrong with settings with gta04-kernel.git in Replicant Goldelico extensions (Local Manifest). I never has problems with
>>> gta04-replicant.git, gta04-replicant-device.git and gta04-replicant-vendor.git.
>>> But always with gta04-kernel.git.
>>> Only some tricks help me.
>>>
>>> Best regards, Alexandre.
>>>
>>>> I could not see a problem but have restarted the server. Please try again.
>>>>
>>>> On the Road --- hns
>>>>
>>>> Am 08.05.2014 um 12:00 schrieb Alexandre Roumiantsev <ran at mail.wplus.net>:
>>>>
>>>>> Hello
>>>>>
>>>>> It is not a first time I have a problem with gta04-kernel.git.
>>>>> Each time I have to do some trick to fetch/clone kernel from goldelico
>>>>> repo.
>>>>> Today I am preparing my system from scratch. I follow
>>>>> http://projects.goldelico.com/p/gta04-replicant/page/Replicant-4/
>>>>> and again get same problem. Repeat, that it happened not a first time.
>>>>> Please, check. Here is part of my console log:
>>>>> ......
>>>>> From git://git.goldelico.com/gta04-replicant-vendor
>>>>> * [new branch] replicant-4.2 -> goldelico/replicant-4.2
>>>>> Fetching project CyanogenMod/android_packages_apps_Contacts
>>>>> Fetching project CyanogenMod/android_hardware_msm7k
>>>>> Fetching projects: 99% (382/385) fatal: remote error: access denied or
>>>>> repository not exported: /gta04-kernel.git
>>>>> error: Cannot fetch gta04-kernel.git
>>>>>
>>>>> error: Exited sync due to fetch errors
>>>>> ran at ubuntu:~/replicant-4.2$ history | tail -5
>>>>> 2002 mkdir -p .repo/local_manifests
>>>>> 2003
>>>>> M="http://git.goldelico.com/?p=gta04-replicant.git;a=blob_plain;f=local_manifests/gta04-replicant-4.2.xml;hb=master"
>>>>> 2004 wget -O - $M > .repo/local_manifests/gta04.xml
>>>>> 2005 repo sync
>>>>> 2006 history | tail -5
>>>>> ran at ubuntu:~/replicant-4.2$
>>>>>
>>>>> Best regards, Alexandre
>>>>> _______________________________________________
>>>>> Gta04-owner mailing list
>>>>> Gta04-owner at goldelico.com
>>>>> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Gta04-owner mailing list
>>>>> Gta04-owner at goldelico.com
>>>>> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
More information about the Gta04-owner
mailing list