Please also be mindful that if you have already committed changes before doing a

git pull upstream master

to retrieve changes on git.bioconductor.org,  you may encounter merge conflicts 
(esp regarding package version number) that may need to be resolved before a

git push upstream master

would be allowed.  This generally involves resolving the merge conflict and 
re-committing the file that was in question.

Cheers,


Lori Shepherd - Kern

Bioconductor Core Team

Roswell Park Comprehensive Cancer Center

Department of Biostatistics & Bioinformatics

Elm & Carlton Streets

Buffalo, New York 14263

________________________________
From: Bioc-devel <bioc-devel-boun...@r-project.org> on behalf of Fabricio de 
Almeida <fabricio_almeidasi...@hotmail.com>
Sent: Thursday, April 7, 2022 3:24 PM
To: Krutik Patel <krutik.pa...@newcastle.ac.uk>; bioc-devel@r-project.org 
<bioc-devel@r-project.org>
Subject: Re: [Bioc-devel] Hook declined

Hi, Krutik.


Did you check if the local version of your package is up to date with the 
remote? I think `git fetch --all` would solve your problem.

This document can be helpful to you: 
https://secure-web.cisco.com/1gMIYYBfGMP2W4MLcP7L8fR2uStUheSMzyL94b7t6R7cfdaA6iYamCMixb5lzal4gqoC_K6OxCAJ4XDDw3n9BwQ9rKS-YYss6t0GMkrjGWcncN5NOC6AYtqdibK6_Xt0JtZphXroWG8G6GVNiURbmH209p0htc5XsWq-18OHBR9QEsShDUNCz7T9vuhhR3hwHyWSyZ2YOjboINd_WHxZ9nNfL7ohnPp8z4Y46gbik-hQqWAe8Vyr7F8lNMzdgwZc349trTRCjGlL8adb__066lZWrYB7j3eZI-fxaNff9wJzvTE2vtAMICdVwOvc2yUs-/https%3A%2F%2Fbioconductor.org%2Fdevelopers%2Fhow-to%2Fgit%2Fbug-fix-in-release-and-devel%2F


Kind regards,


=========================


Fabr�o de Almeida Silva, MSc.

PhD student in Bioinformatics (Ghent University, Belgium)

UGent-VIB Center for Plant Systems Biology

Personal website: 
https://secure-web.cisco.com/1ck1T8grztoW3AD0B7cImI4ySuDuxeP1m_7T4k1hLcyPLtVkYVjKKa5nX_SNxPUkx9OrFaDd3-c1f0rG4etRUuJeAukhgN8jn_uSUuxB1s16ncJGy0BFJU0HF5ebSLyNVJcWJJ3441AF6FwJwtovM6I1nnbaQG_WIudchicJkXmHvyBAHC139CAQ6CTXJGOGfGs_dp3Gt6ZAZSeJ4uy21Z3nYdgH5I58v-zP9chBxZpU9dfR1cno3Qux03y8vxD0Mhy-qPtPPmB3Ojb797H-cr05CpWW4feErziRfP421NVslLjamDS1DgP5fU123MHbv/https%3A%2F%2Falmeidasilvaf.github.io

________________________________
De: Bioc-devel <bioc-devel-boun...@r-project.org> em nome de Krutik Patel 
<krutik.pa...@newcastle.ac.uk>
Enviado: quinta-feira, 7 de abril de 2022 13:23
Para: bioc-devel@r-project.org <bioc-devel@r-project.org>
Assunto: [Bioc-devel] Hook declined

Dear Bioconductor,
I am the maintainer of the TimiRGeN package and am trying to push an update but 
I get a message saying that the hook is declined. I am not too sure what this 
means but would appreciate any help on this matter. I have copied some code 
from me trying to git below.
Many thanks,
Krutik
> git remote -v
origin g...@github.com:Krutik6/TimiRGeN.git (fetch)
origin g...@github.com:Krutik6/TimiRGeN.git (push)
upsteam g...@git.bioconductor.org:packages/TimiRGeN.git (fetch)
upsteam g...@git.bioconductor.org:packages/TimiRGeN.git (push)
> git push upsteam master
To g...@git.bioconductor.org:packages/TimiRGeN.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 
'g...@git.bioconductor.org:packages/TimiRGeN.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first 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 origin master
Everything up-to-date
> git push upsteam master --force
Counting objects: 76, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (75/75), done.
Writing objects: 100% (76/76), 8.86 KiB | 0 bytes/s, done.
Total 76 (delta 59), reused 1 (delta 0)
remote: FATAL: + refs/heads/master packages/TimiRGeN Krutik6 DENIED by fallthru
remote: error: hook declined to update refs/heads/master
To g...@git.bioconductor.org:packages/TimiRGeN.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 
'g...@git.bioconductor.org:packages/TimiRGeN.git'


Krutik Patel, PhD
Bioinformatician
Research Associate
Newcastle University, UK

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://secure-web.cisco.com/1SJMwVyA0bLZjNK4eJUUKEXtgtKczY72gMgZKmnz4XcBHHJmZUk6vV-4aosZD5ett7aQSDT04uhYo6QzutZLX3ckhFh0UD9glMxKs3L_pcSNVAcZW4qK1JqL0yOaJmOA3wyeyo0DtQArTrrHbQf_b3NvBkqiS0dDJHpHkflCldjMYexbuHt59kY3HrfZDOPQ3jZj_rYHXbJJsri99Lkev9721tzPSRAurXO3vj_AzpVuMc4lHAlSj1TJKA0UIoTUCBPl1nAdb17_f1Qdg97WQ-_WE63iQWxagxOCNJi0IKmDnDRvisovr6LOs6Xp-ZPPV/https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fbioc-devel

        [[alternative HTML version deleted]]



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.
        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to