Version conflict when pushing to scQTLtools devel branch
1
0
Entering edit mode
XFWu • 0
@e2d32e0f
Last seen 2 days ago
China

Dear Bioconductor Maintainers:

I encountered a version conflict when trying to push updates to scQTLtools: Push modifications today but was rejected, so I used "--force" and received error:

"Error: Illegal version bump from '1.1.0' to '0.99.14'."

but Bioconductor website shows version 0.99.12 (matches my local version before modification).

Question: Why does the remote devel branch have a higher version (1.1.0) than my local (0.99.12)? Should I increment the local version to 1.1.1 when pushing changes to Bioconductor's devel branch? Thank you for your answer.

Additional details:

  1. Command used to push changes to Bioc:

    git push upstream main:devel
    
    To git.bioconductor.org:packages/scQTLtools.git
    ! [rejected]        main -> devel (fetch first)
    error: failed to push some refs to 'git.bioconductor.org:packages/scQTLtools.git'
    hint: Updates were rejected because the remote contains work that you do not
    hint: have locally. This is usually caused by another repository pushing to
    hint: the same ref. If you want to integrate the remote changes, use
    hint: 'git pull' before pushing again.
    hint: See the 'Note about fast-forwards' in 'git push --help' for details.
    
  2. Command used to push changes to Bioc in force:

    git push upstream main:devel --force
    
    Enumerating objects: 319, done.
    Counting objects: 100% (319/319), done.
    Delta compression using up to 12 threads
    Compressing objects: 100% (312/312), done.
    Writing objects: 100% (319/319), 2.42 MiB | 1.17 MiB/s, done.
    Total 319 (delta 171), reused 0 (delta 0), pack-reused 0 (from 0)
    remote: Resolving deltas: 100% (171/171), done.
    remote: Error: Illegal version bump from '1.1.0' to '0.99.14'.
    remote:
    remote: Check http://contributions.bioconductor.org/versionnum.html
    remote: for details.
    remote:
    To git.bioconductor.org:packages/scQTLtools.git
    ! [remote rejected] main -> devel (pre-receive hook declined)
    error: failed to push some refs to 'git.bioconductor.org:packages/scQTLtools.git'
    
  3. Command used to verify remote version:

    git show upstream/devel:DESCRIPTION | grep -i "^Version"
    
    Version: 1.1.0
    

    Current status:

  4. Local version (main branch): 0.99.14
  5. Remote devel branch (upstream/devel): 1.1.0
  6. Bioconductor website displays: 0.99.12
Bioconductor • 545 views
ADD COMMENT
0
Entering edit mode
shepherl 4.1k
@lshep
Last seen 1 day ago
United States

There is a Bioconductor release today. There were notifications on the bioc-devel mailing list https://stat.ethz.ch/pipermail/bioc-devel/2025-April/020980.html

The versions were bumped yesterday.

They built over night.

The website is updating now as the builds have finished and are now propagating

Yes you should sync your local versions with the versions at git.bioconductor.org and then push changes. Bioconductor does not allow force pushes

ADD COMMENT

Login before adding your answer.

Traffic: 421 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6