pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedError with GIT Repository
11+ messages / 9 participants
[nested] [flat]
* Error with GIT Repository
@ 2010-06-10 14:42 Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
0 siblings, 1 reply; 11+ messages in thread
From: Luxenberg, Scott I. @ 2010-06-10 14:42 UTC (permalink / raw)
To: pgsql-hackers@postgresql.org; +Cc: Frost, Stephen <sfrost@noblis.org>
Greetings all,
I have been trying to create/run a build farm as part of a project I am
working on. However, I have noticed the primary git repostitory,
git.postgresql.org/git, does not seem to be working. Namely, whenever I
try to clone the directory, I receive this error:
Error: Unable to find 5e4933c31d3cd2750ee1793efe6eca43055fb273e under
http://git.postgresql.org/git/postgresql.git
Cannot obtain needed blob 5e4933c31d3cd2750ee1793efe6eca4305fb273e while
processing commit c5609c66ce2ee4fdb180be95721252b47f90499
Error: fetch failed.
I thought it would be prudent to notify the list so someone could
possibly check into this.
Thanks!
Scott Luxenberg
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
@ 2010-06-10 15:26 ` Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 19:23 ` Re: Error with GIT Repository Alvaro Herrera <alvherre@commandprompt.com>
2010-06-11 07:43 ` Re: Error with GIT Repository Leonardo F <m_lists@yahoo.it>
0 siblings, 3 replies; 11+ messages in thread
From: Andrew Dunstan @ 2010-06-10 15:26 UTC (permalink / raw)
To: Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>; +Cc: pgsql-hackers@postgresql.org, "Frost, Stephen" <sfrost@noblis.org>
Luxenberg, Scott I. wrote:
> Greetings all,
>
> I have been trying to create/run a build farm as part of a project I am
> working on.
That seems an odd thing to do since we have one ...
> However, I have noticed the primary git repostitory,
> git.postgresql.org/git, does not seem to be working. Namely, whenever I
> try to clone the directory, I receive this error:
>
> Error: Unable to find 5e4933c31d3cd2750ee1793efe6eca43055fb273e under
> http://git.postgresql.org/git/postgresql.git
> Cannot obtain needed blob 5e4933c31d3cd2750ee1793efe6eca4305fb273e while
> processing commit c5609c66ce2ee4fdb180be95721252b47f90499
> Error: fetch failed.
>
> I thought it would be prudent to notify the list so someone could
> possibly check into this.
>
>
>
Why are you cloning over http? Here is the best way to clone, which
seems to be working:
[andrew@sophia ]$ git clone --mirror
git://git.postgresql.org/git/postgresql.git
Initialized empty Git repository in /home/andrew/postgresql.git/
remote: Counting objects: 376865, done.
remote: Compressing objects: 100% (87569/87569), done.
remote: Total 376865 (delta 310187), reused 352950 (delta 287485)
Receiving objects: 100% (376865/376865), 178.73 MiB | 251 KiB/s, done.
Resolving deltas: 100% (310187/310187), done.
[andrew@sophia ]$
cheers
andrew
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
@ 2010-06-10 15:44 ` Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2 siblings, 1 reply; 11+ messages in thread
From: Stephen Frost @ 2010-06-10 15:44 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>; pgsql-hackers@postgresql.org
* Andrew Dunstan (andrew@dunslane.net) wrote:
> Luxenberg, Scott I. wrote:
> >I have been trying to create/run a build farm as part of a project I am
> >working on.
>
> That seems an odd thing to do since we have one ...
To clarify, he's setting up a build farm *member*. :)
> >However, I have noticed the primary git repostitory,
> >git.postgresql.org/git, does not seem to be working. Namely, whenever I
> >try to clone the directory, I receive this error:
> >
> >Error: Unable to find 5e4933c31d3cd2750ee1793efe6eca43055fb273e under
> >http://git.postgresql.org/git/postgresql.git
> >Cannot obtain needed blob 5e4933c31d3cd2750ee1793efe6eca4305fb273e while
> >processing commit c5609c66ce2ee4fdb180be95721252b47f90499
> >Error: fetch failed.
> >
> >I thought it would be prudent to notify the list so someone could
> >possibly check into this.
>
>
> Why are you cloning over http? Here is the best way to clone, which
> seems to be working:
Unfortunately for us, the port that git uses isn't currently allowed
outbound by our corporate firewall. I expect that to be true for other
PG users who want git and for some build-farm members, so I think we
really need to support git cloning over http.
As a side-note, it works just fine from git-hub's http mirror and that's
what we've been playing with, but I don't know if we want to recommend
that for build-farm members..
Thanks!
Stephen
Attachments:
smime.p7s (application/x-pkcs7-signature, 5.7K) download
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
@ 2010-06-10 16:15 ` Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Re: Error with GIT Repository Stephen Frost <sfrost@snowman.net>
0 siblings, 1 reply; 11+ messages in thread
From: Andrew Dunstan @ 2010-06-10 16:15 UTC (permalink / raw)
To: Stephen Frost <sfrost@noblis.org>; +Cc: Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>; pgsql-hackers@postgresql.org
Stephen Frost wrote:
> * Andrew Dunstan (andrew@dunslane.net) wrote:
>
>> Luxenberg, Scott I. wrote:
>>
>>> I have been trying to create/run a build farm as part of a project I am
>>> working on.
>>>
>> That seems an odd thing to do since we have one ...
>>
>
> To clarify, he's setting up a build farm *member*. :)
>
Aha. Amazing the difference one little word can make ...
>
> As a side-note, it works just fine from git-hub's http mirror and that's
> what we've been playing with, but I don't know if we want to recommend
> that for build-farm members..
>
>
>
I don't see why not. Buildfarm members are going to have to reset their
repos when we finally cut over in a few months. Luckily, this is a
fairly painless operation - blow away the repo and change the config
file and the script will resync as if nothing had happened.
cheers
andrew
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
@ 2010-06-10 16:20 ` Stephen Frost <sfrost@snowman.net>
2010-06-10 17:30 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
0 siblings, 1 reply; 11+ messages in thread
From: Stephen Frost @ 2010-06-10 16:20 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: Stephen Frost <sfrost@noblis.org>; Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>; pgsql-hackers@postgresql.org
* Andrew Dunstan (andrew@dunslane.net) wrote:
> I don't see why not. Buildfarm members are going to have to reset their
> repos when we finally cut over in a few months. Luckily, this is a
> fairly painless operation - blow away the repo and change the config
> file and the script will resync as if nothing had happened.
Should we stop bothering to offer http://git.postgresql.org then..? Or
do we expect it to get fixed and work correctly once we cut over and
rebuild? Also, perhaps we could list the git-hub option on the wiki
(http://wiki.postgresql.org/wiki/Other_Git_Repositories)?
(and, yea, it's the same me)
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 196B) download
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Re: Error with GIT Repository Stephen Frost <sfrost@snowman.net>
@ 2010-06-10 17:30 ` Magnus Hagander <magnus@hagander.net>
2010-06-11 17:12 ` Re: Error with GIT Repository Andres Freund <andres@anarazel.de>
0 siblings, 1 reply; 11+ messages in thread
From: Magnus Hagander @ 2010-06-10 17:30 UTC (permalink / raw)
To: Stephen Frost <sfrost@snowman.net>; +Cc: Andrew Dunstan <andrew@dunslane.net>; Stephen Frost <sfrost@noblis.org>; Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>; pgsql-hackers <pgsql-hackers@postgresql.org>
On Thu, Jun 10, 2010 at 18:20, Stephen Frost <sfrost@snowman.net> wrote:
> * Andrew Dunstan (andrew@dunslane.net) wrote:
>> I don't see why not. Buildfarm members are going to have to reset their
>> repos when we finally cut over in a few months. Luckily, this is a
>> fairly painless operation - blow away the repo and change the config
>> file and the script will resync as if nothing had happened.
>
> Should we stop bothering to offer http://git.postgresql.org then..? Or
No, we should not.
Especially if someone has a clue how to do it. The last time I fixed
it by runnin repack, but that didn't work this time. I have no clue
why it's asking for a file that doesn't exist.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Re: Error with GIT Repository Stephen Frost <sfrost@snowman.net>
2010-06-10 17:30 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
@ 2010-06-11 17:12 ` Andres Freund <andres@anarazel.de>
2010-06-11 17:19 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
0 siblings, 1 reply; 11+ messages in thread
From: Andres Freund @ 2010-06-11 17:12 UTC (permalink / raw)
To: pgsql-hackers@postgresql.org; +Cc: Magnus Hagander <magnus@hagander.net>; Stephen Frost <sfrost@snowman.net>; Andrew Dunstan <andrew@dunslane.net>; Stephen Frost <sfrost@noblis.org>; Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
On Thursday 10 June 2010 19:30:00 Magnus Hagander wrote:
> On Thu, Jun 10, 2010 at 18:20, Stephen Frost <sfrost@snowman.net> wrote:
> > * Andrew Dunstan (andrew@dunslane.net) wrote:
> >> I don't see why not. Buildfarm members are going to have to reset their
> >> repos when we finally cut over in a few months. Luckily, this is a
> >> fairly painless operation - blow away the repo and change the config
> >> file and the script will resync as if nothing had happened.
> >
> > Should we stop bothering to offer http://git.postgresql.org then..? Or
>
> No, we should not.
>
> Especially if someone has a clue how to do it. The last time I fixed
> it by runnin repack, but that didn't work this time. I have no clue
> why it's asking for a file that doesn't exist.
Does the repo run 'update-server-info' in some hook?
Andres
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Re: Error with GIT Repository Stephen Frost <sfrost@snowman.net>
2010-06-10 17:30 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
2010-06-11 17:12 ` Re: Error with GIT Repository Andres Freund <andres@anarazel.de>
@ 2010-06-11 17:19 ` Magnus Hagander <magnus@hagander.net>
2010-06-30 22:22 ` Re: Error with GIT Repository Daniel Farina <drfarina@acm.org>
0 siblings, 1 reply; 11+ messages in thread
From: Magnus Hagander @ 2010-06-11 17:19 UTC (permalink / raw)
To: Andres Freund <andres@anarazel.de>; +Cc: pgsql-hackers <pgsql-hackers@postgresql.org>; Stephen Frost <sfrost@snowman.net>; Andrew Dunstan <andrew@dunslane.net>; Stephen Frost <sfrost@noblis.org>; Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
On Fri, Jun 11, 2010 at 19:12, Andres Freund <andres@anarazel.de> wrote:
> On Thursday 10 June 2010 19:30:00 Magnus Hagander wrote:
>> On Thu, Jun 10, 2010 at 18:20, Stephen Frost <sfrost@snowman.net> wrote:
>> > * Andrew Dunstan (andrew@dunslane.net) wrote:
>> >> I don't see why not. Buildfarm members are going to have to reset their
>> >> repos when we finally cut over in a few months. Luckily, this is a
>> >> fairly painless operation - blow away the repo and change the config
>> >> file and the script will resync as if nothing had happened.
>> >
>> > Should we stop bothering to offer http://git.postgresql.org then..? Or
>>
>> No, we should not.
>>
>> Especially if someone has a clue how to do it. The last time I fixed
>> it by runnin repack, but that didn't work this time. I have no clue
>> why it's asking for a file that doesn't exist.
> Does the repo run 'update-server-info' in some hook?
Yup, it runs after every time it pulls from cvs.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Re: Error with GIT Repository Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Re: Error with GIT Repository Stephen Frost <sfrost@snowman.net>
2010-06-10 17:30 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
2010-06-11 17:12 ` Re: Error with GIT Repository Andres Freund <andres@anarazel.de>
2010-06-11 17:19 ` Re: Error with GIT Repository Magnus Hagander <magnus@hagander.net>
@ 2010-06-30 22:22 ` Daniel Farina <drfarina@acm.org>
0 siblings, 0 replies; 11+ messages in thread
From: Daniel Farina @ 2010-06-30 22:22 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; +Cc: Andres Freund <andres@anarazel.de>; pgsql-hackers <pgsql-hackers@postgresql.org>; Stephen Frost <sfrost@snowman.net>; Andrew Dunstan <andrew@dunslane.net>; Stephen Frost <sfrost@noblis.org>; Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
On Fri, Jun 11, 2010 at 10:19 AM, Magnus Hagander <magnus@hagander.net> wrote:
>>> Especially if someone has a clue how to do it. The last time I fixed
>>> it by runnin repack, but that didn't work this time. I have no clue
>>> why it's asking for a file that doesn't exist.
>> Does the repo run 'update-server-info' in some hook?
>
> Yup, it runs after every time it pulls from cvs.
Is this still a problem? I was just noticing this thread
unceremoniously died, and a long time ago now I remembering discussing
a problem involving the Postgres git mirror accumulating packfiles
eternally. It seemed that whatever repacking scheme was used would get
rid of loose objects, turning them into packs but never consolidate
packs.
Why not just run 'git gc'? This is probably the only quasi-regularly
required maintenance command, so much so that git (I think) runs it
from time to time when certain thresholds are passed in modern day.
(For a clone-source it is probably a good idea to run it a bit more
liberally)
fdr
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
@ 2010-06-10 19:23 ` Alvaro Herrera <alvherre@commandprompt.com>
2 siblings, 0 replies; 11+ messages in thread
From: Alvaro Herrera @ 2010-06-10 19:23 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: Luxenberg, Scott I. <scott.luxenberg@noblis.org>; pgsql-hackers <pgsql-hackers@postgresql.org>; Frost, Stephen <sfrost@noblis.org>
Excerpts from Andrew Dunstan's message of jue jun 10 11:26:59 -0400 2010:
> Why are you cloning over http? Here is the best way to clone, which
> seems to be working:
>
> [andrew@sophia ]$ git clone --mirror
> git://git.postgresql.org/git/postgresql.git
> Initialized empty Git repository in /home/andrew/postgresql.git/
In case you're a git-ignorant like me and are wondering why the above
does not produce a usable checkout, the complete recipe is here:
http://archives.postgresql.org/message-id/20090602162347.GF23972@yugib.highrise.ca
(in short, you need a git clone --reference)
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
^ permalink raw reply [nested|flat] 11+ messages in thread
* Re: Error with GIT Repository
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Re: Error with GIT Repository Andrew Dunstan <andrew@dunslane.net>
@ 2010-06-11 07:43 ` Leonardo F <m_lists@yahoo.it>
2 siblings, 0 replies; 11+ messages in thread
From: Leonardo F @ 2010-06-11 07:43 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-hackers@postgresql.org
> Why are you cloning over http?
Me too I've used http, since I'm behind a proxy and I couldn't
find a "simple" way of having the git:// method working behind
a proxy...
^ permalink raw reply [nested|flat] 11+ messages in thread
end of thread, other threads:[~2010-06-30 22:22 UTC | newest]
Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-06-10 14:42 Error with GIT Repository Luxenberg, Scott I. <Scott.Luxenberg@noblis.org>
2010-06-10 15:26 ` Andrew Dunstan <andrew@dunslane.net>
2010-06-10 15:44 ` Stephen Frost <sfrost@noblis.org>
2010-06-10 16:15 ` Andrew Dunstan <andrew@dunslane.net>
2010-06-10 16:20 ` Stephen Frost <sfrost@snowman.net>
2010-06-10 17:30 ` Magnus Hagander <magnus@hagander.net>
2010-06-11 17:12 ` Andres Freund <andres@anarazel.de>
2010-06-11 17:19 ` Magnus Hagander <magnus@hagander.net>
2010-06-30 22:22 ` Daniel Farina <drfarina@acm.org>
2010-06-10 19:23 ` Alvaro Herrera <alvherre@commandprompt.com>
2010-06-11 07:43 ` Leonardo F <m_lists@yahoo.it>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox