Skip to content

Switch to API First (cant make a discussion) #2277

@provenvelocity

Description

@provenvelocity

So the current structure of this code uses git clone, as primary way to retrieve the code. For GHEC customers this is a costly call. It can take several ( 4-8 ) API calls and internal cross process calls to get one git clone to function. While the alternative is to use the API call directly to do a clone of a ref only uses one API call and 1 auth call internaly. This is a drastic improvement in the total number of calls.

By switching this will help the load on all GHEC cusomters and also help github.com by reducing all those unn needed calls.

I would propos for all simple calls use api and for all more complex calls and setup's fall back to git clone.

Thanks
Joshua

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions