[Bioc-devel] Unable to Push Error

James W. MacDonald jm@cdon @end|ng |rom uw@edu
Tue Feb 1 17:51:42 CET 2022


The error you are seeing has to do with the files in your local repository, not what's on either GitHub or the Bioconductor repository. 

Usually this happens when you haven't first pulled any commits on the remote repositories before you make changes locally. For example, you could have version 1.2.0 or whatever, and the devel version on Bioconductor might be at 1.3.0, because it's meant to be an odd middle number. If that were true, then in the DESCRIPTION file in your local repository you would see the version line bracketed with a bunch of <<<<<<<<<<<<<<<<<< to indicate where the merge conflict arose.

That's probably likely, as this is what is on Bioconductor:

Package: discordant
Version: 1.19.0
Date: 2016-10-21

And on your GitHub it's 1.19.1

Best,

Jim



-----Original Message-----
From: Bioc-devel <bioc-devel-bounces using r-project.org> On Behalf Of McGrath, Max
Sent: Tuesday, February 01, 2022 11:01 AM
To: Hervé Pagès <bioc-devel using r-project.org>
Subject: [Bioc-devel] Unable to Push Error

Hi all,

I am the new maintainer for the package "discordant" and have an update I am trying to push to BIOC devel. However, after fetching and merging the version on BIOCs master branch, when I try to push I get the error:


remote: Error: You cannot push without resolving merge conflicts.

remote:

remote: Please check the files in the commit pushed to the git-server

remote: for merge conflict markers like '<<<<<<<', '========', '>>>>>>>'.

remote:

To git.bioconductor.org:packages/discordant

 ! [remote rejected] master -> master (pre-receive hook declined)

error: failed to push some refs to 'git.bioconductor.org:packages/discordant'


Now, I've checked the files in the most updated version of the package (available at https://github.com/max-mcgrath/discordant ) both "manually" and with grep for the "<<<<<<< HEAD" string specified in BIOC's pre-receive hooks with no results. I do, however, get a result with the old version of the package currently available on BIOC. An unmerged commit was left in the old vignette when the package was made available on BIOC five years ago, see lines 104-108 here: https://github.com/siskac/discordant/blob/master/vignettes/Discordant_vignette.Rnw#L104 . I deleted this file during the update (switched to .Rmd), however it seems to still be causing issues (see deletion commit here: https://github.com/max-mcgrath/discordant/commit/f747838c6969bca4b63dd7f7d37ab458ac588812 ).


I'm not positive this is the problem, but if it is I have no clue how to fix it. I'm hoping someone here could lend some insight into the source of this issue and a potential solution.


Thank you for your time,


Max




	[[alternative HTML version deleted]]

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



More information about the Bioc-devel mailing list