Coder Social home page Coder Social logo

Comments (5)

andrewcrook avatar andrewcrook commented on May 18, 2024 1

@paulkaefer

Apologies, brew is working different to what I expected I thought HEAD referred to --HEAD which should use the default branch i.e the HEAD ref being main on this repo seems that brew forces master. Anyway I have created a pull request that fixes it. Thanks.

from cowsay-files.

paulkaefer avatar paulkaefer commented on May 18, 2024

Hi @andrewcrook. I don't belong to @cowsay-org. Tagging @apjanke as the developer of the file you linked.

I'm closing this, as no changes are required here.

from cowsay-files.

paulkaefer avatar paulkaefer commented on May 18, 2024

@andrewcrook the default branch here is main. I see --branch master in your code snippet, so there must be somewhere that is assuming master is the default branch.
Screenshot 2023-09-11 at 1 33 29 PM

from cowsay-files.

paulkaefer avatar paulkaefer commented on May 18, 2024

@andrewcrook a quick skim of https://docs.brew.sh/Formula-Cookbook suggests there are ways to specify which branch the homebrew formula uses. Please open an issue or PR in https://github.com/cowsay-org/homebrew-cowsay!

from cowsay-files.

apjanke avatar apjanke commented on May 18, 2024

Yep, I'm the right contact for @cowsay-org and that https://github.com/cowsay-org/homebrew-cowsay repo. Thanks for the referral here.

Merged a fix for this from cowsay-org/homebrew-cowsay#1, using andrewcrook's fix. Looks to me like Homebrew's brew tool assumes that the default branch for "HEAD" formula's source repos is "master" and can't handle a default branch named "main", even though that's common these days. (Or maybe my original formula was obsolete in some way.)

Thanks, y'all!

from cowsay-files.

Related Issues (9)

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.