Skip to content

Homebrew Formula Creation #31

@Virviil

Description

@Virviil

Description

Create Homebrew formula to install oci2git from releases or build from source, making installation easy for macOS and Linux users.

Tasks

  • Create Homebrew formula file (oci2git.rb)
  • Configure formula to download from GitHub releases
  • Add fallback to build from source when release not available
  • Handle different architectures (x86_64, ARM64)
  • Add proper dependency management
  • Include tests in the formula
  • Submit to homebrew-core or create tap
  • Add installation instructions to README

Skills Required

  • Ruby programming (Homebrew formulas are Ruby)
  • Homebrew formula development
  • Package management understanding
  • Release artifact handling

Formula Requirements

  • Primary: Install from GitHub release binaries
  • Fallback: Build from source using Rust toolchain
  • Dependencies: Handle git, rust (for source builds)
  • Architecture: Support both Intel and Apple Silicon Macs
  • Linux: Support Homebrew on Linux

Implementation Details

class Oci2git < Formula
  desc "Convert OCI images to Git repositories"
  homepage "https://github.com/virviil/oci2git"
  
  # Platform-specific binary downloads
  # Source build fallback
  # Tests and dependencies
end

Testing

  • Test on macOS Intel and Apple Silicon
  • Test on Homebrew for Linux
  • Verify both binary and source installation paths

This is an intermediate task perfect for Hacktoberfest! 🎃

Hacktoberfest 2025 🍂

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthacktoberfestIssues perfect for Hacktoberfest contributions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions