Skip to contentSkip to conversation

Unable to push to the repository?

DISCUSSION Richard Purdie 4 participants 11 messages May 7, 2011 – May 23, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'

Any ideas what's wrong?

Cheers,

Richard

#1 lore raw
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

Quoted 6 lines

Cheers,

Richard

#2 lore raw
Quoted 19 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 4 lines
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

OK I think I used wrong repo name probably that was it. Please retry and see if it works

Quoted 8 lines
Quoted 7 lines

Cheers,

Richard

#3 lore raw
Quoted 20 lines · Khem Raj
Quoted 19 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

OK I think I used wrong repo name probably that was it. Please retry and see if it works

No, still the same error :(

Richard

#4 lore raw
Quoted 23 lines · Richard Purdie
Quoted 22 lines · Khem Raj
Quoted 21 lines · Khem Raj
Quoted 18 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'

Any ideas what's wrong?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

OK I think I used wrong repo name probably that was it. Please retry and see if it works

No, still the same error :(

one more time. Now I have added description files.

Quoted 4 lines

Richard

#5 lore raw
Quoted 28 lines · Khem Raj
Quoted 26 lines · Richard Purdie
Quoted 25 lines · Khem Raj
Quoted 23 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

OK I think I used wrong repo name probably that was it. Please retry and see if it works

No, still the same error :(

one more time. Now I have added description files.

It worked this time, thanks.

Cheers,

Richard

#6 lore raw
Quoted 29 lines · Richard Purdie
Quoted 28 lines · Khem Raj
Quoted 26 lines · Richard Purdie
Quoted 25 lines · Khem Raj
Quoted 23 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

OK I think I used wrong repo name probably that was it. Please retry and see if it works

No, still the same error :(

one more time. Now I have added description files.

It worked this time, thanks.

and its broken again once more :(

Cheers,

Richard

#7 lore raw
Quoted 33 lines · Richard Purdie
Quoted 32 lines · Richard Purdie
Quoted 31 lines · Khem Raj
Quoted 29 lines · Richard Purdie
Quoted 27 lines · Khem Raj
Quoted 19 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 4 lines
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

OK I think I used wrong repo name probably that was it. Please retry and see if it works

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

No, still the same error :(

one more time. Now I have added description files.

It worked this time, thanks.

and its broken again once more :(

Its fixed now. The root cause has also been fixed, so I don't expect this to be a problem in the future.

Thanks,
Cliff

Signature · 2 lines
=================
http://bec-systems.com
#8 lore raw

Op 23 mei 2011, om 17:01 heeft Cliff Brake het volgende geschreven:

Quoted 37 lines
Quoted 35 lines · Richard Purdie
Quoted 34 lines · Richard Purdie
Quoted 33 lines · Khem Raj
Quoted 30 lines · Richard Purdie
Quoted 20 lines · Khem Raj
Quoted 19 lines · Khem Raj
Quoted 17 lines · Richard Purdie

Hi,

It seems something on the server was broken and I'm unable to push to the repository:

$ git push origin master:master
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 490 bytes, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: sed: can't read ./description: No such file or directory
remote: *** Project description file hasn't been set
remote: error: hook declined to update refs/heads/master
To ssh://[email protected]/openembedded-core
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://[email protected]/openembedded-core'
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Any ideas what's wrong?

hmmm I added ml hooks but they are same as classic oe so it should have worked but let me see.

OK I think I used wrong repo name probably that was it. Please retry and see if it works

No, still the same error :(

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

one more time. Now I have added description files.

It worked this time, thanks.

and its broken again once more :(

Its fixed now. The root cause has also been fixed, so I don't expect this to be a problem in the future.

Out of curiosity, what was the root cause?

#9 lore raw
Quoted 11 lines · Koen Kooi

Op 23 mei 2011, om 17:01 heeft Cliff Brake het volgende geschreven:

Quoted 6 lines

On Mon, May 23, 2011 at 10:43 AM, Richard Purdie

Quoted 1 line

and its broken again once more :(

Its fixed now.  The root cause has also been fixed, so I don't expect this to be a problem in the future.

Out of curiosity, what was the root cause?

Gitolite insists on creating the description file in the repo needed for the CIA script. In the past, this was created manually, and every time we pushed a gitolite change, it got deleted because gitolite did not know about it. Now that we have told gitolite to create the description file, everyone should be happy. I added notes to gitolite.conf to hopefully make this a little more obvious.

Cliff

Signature · 2 lines
=================
http://bec-systems.com
#10 lore raw
In reply to Cliff Brake
Quoted 2 lines · Cliff Brake

Its fixed now. The root cause has also been fixed, so I don't expect this to be a problem in the future.

Thanks Cliff! :)

Cheers,

Richard