Project

Profile

Help

Story #894

closed

Consolidate upload functionality of CLI and bindings

Added by bmbouter over 9 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

This represents a consolidation of the CLI to ease the burden on plugin writers. This is independent of the API changes and CLI updates described in #892 and #923.

The Plan

The main area of work is getting plugins out of the business of needing to implement anything specific for uploads. The CLI code in platform will provide a single command for "upload" that is not provided by plugins. It will take the same options as the /import_upload API allows.

Plugins will have a way to manifest the content names and optional parameters the user is required to specify, along with help text for each of the to be used by the CLI. Plugin writers are not expected to provide any code for this, just manifests which will be used by platform. Each plugin will document the content types it supports will document the way to use those fields specific to that content type.

Benefits

  • Uploading becomes a single command
  • All plugins will not have to do anything to support upload outside of the normal interfaces they need to make anyway, and specifying the content type upload manifest.
  • The CLI will become more consistent and the code will be de-duplicated as its moved to platform. This will resolve problems that we have currently such as the upload commands for puppet and rpm are very different from each other for no good reason.

Related issues

Blocked by Pulp - Story #892: Redesign of Uploads APICLOSED - WONTFIX

Actions
Actions #1

Updated by bmbouter over 9 years ago

  • Blocked by Story #892: Redesign of Uploads API added
Actions #2

Updated by bmbouter over 9 years ago

  • Subject changed from Rework CLI and bindings to use new Upload API (#892) to Consolidate upload functionality of CLI and bindings
  • Description updated (diff)
Actions #3

Updated by bmbouter over 9 years ago

  • Description updated (diff)
Actions #4

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #5

Updated by bmbouter over 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #6

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF