[Bioc-devel] R: Errors updating DaMiRseq package
mattia.chiesa at hotmail.it
Sat Sep 23 14:44:15 CEST 2017
thank you! Now it seems to work perfectly. I will check the effect tomorrow after the nighty build.
Just another little question, related with my issue: I solve it using
git merge --allow-unrelated-histories upstream/master
And then resolving conflicts:
git add DESCRIPTION
git commit -m "Fixed conflicts in version change"
However, I didnt delete any lines in DESCRIPTION. (between ===== and >>>>>>). Do you think it would be OK?
Da: Turaga, Nitesh<mailto:Nitesh.Turaga at RoswellPark.org>
Inviato: venerdì 22 settembre 2017 17:10
A: Mattia Chiesa<mailto:mattia.chiesa at hotmail.it>
Cc: bioc-devel at r-project.org<mailto:bioc-devel at r-project.org>
Oggetto: Re: [Bioc-devel] Errors updating DaMiRseq package
This should help you with the issue you are having. Please follow those steps.
> On Sep 22, 2017, at 11:02 AM, Mattia Chiesa <mattia.chiesa at hotmail.it> wrote:
> Dear all,
> I am the mantainer of the DaMiRseq package. I have some problems with GIT:
> I filled the form for ssh key some weeks ago and I guess everthinks is ok.
> $ git remote -v
> origin https://github.com/BioinfoMonzino/DaMiRseq.git (fetch)
> origin https://github.com/BioinfoMonzino/DaMiRseq.git (push)
> upstream git at git.bioconductor.org:packages/DaMiRseq.git (fetch)
> upstream git at git.bioconductor.org:packages/DaMiRseq.git (push)
> Now, I want to fix some minor bugs in the package (e.g. some words in the vignette) for the next release.
> Therefore, I performed changes and bumped the version of DESCRIPTION FILE to 1.1.2 (it is 1.1.1 in devel https://www.bioconductor.org/packages/devel/bioc/html/DaMiRseq.html ) and try to update both the Bioconductor and the exixting GitHub repository ( https://github.com/BioinfoMonzino/DaMiRseq )<https://github.com/BioinfoMonzino/DaMiRseq>. So, following the "Scenario 2" for the git transition ( https://github.com/Bioconductor/bioc_git_transition/blob/master/doc/scenario-2-push-to-github-gitbioc.md) I have just run:
> $ git add .
> $ git commit -m "message for commit"
> $ git push origin master
> Counting objects: 3, done.
> Delta compression using up to 12 threads.
> Compressing objects: 100% (3/3), done.
> Writing objects: 100% (3/3), 327 bytes | 0 bytes/s, done.
> Total 3 (delta 2), reused 0 (delta 0)
> remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
> To https://github.com/BioinfoMonzino/DaMiRseq.git
> 21d32c2..1890325 master -> master
> Everythink seems ok, but finally I ran:
> $ git push upstream master
> Enter passphrase for key '/c/Users/mchiesa/.ssh/id_rsa':
> To git.bioconductor.org:packages/DaMiRseq.git
> ! [rejected] master -> master (non-fast-forward)
> error: failed to push some refs to 'git at git.bioconductor.org:packages/DaMiRseq.git'
> hint: Updates were rejected because the tip of your current branch is behind
> hint: its remote counterpart. Integrate the remote changes (e.g.
> hint: 'git pull ...') before pushing again.
> hint: See the 'Note about fast-forwards' in 'git push --help' for details.
> I have also thought to "merge conflicts", but I got again an error message
> $ git merge upstream/master
> fatal: refusing to merge unrelated histories
> What should I do?
> Thank in advance,
> [[alternative HTML version deleted]]
> Bioc-devel at r-project.org mailing list
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]]
More information about the Bioc-devel