#git-clone #automation #automaat #processor #repository #workspace #url


Git Clone processor for the Automaat automation utility

1 unstable release

0.1.0 Jun 9, 2019

#8 in #automaat

Used in automaat-server


241 lines

Automaat Processor: Git Clone

🚧 Work In Progress 🚧


An Automaat processor to clone a Git repository.

Using this crate in your Automaat workflow allows you to clone an external repository into the Context workspace.

Plaintext username/password authentication is supported for private repositories.


Clone the Automaat repository into the workspace of the created context, and assert that the repository is in the correct location.

Since this repository is open to the public, no credentials are required.

The workspace is a temporary directory created on your file system. See the Context documentation for more details.

use automaat_core::{Context, Processor};
use automaat_processor_git_clone::GitClone;
use url::Url;

let context = Context::new()?;
let repo_url = Url::parse("https://github.com/blendle/automaat")?;

let processor = GitClone {
  url: repo_url,
  username: None,
  password: None,
  path: Some("automaat-repo".to_owned())



Package Features

  • juniper – creates a set of objects to be used in GraphQL-based requests/responses.


~435K SLoC