-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: make scorecard brew formula #1364
Comments
I agree, this would be a great addition. But I don't think we have time now to maintain another repository and a project. |
agreed. We d'love to have it, but we don't have the resources to take it on ourselves right now. |
There is no need to maintain a repository btw because it will only hold these formulas. So, create a repository, and name it as |
Can the |
just place it under ossf organization, that's all I need IMHO. |
once you do this, I'll add the necessary section for releasing HomeBrew formulas with GoReleaser. |
The issue is that once we create the repo, there are going to be questions and issues which is something we have to take it up. That is my apprehension. |
I don't think so until we change the way we work with this repository, because this repository is going to be maintained by the GoReleaser only. |
I agree, but there are going to be users who are going to ask for some support. The way in which we integrate goreleaser we might break that integration. We need to test it part of every release. All of these are kinds of chores. |
I can maintain this repository if you want 🤩 |
That's very generous of you @developer-guy! Thank you for offering :) I would be very happy to have this feature for Scorecard. I vote that we go ahead with this. @laurentsimon @naveensrinivasan wdyt? |
Go for it, yeah! So we just need to create a |
it makes sense, I think there is no restriction about the naming, but I'm not sure about that. https://docs.brew.sh/Taps#repository-naming-conventions-and-assumptions |
Let me know the repo name, I can create one. |
I think it must be in the form of |
How about |
Or |
I think it must start with the
based on: https://docs.brew.sh/Taps#repository-naming-conventions-and-assumptions |
I see. Then, maybe |
Users might be able to install for example scorecard like the following way if we name this repository brew tap ossf/scorecard
brew install scorecard but if we name it like this brew tap ossf/tap
brew install scorecard |
What if ossf wants to support other brew packages? We need to think about that. |
That sounds great. My vote is for this option since its very intuitive and provides a better developer experience.
Those repos will be called |
Nope, there must be one repository for the organization to include all the formulas for projects maintained by the organization. So, we should create one repository, as I mentioned above, like |
I think the most suitable name for this is |
tap and formulas are two different things, tap means a repository for holding formulas, think that way. |
My vote is |
I see, didn't realize this was an org-wide thing. Ok, I also vote for |
Okay, then lets create the repository, and we can start working on this 🙋🏻♂️🤝 |
https://github.com/ossf/homebrew-tap created. @developer-guy I have sent the invite to you for the repository. |
Thanks Naveen! |
Let's give try through the demo repository |
you can run: $ brew tap developer-guy/tap
$ brew install scorecard |
yay! 🥳 @naveensrinivasan @azeemshaikh38 |
Cool do a PR! But what permission does the action needs to write to the other repository? |
just GitHub token IMHO, I used my own PAT to do that. |
closing it because we have scorecard brew packages. |
Is your feature request related to a problem? Please describe.
This is not related to a problem.
Describe the solution you'd like
scorecard project already creates releases by using the GoReleaser project, so, GoReleaser has already support for creating brew formulas for free1. The thing that needs to be done is just create a repository for storing these formulas called
tap
.Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
please feel free to assign this to me, we can do this 🙋🏻♂️
cc: @naveensrinivasan @Dentrax
Footnotes
https://goreleaser.com/customization/homebrew/ ↩
The text was updated successfully, but these errors were encountered: