Skip to content

[Bioc-devel] Encountering Issues with Github sync

4 messages · Krithika Bhuvaneshwar, Martin Morgan, Marcel Ramos

#
Hello,

We are the package maintaines for the CINdex package.  We have made changes
in our package to address the build errors for the upcoming release. The
latest code is here in our Gtithub account *https://github.com/ICBI/CINdex
<https://github.com/ICBI/CINdex>  . *I'm trying to sync it with the BioC
Github repo, but encountering errors. Would appreciate some help

These are the steps I did:

1) Updated code so that there are no build errors. Updated version
information in DESCRIPTION File (changed from 1.19.0 to 1.19.1). The latest
code is here in our Gtithub account *https://github.com/ICBI/CINdex
<https://github.com/ICBI/CINdex> *

2)  I generated new ssh keys , and then added the ssh information from my
*id_rsa.pub* file in this link.
https://git.bioconductor.org/BiocCredentials/account_activation/

3) I'm currently following the steps mentioned here:
bioconductor.org/developers/how-to/git/sync-existing-repositories/. *I have
an error when I try git fetch*

#Configure the ?remotes? of the GitHub clone. --- completed step
git remote add upstream git at git.bioconductor.org:packages/ICBI/CINdex.git

$ git remote -v
origin https://github.com/ICBI/CINdex (fetch)
origin https://github.com/ICBI/CINdex (push)
upstream git at git.bioconductor.org:packages/ICBI/CINdex.git (fetch)
upstream git at git.bioconductor.org:packages/ICBI/CINdex.git (push)

$ git fetch --all
Fetching origin
Fetching upstream
FATAL: R any packages/ICBI/CINdex k.bhuvaneshwar DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch upstream

Thanks,
Krithika
kb472 at georgetown.edu
#
The Bioconductor remote should not include 'ICBI,

    git remote remove upstream
    git remote add upstream git at git.bioconductor.org:packages/CINdex.git

?On 2/25/21, 11:40 AM, "Bioc-devel on behalf of Krithika Bhuvaneshwar" <bioc-devel-bounces at r-project.org on behalf of kb472 at georgetown.edu> wrote:

    Hello,

    We are the package maintaines for the CINdex package.  We have made changes
    in our package to address the build errors for the upcoming release. The
    latest code is here in our Gtithub account *https://github.com/ICBI/CINdex
    <https://github.com/ICBI/CINdex>  . *I'm trying to sync it with the BioC
    Github repo, but encountering errors. Would appreciate some help

    These are the steps I did:

    1) Updated code so that there are no build errors. Updated version
    information in DESCRIPTION File (changed from 1.19.0 to 1.19.1). The latest
    code is here in our Gtithub account *https://github.com/ICBI/CINdex
    <https://github.com/ICBI/CINdex> *

    2)  I generated new ssh keys , and then added the ssh information from my
    *id_rsa.pub* file in this link.
    https://git.bioconductor.org/BiocCredentials/account_activation/

    3) I'm currently following the steps mentioned here:
    bioconductor.org/developers/how-to/git/sync-existing-repositories/. *I have
    an error when I try git fetch*

    #Configure the ?remotes? of the GitHub clone. --- completed step
    git remote add upstream git at git.bioconductor.org:packages/ICBI/CINdex.git

    $ git remote -v
    origin https://github.com/ICBI/CINdex (fetch)
    origin https://github.com/ICBI/CINdex (push)
    upstream git at git.bioconductor.org:packages/ICBI/CINdex.git (fetch)
    upstream git at git.bioconductor.org:packages/ICBI/CINdex.git (push)

    $ git fetch --all
    Fetching origin
    Fetching upstream
    FATAL: R any packages/ICBI/CINdex k.bhuvaneshwar DENIED by fallthru
    (or you mis-spelled the reponame)
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    error: Could not fetch upstream

    Thanks,
    Krithika
    kb472 at georgetown.edu


    _______________________________________________
    Bioc-devel at r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/bioc-devel
#
Thank you for catching that !  That was very helpful

I have now completed Steps# 1 - 7 and Step # 9 from here:
*http://bioconductor.org/developers/how-to/git/sync-existing-repositories/
<http://bioconductor.org/developers/how-to/git/sync-existing-repositories/>
*(I think Step # 8 does not apply to me)

I don't exactly understand what Step # 10 is. Is this what I should do , or
can I skip this ? Please advise.


*10. Repeat for the release branch, replacing master with the name of the
release branch, e.g., RELEASE_3_6. It may be necessary to create the
release branch in the local repository.*

git checkout RELEASE_13_3
 git merge upstream/RELEASE_13_3
 git merge origin/RELEASE_13_3
 git push upstream RELEASE_13_3
 git push origin RELEASE_13_3


Thanks,
Krithika



On Thu, Feb 25, 2021 at 12:33 PM Martin Morgan <mtmorgan.bioc at gmail.com>
wrote:

  
  
#
Hi Krithika,

Regarding Step #10:

It is a good idea to have a release branch checkout in your GitHub 
(origin) repository
in case you need to commit bug fixes to that branch:

http://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/ 
<http://bioconductor.org/developers/how-to/git/bug-fix-in-release-and-devel/>

Best,

Marcel
On 2/25/21 3:02 PM, Krithika Bhuvaneshwar wrote:
---
Marcel Ramos
Bioconductor Core Team
Roswell Park Comprehensive Cancer Center
Dept. of Biostatistics & Bioinformatics
Elm St. & Carlton St.
Buffalo, New York 14263



This email message may contain legally privileged and/or...{{dropped:4}}