FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-05-2010, 08:56 AM
Matthew Booth
 
Default Unable to push to git this morning

[mbooth@t500 virt-v2v (f14)]$ git push origin f14
Total 0 (delta 0), reused 0 (delta 0)
remote: C refs/heads/f14 mdbooth DENIED by refs/heads/f[0-9][0-9]
remote: error: hook declined to update refs/heads/f14
To ssh://mdbooth@pkgs.fedoraproject.org/virt-v2v
! [remote rejected] f14 -> f14 (hook declined)
error: failed to push some refs to
'ssh://mdbooth@pkgs.fedoraproject.org/virt-v2v'

I'm the owner of this package and I pushed to rawhide yesterday, so
permissions shouldn't be an issue.

On a related note, is there a fedpkg command which pushes to a branch?
The obvious 'fedpkg push' pushes only master regardless of which local
branch you're on:

[mbooth@t500 virt-v2v (f14)]$ fedpkg push
Everything up-to-date

Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-05-2010, 09:01 AM
Andreas Schwab
 
Default Unable to push to git this morning

Matthew Booth <mbooth@redhat.com> writes:

> [mbooth@t500 virt-v2v (f14)]$ git push origin f14

$ git push origin f14:f14/master

(It was a very bad idea to name the local branches differently than the
remote branches.)

Andreas.

--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-05-2010, 09:09 AM
Matthew Booth
 
Default Unable to push to git this morning

On 05/11/10 10:01, Andreas Schwab wrote:
> Matthew Booth<mbooth@redhat.com> writes:
>
>> [mbooth@t500 virt-v2v (f14)]$ git push origin f14
>
> $ git push origin f14:f14/master
>
> (It was a very bad idea to name the local branches differently than the
> remote branches.)

Actually, at the suggestion of hicham on #fedora-devel I re-cloned the
repo. The new clone added the following to .git/config which wasn't
present in the old clone:

+[push]
+ default = tracking

This caused 'fedpkg push' whilst in the f14 branch to push to the branch
you mention above, and it now works. I cloned this package quite a while
ago, so I'm guessing this is a subsequent change to fedpkg clone.

Thanks,

Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team

GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 11:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org