Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
lbarczio avatar

Claude Backport

  • 1 repo stars
  • Updated March 9, 2026
  • lbarcziova/claude-backport-poc

Backport upstream patches into RHEL/CentOS dist-git packages.

About

claude-backport helps backport upstream patches into RHEL/CentOS dist-git packages. A package maintainer uses it to carry fixes from upstream into a distribution's packaging workflow without doing the rebase and adaptation by hand.

  • Backports upstream patches
  • RHEL/CentOS dist-git
  • Package maintenance

Claude Backport by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add lbarcziova/claude-backport-poc
/plugin install claude-backport@claude-backport-poc

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars1
Last updatedMarch 9, 2026
Repositorylbarcziova/claude-backport-poc

What it does

Backport upstream patches into RHEL/CentOS dist-git packages.

README.md

Claude Backport POC

Claude Code plugin POC for backporting upstream patches to RHEL/CentOS dist-git packages.

Note: This plugin is intended to be run inside a VM, as it performs mock builds during the backport process.

Prerequisites

  • Claude Code CLI installed and configured
  • centpkg installed and configured
  • mock installed and configured
  • git with access to upstream repositories
  • podman (optional, for CVE reproducer testing)

Installation

Add the marketplace and install the plugin:

/plugin marketplace add https://github.com/lbarczio/claude-backport-poc
/plugin install claude-backport-poc@claude-backport

Verify the installation:

/plugin

Local Development

git clone https://github.com/lbarczio/claude-backport-poc.git
claude
/plugin marketplace add ./claude-backport-poc
/plugin install claude-backport-poc@claude-backport

Usage

From inside a dist-git repository clone:

/claude-backport:backport JIRA_ISSUE BRANCH PATCH_URL [REPRODUCER_URL]

Examples

# Basic backport
/claude-backport:backport RHEL-12345 c10s https://gitlab.com/libtiff/libtiff/-/commit/abc123.patch

# With CVE reproducer verification
/claude-backport:backport RHEL-67890 c10s https://github.com/openssl/openssl/commit/def456.patch https://raw.githubusercontent.com/example/cve-poc/main/reproducer.c

# Multiple patches (comma-separated)
/claude-backport:backport RHEL-11111 c10s https://github.com/curl/curl/commit/aaa.patch,https://github.com/curl/curl/commit/bbb.patch

What It Does

  1. Creates a working branch from the provided base branch
  2. Downloads and applies upstream patches using cherry-pick (preferred) or git-am (fallback)
  3. Updates the spec file with new Patch tags
  4. Verifies patches apply with centpkg prep
  5. Generates SRPM and runs a mock build
  6. (Optional) Reproduces the CVE before/after to verify the fix

Available Plugins

Plugin Description
claude-backport Backport upstream patches to RHEL/CentOS dist-git packages

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.