Skip to content

Use actual diff information instead of re-scanning the whole tree #4

Open
@jamwt

Description

@jamwt

Right now, to keep things simple, dryad uses the GitHub API to grab the entire file tree for whatever commit is at HEAD. It then checks every single file against the database to see if anything has changed.

A more optimal approach (especially for big repositories) would be to consume each commit on the target branch and actually use the commit's information about what file(s) changed. Then only reindex (or delete) those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficultLarger or more exploratory tasks/refactoringsenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions