-
Notifications
You must be signed in to change notification settings - Fork 507
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: Create a scorecard API #1683
Comments
+1.
I would absolutely love to have this accomplished in v5. This might require a significant amount of thought and effort though. @justaugustus do you think we can accomplish this by v5 timeline (end of Q2 - early Q3)? If so, a big +1 on this and let us know how we can help contribute here. |
For whatever reason, I often prefer to attack a problem by brute-forcing usage, instead of immediately trying to write a design doc (especially if the code is "newer"/has less guarantees/restrictions and doing the work will outstrip the value). Our closest consumers will help refine the API. With that in mind, I've already done the following:
I'm also taking a look at the scorecard-action: ossf/scorecard-action#107
Absolutely! Will keep you posted :) |
In witness we can simplify the UX around attesting scorecards with a public API. We are looing forward to this feature. |
That's awesome, @colek42! |
We would want to embed the scorecard into an attestor so the user would not have to maintain it is a separate tool. |
@colek42 -- Given https://github.com/testifysec/witness is cobra, this is maybe useful --> #1696 Am I correct in saying that what we want long-term is really the logic of Lines 74 to 163 in 241b0f4
Pushed into Lines 77 to 123 in 241b0f4
??? (Because that's what I was considering working on next :)) |
This issue is stale because it has been open for 60 days with no activity. |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
go-git
#1709Tracking requests based on consumers:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
From @justaugustus in #1680 (comment):
This presentation is worth a look: https://dave.cheney.net/practical-go/presentations/gophercon-israel.html#apidesign
Of note:
That said, we have a responsibility to design APIs that are hard to misuse.
ossf/scorecard-action#107 (cc: @rohankh532)
#1673 / #1245 / #1682 (cc: @colek42)
#1645 / ossf/allstar#114
#1645 just merged, which makes some decent steps in the right direction and I'll open a separate tracking issue for this if one doesn't already exist.
Disagree here and I've expressed the opinion in a few places, including the most recent (2022-02-24) biweekly meeting.
We've adopted SemVer-compliant versioning, which means regardless if we've enforce SemVer or not, consumers will have at least a baseline expectation that we are compliant. Whether that is true or not is a different story.
I think we should instead declare that the next major release version (v5.0.0) is the first release in which we will be SemVer-compliant and direct our efforts into designing the module in a way that we can ensure that.
I think we'll all agree that scorecard is a high-value project in a space with lots of eyes on it today, so we have a responsibility to those who consume it to make it as easy and clear to do so as possible.
cc: @ossf/scorecard-maintainers
The text was updated successfully, but these errors were encountered: