pulp / pulp/pulpcore

As a user, I can rsync content to remote servers

Open
#1,840 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 4h
Merged PRs (30d)
86

Description

Author: @bmbouter (bmbouter)

Redmine Issue: 5091, https://pulp.plan.io/issues/5091


Problem

To allow remote storage and serving of Pulp content it would be great if an exporter would rsync content to a remote location.

Design

In Pulp3 an 'exporter' can send content out of a Pulp system. An exporter named RsyncExporter should be created that takes the most important option that rsync accepts. Additionally the RsyncExporter takes either a 'repository' or 'repository_version' but not both. If 'repository' it will publish the latest repository_version.

TBD: which fields specifically?

Implementation

Internally it will write the entire repository to a temporary area on-disk and then shell out to rsync. Other ports of rsync-like functionality to Python I don't believe contain the optimization and stability of rsync itself.

On Demand Content

This feature does not work for on-demand content because the content must be present locally for rsync to ship it to the remote system.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Pulp 3's exporter design and the rsync options the issue identifies as important. Clarify which exporter fields are needed, including the repository versus repository_version choice, then verify that the exporter stages a complete local repository and sends it with rsync while excluding unsupported on-demand content.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
backend, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.