Bug 664023
| Summary: | [RFE] support non-rpm content uploads | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | unspecified | CC: | jason.dobies, skarmark, tsanders |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | Sprint 21 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 15:14:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 563609, 641987, 647488 | ||
|
Description
Daniel Mach
2010-12-17 18:45:39 UTC
Just adding a note, pulp now supports uploading any content type. If its has an rpm header it creates a package object, if not its treated as a generic file. To upload use, pulp-admin content upload To List, pulp-admin content list To delete orphaned, pulp-admin content delete To specifically add/remove files and package from and to repos, pulp-admin repo add_package/remove_package/add_file/remove_file Build: 0.144 verified [root@preethi ~]# rpm -q pulp pulp-0.0.144-1.fc14.noarch [root@preethi ~]# pulp-admin content Usage: pulp-admin <options> content <action> <options> Supported Actions: upload upload content to pulp server; list list content(packages/files) on pulp server; delete Delete content from the pulp server pulp-admin: error: no action given: please see --help [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo Usage: pulp-admin <options> repo <action> <options> Supported Actions: add_package Add package to a repository. remove_package Remove package from the repository. add_errata Add errata to a repository remove_errata Remove errata from the repository add_file Add file to a repository. remove_file Remove file from a repository. pulp-admin: error: no action given: please see --help [root@preethi ~]# [root@preethi ~]# pulp-admin content delete --csv=orphaned.csv Successfully delete content [grinder-0.0.81-1.fc14.noarch.rpm] from pulp server Successfully delete content [gofer-0.20-1.fc14.noarch.rpm] from pulp server Content with filename [grinder-0.0.81-1.noarch.rpm.1] could not be found on server; skipping delete Successfully delete content [pulp-cds-0.0.143-1.fc14.noarch.rpm] from pulp server Successfully delete content [antlr-2.7.7-6.fc12.x86_64.rpm] from pulp server [root@preethi ~]# Closing with current community release pulp-0.0.223 |