git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* push problem for new repo on repo.or.cz
@ 2009-03-09 16:02 Michael J Gruber
  2009-03-09 16:14 ` Johannes Schindelin
  2009-03-09 16:51 ` Petr Baudis
  0 siblings, 2 replies; 6+ messages in thread
From: Michael J Gruber @ 2009-03-09 16:02 UTC (permalink / raw)
  To: Git Mailing List, Petr Baudis

Hi there

I have problems pushing into a new project on repo.or.cz. My user (mjg)
is added in the admin interface, the key is correct because I've been
using it for a while already for other projects (forks though). I'm
using a qualified refspec. What else could be wrong on my side, assuming
it's not the scripts on repo.or.cz? My git is 1.6.2.

Michael

git  push  git+ssh://repo.or.cz/srv/git/conformal.git master:master
Counting objects: 14, done.
Delta compression using 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (14/14), 11.50 KiB, done.
Total 14 (delta 3), reused 0 (delta 0)
error: unpack failed: unpacker exited with error code
To git+ssh://repo.or.cz/srv/git/conformal.git
 ! [remote rejected] master -> master (n/a (unpacker error))
error: unable to create temporary sha1 filename ./objects/a3: Permission
denied

fatal: failed to write object
error: failed to push some refs to
'git+ssh://repo.or.cz/srv/git/conformal.git'

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: push problem for new repo on repo.or.cz
  2009-03-09 16:02 push problem for new repo on repo.or.cz Michael J Gruber
@ 2009-03-09 16:14 ` Johannes Schindelin
  2009-03-09 16:46   ` Michael J Gruber
  2009-03-09 16:51 ` Petr Baudis
  1 sibling, 1 reply; 6+ messages in thread
From: Johannes Schindelin @ 2009-03-09 16:14 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: Git Mailing List, Petr Baudis

Hi,

On Mon, 9 Mar 2009, Michael J Gruber wrote:

> I have problems pushing into a new project on repo.or.cz. My user (mjg)
> is added in the admin interface, the key is correct because I've been
> using it for a while already for other projects (forks though). I'm
> using a qualified refspec. What else could be wrong on my side, assuming
> it's not the scripts on repo.or.cz? My git is 1.6.2.

I guess it is your impatience.

Users are not really added from the web interface, that would be 
dangerous, as the web application would need more permissions than it 
deserves.  Therefore, the web application writes to a file which is 
handled by a cron job with those permissions.

So, wait 10 minutes and try again; I am sure it will work then.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: push problem for new repo on repo.or.cz
  2009-03-09 16:14 ` Johannes Schindelin
@ 2009-03-09 16:46   ` Michael J Gruber
  0 siblings, 0 replies; 6+ messages in thread
From: Michael J Gruber @ 2009-03-09 16:46 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Git Mailing List, Petr Baudis

Johannes Schindelin venit, vidit, dixit 09.03.2009 17:14:
> Hi,
> 
> On Mon, 9 Mar 2009, Michael J Gruber wrote:
> 
>> I have problems pushing into a new project on repo.or.cz. My user (mjg)
>> is added in the admin interface, the key is correct because I've been
>> using it for a while already for other projects (forks though). I'm
>> using a qualified refspec. What else could be wrong on my side, assuming
>> it's not the scripts on repo.or.cz? My git is 1.6.2.
> 
> I guess it is your impatience.
> 
> Users are not really added from the web interface, that would be 
> dangerous, as the web application would need more permissions than it 
> deserves.  Therefore, the web application writes to a file which is 
> handled by a cron job with those permissions.
> 
> So, wait 10 minutes and try again; I am sure it will work then.

You mean like as in 360 seconds? I can't wait!!!

Well, actually, I tried several times, and it's been more like something
between half an hour and an hour now. The project's gitweb site is up,
so something has had the permissions to create something, so to say, or
else I would have suspected cronjob inflicted time quantisation or
backlog as you did. Which is why I suspected that I missed something
(such as having to set
core.allowDenialofPushToEmptyRepoWithoutExplicitForceOption to false).

OK, I'll try again tomorrow. How patient is that ;)

Michael

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: push problem for new repo on repo.or.cz
  2009-03-09 16:02 push problem for new repo on repo.or.cz Michael J Gruber
  2009-03-09 16:14 ` Johannes Schindelin
