Skip to content

Add GIT API #223

@jr1221

Description

@jr1221

Description

Add a GIT API to safely interact with the Odyssey-Configurations repository.

Acceptance Criteria

It works with Odyssey-Configurations. Bonus: Automatically clone the repository to the clap/CLI provided path if it doesn't exist.

Proposed Solution

Use a git client library. Add functions for:

  • Branch creation and switching
  • Fetching diffs
  • committing data to pre-configured and included files (metadata.json and configuration.json)
  • a thread/daemon to push/pull automatically when internet is available

Recommended a seperate git rs file then a thread in main which processes all requests to do things via a git object. alternatively mutex the git client.

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