Thread: Problem with sources.

Problem with sources.

From
pasman pasmański
Date:
When i try to fetch sources via git, there is an error:

error: Unable to find 676e3c735dec32ba0448fdd0faf9ace37c1fa792 under
http://git.postgresql.org/git/postgresql.git
Cannot obtain needed object 676e3c735dec32ba0448fdd0faf9ace37c1fa792
error: Fetch failed.


How to get current branch ?

------------
pasman


Re: Problem with sources.

From
Andrew Dunstan
Date:

On 08/09/2011 09:10 AM, pasman pasmański wrote:
> When i try to fetch sources via git, there is an error:
>
> error: Unable to find 676e3c735dec32ba0448fdd0faf9ace37c1fa792 under
> http://git.postgresql.org/git/postgresql.git
> Cannot obtain needed object 676e3c735dec32ba0448fdd0faf9ace37c1fa792
> error: Fetch failed.
>
>
> How to get current branch ?


I always use the git protocol, which is working fine:
   [andrew@ophelia ~]$ git clone   git://git.postgresql.org/git/postgresql.git ntestpg   Cloning into ntestpg...
remote:Counting objects: 418000, done.   remote: Compressing objects: 100% (78367/78367), done.   remote: Total 418000
(delta348625), reused 406551 (delta 337799)   Receiving objects: 100% (418000/418000), 119.93 MiB | 1.13 MiB/s, done.
Resolvingdeltas: 100% (348625/348625), done.
 

cheers

andrew




Re: Problem with sources.

From
Andrew Dunstan
Date:

On 08/09/2011 09:22 AM, Andrew Dunstan wrote:
>
>
> On 08/09/2011 09:10 AM, pasman pasmański wrote:
>> When i try to fetch sources via git, there is an error:
>>
>> error: Unable to find 676e3c735dec32ba0448fdd0faf9ace37c1fa792 under
>> http://git.postgresql.org/git/postgresql.git
>> Cannot obtain needed object 676e3c735dec32ba0448fdd0faf9ace37c1fa792
>> error: Fetch failed.
>>
>>
>> How to get current branch ?
>
>
> I always use the git protocol, which is working fine:
>
>    [andrew@ophelia ~]$ git clone
>    git://git.postgresql.org/git/postgresql.git ntestpg
>    Cloning into ntestpg...
>    remote: Counting objects: 418000, done.
>    remote: Compressing objects: 100% (78367/78367), done.
>    remote: Total 418000 (delta 348625), reused 406551 (delta 337799)
>    Receiving objects: 100% (418000/418000), 119.93 MiB | 1.13 MiB/s, 
> done.
>    Resolving deltas: 100% (348625/348625), done.
>
>


I just tested cloning over http, and it worked fine for me, although it 
took a while.

You can also pull from the clone at github, which is kept pretty up to 
date, and probably has better bandwidth, using
   git://github.com/postgres/postgres.git or   https://github.com/postgres/postgres.git

cheers

andrew



Re: Problem with sources.

From
pasman pasmański
Date:
Success !

I can't use git protocol, but
github via http works fine.

Thank you Andrew :)

------------
pasman