@ 2009-03-09 16:51 ` Petr Baudis
  2009-03-09 16:59   ` Johannes Schindelin
  1 sibling, 1 reply; 6+ messages in thread
From: Petr Baudis @ 2009-03-09 16:51 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: Git Mailing List

  Hello,

On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
> I have problems pushing into a new project on repo.or.cz. My user (mjg)
> is added in the admin interface, the key is correct because I've been
> using it for a while already for other projects (forks though). I'm
> using a qualified refspec. What else could be wrong on my side, assuming
> it's not the scripts on repo.or.cz? My git is 1.6.2.

  your user has actually not been added in the admin interface, please
try again.

  Best,

				Petr "Pasky" Baudis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: push problem for new repo on repo.or.cz
  2009-03-09 16:51 ` Petr Baudis
@ 2009-03-09 16:59   ` Johannes Schindelin
  2009-03-09 17:11     ` Michael J Gruber
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Schindelin @ 2009-03-09 16:59 UTC (permalink / raw)
  To: Petr Baudis; +Cc: Michael J Gruber, Git Mailing List

Hi,

On Mon, 9 Mar 2009, Petr Baudis wrote:

> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
> > I have problems pushing into a new project on repo.or.cz. My user 
> > (mjg) is added in the admin interface, the key is correct because I've 
> > been using it for a while already for other projects (forks though). 
> > I'm using a qualified refspec. What else could be wrong on my side, 
> > assuming it's not the scripts on repo.or.cz? My git is 1.6.2.
>
> your user has actually not been added in the admin interface, please try 
> again.

Indeed.  I should have checked before giving a smart-ass answer ;-)

Note: when adding a user, you have to enter the admin password...  Failing 
that, you will see exactly the same form, but a red warning saying that 
the user has not been added.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: push problem for new repo on repo.or.cz
  2009-03-09 16:59   ` Johannes Schindelin
@ 2009-03-09 17:11     ` Michael J Gruber
  0 siblings, 0 replies; 6+ messages in thread
From: Michael J Gruber @ 2009-03-09 17:11 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Petr Baudis, Git Mailing List

Johannes Schindelin venit, vidit, dixit 09.03.2009 17:59:
> Hi,
> 
> On Mon, 9 Mar 2009, Petr Baudis wrote:
> 
>> On Mon, Mar 09, 2009 at 05:02:55PM +0100, Michael J Gruber wrote:
>>> I have problems pushing into a new project on repo.or.cz. My user 
>>> (mjg) is added in the admin interface, the key is correct because I've 
>>> been using it for a while already for other projects (forks though). 
>>> I'm using a qualified refspec. What else could be wrong on my side, 
>>> assuming it's not the scripts on repo.or.cz? My git is 1.6.2.
>> your user has actually not been added in the admin interface, please try 
>> again.
> 
> Indeed.  I should have checked before giving a smart-ass answer ;-)
> 
> Note: when adding a user, you have to enter the admin password...  Failing 
> that, you will see exactly the same form, but a red warning saying that 
> the user has not been added.

Uhm, what I had done:

- added the user
- got back the same admin form /which now listed mjg as a user which had
been added/ (with a checkmark)
- after the push failed, went to the form again, hit update again, still
saw mjg listed as a user for the project.

So, there was no red warning, instead there was a confirmation.

OK, I went back now. mjg was not listed any more. Added it (again), now
things work, I'm happy, I shut up.

Well, what may have happened was that the red warning was displayed at
the top of the paage while the confirmation was listed at the bottom.

In any case, thanks for hosting!

Cheers,
Michael

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-09 17:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 16:02 push problem for new repo on repo.or.cz Michael J Gruber
2009-03-09 16:14 ` Johannes Schindelin
2009-03-09 16:46   ` Michael J Gruber
2009-03-09 16:51 ` Petr Baudis
2009-03-09 16:59   ` Johannes Schindelin
2009-03-09 17:11     ` Michael J Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).