Skip to content

Driver support #34

Closed
Closed

Description

@ubermuda

Implement a system of driver for being able to switch between git calls and libgit2

Should also be useful when we want to implement networked git calls

Activity

  1. alexandresalome commented on Mar 9, 2013

    @alexandresalome
    Member

    One first step toward this might be moving the run of command behind a driver.

  2. alexandresalome commented on Dec 29, 2013

    @alexandresalome
    Member

    Driver implementations:

    • ProcessBuilder
    • Commands over SSH
  3. removed this from the milestone on Jun 23, 2019
  4. lyrixx commented on Oct 14, 2026

    @lyrixx
    Member

    Done in gitlib 2.0 (#253): Repository takes a driver as its last argument, Driver\DriverInterface. CliDriver, the default, runs the git binary, and LibGit2Driver, experimental, runs libgit2 in-process through PHP's FFI extension: see "Choosing a driver". gitlib ships no driver for remote calls, like commands over SSH, but an application can write its own: see "Using your own driver". Closing, thanks for the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions