guts-migrate 0.1.0

Migration tools for importing repositories from GitHub, GitLab, and Bitbucket to Guts
Documentation

guts-migrate

Migration tools for importing repositories to Guts.

Overview

This crate provides tools to migrate from:

  • GitHub - Repositories, issues, PRs, releases
  • GitLab - Full project migration
  • Bitbucket - Repository and metadata

Features

  • Preserves commit history
  • Migrates issues and pull requests
  • Transfers labels and milestones
  • Handles large repositories

Usage

use guts_migrate::{GitHubMigrator, MigrationConfig};

// Migrate from GitHub
let migrator = GitHubMigrator::new(github_token);
migrator.migrate("owner/repo", &guts_client).await?;

CLI

guts migrate github --repo owner/repo --token $GITHUB_TOKEN
guts migrate gitlab --project group/project --token $GITLAB_TOKEN

Part of Guts

This crate is part of Guts, a decentralized, censorship-resistant alternative to GitHub built on BFT consensus.

License

MIT OR Apache-2.0