Giter VIP home page Giter VIP logo

Comments (4)

inferno-chromium avatar inferno-chromium commented on June 12, 2024 1

Just to clarify, are you saying I can start working on this issue now, but I should not worry about sharding at this time?

Not worry about right now. There are several other to pick from list - https://github.com/ossf/scorecard/issues?q=is%3Aissue+is%3Aopen+%22New+check%22 or https://github.com/ossf/scorecard/milestone/1
but whichever you pick, leave a comment in bug to avoid duplication/conflict. thanks @chrismcgehee for your contributions!

from scorecard.

ristomcgehee avatar ristomcgehee commented on June 12, 2024

I'm interested in taking this one on. Before I start, I'd like to discuss how to go about doing this.

I don't see anything on Github's API that would allow us to query for a repo's past owners. I think we'll need to store this data ourselves and have scorecard query for it. We could record the owners for the repos we track as part of the cron process and store it in GCS bucket. Then when scorecard runs, it could download the file(s) it needs from the bucket. Maybe not at first, but we will want to shard the data across files within the bucket so that scorecard can download a reasonable size chunk if it's only checking one repo.

If the repo being checked is not present in the saved data, we'd have to give an inconclusive result.

Feedback on this approach?

from scorecard.

naveensrinivasan avatar naveensrinivasan commented on June 12, 2024

I'm interested in taking this one on. Before I start, I'd like to discuss how to go about doing this.

I don't see anything on Github's API that would allow us to query for a repo's past owners. I think we'll need to store this data ourselves and have scorecard query for it. We could record the owners for the repos we track as part of the cron process and store it in GCS bucket. Then when scorecard runs, it could download the file(s) it needs from the bucket. Maybe not at first, but we will want to shard the data across files within the bucket so that scorecard can download a reasonable size chunk if it's only checking one repo.

If the repo being checked is not present in the saved data, we'd have to give an inconclusive result.

Feedback on this approach?

This is a good approach. But we are in the process of designing sharding and coming up with long-term plans to scale. I would recommend that we wait until then.

Thanks for picking up the issue and all your contributions @chrismcgehee!

from scorecard.

ristomcgehee avatar ristomcgehee commented on June 12, 2024

Just to clarify, are you saying I can start working on this issue now, but I should not worry about sharding at this time?

from scorecard.

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.