Skip to content

[Bioc-devel] git push denied

5 messages · Laurent Gatto, Turaga, Nitesh

#
Dear Bioconductor admins,

I tried to push to a data package to the Bioconductor git server,
leading to the following error

Counting objects: 1671, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1324/1324), done.
Writing objects: 100% (1482/1482), 76.14 MiB | 411.00 KiB/s, done.
Total 1482 (delta 832), reused 159 (delta 155)
remote: Resolving deltas: 100% (832/832), completed with 74 local objects.
remote: FATAL: + refs/heads/master packages/pRolocdata l.gatto DENIED by fallthru
remote: error: hook declined to update refs/heads/master
To git at git.bioconductor.org:packages/pRolocdata.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git at git.bioconductor.org:packages/pRolocdata.git'

The github repo is at https://github.com/lgatto/pRolocdata, in case this
is important.

Is this something I messed up or could it be a configuration issue?

Thank you in advance.

Best wishes,

Laurent

--
Laurent Gatto | @lgatt0
http://cpu.sysbiol.cam.ac.uk/
http://lgatto.github.io/
#
Hi Laurent, 

Are you sure you are using either of the private keys associated with these public keys? You have to make sure to use the correct private key.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDW56mKIG/pkMMXmkNAgMC1Obx8Tz4D2OAnmkQNBM98NftJeerOCoIvg+7Dqh/PGnDpwIDwW9qMhvq5IalHXr+o0/XB1upPl9J0Xj2XixGpG7HzXBNpCe5cEZlJHllAh8tWXbjTZ+he2ESs+vbD3EQY4x+A2ibfTzne58oQbHAUNw7o32jsfuAzJPmoPyEOUVR+PXczy3qJdsWngEFUIPEOM52AcvRKyXZ3WfgEHs1IvlOTIix4WS4FWbZVCExpwn4RIuVY3ZuW7CQ2DwrgT94mvknTGTU7/7Mr1KiS8nY0ItJN5Vm/HbVVzzXjGr/SF00VJh6m8+caF4Fh0YtKOiTF


ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDaAuEazAeHVhojI1FPZhoYGqXbcsNsKY5xypfccPo9Ge2VGzrRVGiNwVazklB0Sted+FB/hZnHPRBjXvNXJdyQ2VLCy5BIsVhNCiPDwN8Ny/Ay+59YKYPPRt47h63VDnJpOpTyCebr+rTl6T5TZuFzSv0M3COUBkB9LD6Emgb9M3Y+htLsyQccW5zw92w3M7x48QJEieWDZgWnLhk2iBOxSKpChE40VLsY1o5JtIjmFUk9z7dAyZLu2tak7iOdl0EBUkTsR1AmbiY9J+gcOzW+NmPFAzHjf+dCdzlcn/1zgjgPObjB1qGz1qPAPqCh89z0Gv4TsnMBWyt0G1EVS4DkM63EvIngmyRN7tTzsLvnAdgqfDfBFHV5oNzC6YTKdjX2UGAvkpui5rmF3NOZF3Dn9bMi8sS/KJrrbs1Im1ZH/ls6BZAK7pwhHCKxynMAFwBADffFpLN+eVp9SVcJKdPqMsjtA0Ehm9ddUtASlSKO+InBUDXmX4vJLtDX8GZSKvVoi0oVOl6eA/BK8IkcqLrAxqoZdbQuttL+PTZf0r4aN/tPV3ws+3k/TOsdKQO7CPkVMsDddvJAIE9GJIWuonnB/q3iz4SGH7wks+IZw/B2STP160P41TCvLRnHU3YIr1VnUDHC1thWkiP2sL+wH+P6Pa/aRFbkm3VvNrrXu4Pc1w==


(How to check if key pair matches:  https://serverfault.com/questions/426394/how-to-check-if-a-rsa-public-private-key-pair-matched)

Also check point #15 on http://bioconductor.org/developers/how-to/git/faq/.


Best,

Nitesh
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
#
On 20 March 2018 01:58, Turaga, Nitesh wrote:

            
Yes, I checked, and the keys are correct. Here's what I get in a cleanly
cloned and fetched repo

$ git push upstream master
To git at git.bioconductor.org:packages/pRolocdata.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git at git.bioconductor.org:packages/pRolocdata.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
$ git push -f upstream master
Counting objects: 1671, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (684/684), done.
Writing objects: 100% (1482/1482), 75.96 MiB | 329.00 KiB/s, done.
Total 1482 (delta 822), reused 1455 (delta 795)
remote: Resolving deltas: 100% (822/822), completed with 83 local objects.
remote: FATAL: + refs/heads/master packages/pRolocdata l.gatto DENIED by fallthru
remote: error: hook declined to update refs/heads/master
To git at git.bioconductor.org:packages/pRolocdata.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git at git.bioconductor.org:packages/pRolocdata.git'

Could it be related to the external storage devices, were the data and
inst/extdata are (used to?) be stores independently? Is this still the
case? I cloned directly from

  git at git.bioconductor.org:packages/pRolocdata.git

and these two directories are missing.

Laurent
--
Laurent Gatto | @lgatt0
http://cpu.sysbiol.cam.ac.uk/
http://lgatto.github.io/
#
Hi Laurent,

You cannot force push. Is you GitHub repo at a position where it needs to be synced to the Bioconductor repo?

If so, I can force push for you and sync.

Best,

Nitesh
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
#
On 20 March 2018 19:30, Turaga, Nitesh wrote:

            
I was able to push from a cloned bioc repo, but can't to
remotes/upstream. Could you force push for me, please.

Thanks

Laurent
--
Laurent Gatto | @lgatt0
http://cpu.sysbiol.cam.ac.uk/
http://lgatto.github.io/