pulp / pulp/pulp-cli

Allow uploading multiple files at the same time (python index)

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

Nobody has claimed this yet.

feature request
Dominant language
Python
Stars
43
Forks
52
Avg merge
11h 38m
Merged PRs (30d)
11

Description

Summary

Currently, I can upload a single python package like this:

pulp python content upload \
  --relative-path "$(basename ${pkg})" --file "${pkg}" --repository $my_repo

After each upload, I have to wait for the corresponding Tasks to complete (which could take a few minutes depending on system load.)

At any given time, I need to upload two files. But, occasionally, I also need to upload many. Having the ability to upload multiple files at once could significantly improve my user experience.

Versions

Not sure.

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 with the pulp python content upload command and its current --relative-path, --file, and --repository usage. Trace how one upload and its Task are handled, then determine the supported input shape for multiple files. Done means users can submit multiple Python packages in one invocation without waiting for each upload separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.