Git Product home page Git Product logo

Comments (4)

tfoote avatar tfoote commented on July 28, 2024

Another workaround available to maintainers is to sync main to master.

You can use this action to keep main and master in sync and bloom would use the synced version. https://github.com/zofrex/mirror-branch

I've used it here: https://github.com/osrf/rocker/blob/main/.github/workflows/mirror-main-to-master.yaml

from bloom.

mjcarroll avatar mjcarroll commented on July 28, 2024

Another workaround available to maintainers is to sync main to master.

I think this is probably more painful, and we can pretty easily figure out what the default branch is from git.

A command like: git ls-remote --symref origin HEAD should get the ref of origin that corresponds to the "default" branch on github.

from bloom.

tfoote avatar tfoote commented on July 28, 2024

We just had a chance to chat about this. We used to use use the bloom branch to be compatible with integration in a source repository but that quickly turned out to be not a good move. We moved to master for better visibility when viewing on github.

We would like to go back to using the bloom branch for clarity the use case. But doing that change is a bigger lift than we actively want to invest in this right now. Especially with supporting migration paths. So for now we are going to keep the standard that bloom relies on using the master branch.

When we deploy new ros2-gbp repositories via terraform it creates an empty repository that bloom will eventually push to. Github won't let us set the default branch until the branch is created. The default branch defaults to the first one pushed, which if bloom does it, will be master. If an individual pushes a branch such as main first it will become the default.

For now we should stick with the expectation that the default branch in a release repo should be master and if there's one created manually otherwise we will recommend manually changing it to master.

from bloom.

tfoote avatar tfoote commented on July 28, 2024

Places where people have run into problems:

from bloom.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.