Skip to content

Optimize Dependency Cloning by Reusing Clones #2

@euforic

Description

@euforic

Problem

At present, our workflow clones dependencies every single time they're needed and subsequently deletes them after use. This process can be inefficient, especially if the dependencies don't change frequently.

Proposed Solution

To improve efficiency and reduce the operational overhead, we should consider modifying our approach:

  1. Clone Once: If a dependency doesn't already exist locally, clone it.
  2. Reuse: If a dependency has already been cloned previously, reuse the existing clone rather than fetching it again. This will save on network and processing overhead.
  3. Update: Periodically check for updates to dependencies and pull changes if needed.

By adopting this approach, we can reduce unnecessary network traffic, speed up operations, and make our process more efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions