Skip to content

[Bioc-devel] GitHub and Bioc sync: issue with dup commit for the sva package

3 messages · Leonardo Collado Torres, Claire Ruberman, Turaga, Nitesh

#
Hi Nitesh,

After looking more closely, I went with option 1 that you clearly
outlined below. The cherry picked version of the history is now the
origin/master one at
https://github.com/jtleek/sva-devel/commits/master. From
http://bioconductor.org/developers/how-to/git/resolve-duplicate-commits/
my understanding is that now you have to force the Bioconductor git
history (upstream/master with the default setup) to match the one from
the sva-devel GitHub repo.

The only complicated commit was
https://github.com/jtleek/sva-devel/commit/e6b80f62d494f77465650cf3d624feaf8913e837
where I had to use the "theirs" strategy for many files.

At the end I added this commit
https://github.com/jtleek/sva-devel/commit/05cfab55c893b4280aaaa61ab703f3abd235889a
that bumps the version of the package to 3.29.1 on bioc-devel to
propagate Claire's recent changes.

Best,
Leo

PS I tried the git push -f upstream/master out of curiousity, and yup,
I can't do it:

$ git push -f upstream master
Counting objects: 111, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (54/54), done.
Writing objects: 100% (111/111), 19.58 KiB | 2.80 MiB/s, done.
Total 111 (delta 83), reused 62 (delta 56)
remote: Resolving deltas: 100% (83/83), completed with 38 local objects.
remote: FATAL: + refs/heads/master packages/sva l.collado-torres
DENIED by fallthru
remote: error: hook declined to update refs/heads/master
To git.bioconductor.org:packages/sva.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git at git.bioconductor.org:packages/sva.git'

PS2 I did push the master_backup branch to GitHub just in case we need
it later https://github.com/jtleek/sva-devel/tree/master_backup


On Sat, Aug 25, 2018 at 2:00 AM Turaga, Nitesh
<Nitesh.Turaga at roswellpark.org> wrote:
2 days later
#
Thank you, Leo!

On Mon, Aug 27, 2018 at 1:53 PM Leonardo Collado Torres <lcollado at jhu.edu>
wrote:

  
  
1 day later
#
Hi Leo,

You are right in that you cannot ?force? push to git.bioconductor.org.  I?ve just done this for you.

The git history looks clean and you can sync your Github and Bioc (http://bioconductor.org/developers/how-to/git/sync-existing-repositories/) for any further changes without any issues now. 

Let me know if you have trouble. 

Best regards,

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.