Skip to content

Tool: Git #654

@joshuadarron

Description

@joshuadarron

Implement a self-contained Git tool node that executes git operations without relying on the host environment having git or gh installed.

Motivation

We cannot assume that agent execution environments have git or gh pre-installed and configured. The Git node removes this environmental dependency by bundling or managing its own git runtime, ensuring consistent behavior across machines.

Capabilities

  • Clone repositories
  • Stage and commit changes
  • Push and pull from remotes
  • Branch management: create, checkout, merge, delete
  • Diff and log inspection
  • Authentication: SSH keys and token-based auth

Implementation Notes

  • Do not shell out to the host git binary. That use case is covered by the Shell node.
  • Consider a library-based approach: libgit2 bindings, isomorphic-git (JS), or pygit2 (Python) depending on what fits the node runtime.
  • Auth credentials should integrate with RocketRide's existing env/secrets system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nodeNode-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions