| Summary: | RFE: support product ID in repodata | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | dgregor, pkilambi, skarmark, tsanders |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | Sprint 27 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-24 20:15:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 563609 | ||
Supporting custom meta-data on a yum repo makes sense. We look at supporting adding/removing custom meta-data files, as well as preserving this data through syncs. Target: Sprint 25 In sprint 25 we added support for custom metadata Add, list, download and generate operations. We're waiting on dmach's patch to make it into createrepo to support remove metadata. More info can be found here: https://fedorahosted.org/pulp/wiki/CustomMetadata Leaving it on Assigned for Remove support Added support for remove metadata in Sprint27. This currently works only on fedora-15. Once the remove patch is ported to RHEL-5/6, pulp should automatically handle remove. build: 0.224 verified [root@preethi ~]# rpm -q pulp pulp-0.0.232-1.fc15.noarch [root@preethi ~]# [root@preethi ~]# pulp-admin repo Usage: pulp-admin <options> repo <action> <options> Supported Actions: generate_metadata schedule metadata generation for a repository add_metadata add a metadata type to an existing repository list_metadata list metadata type information associated to an existing repository download_metadata download a metadata type if available from an existing repository remove_metadata remove a metadata type from an existing repository pulp-admin: error: no action given: please see --help Pulp v1.0 is released Closed Current Release. Pulp v1.0 is released. |
Could you add support for adding productid to repodata? Product ID should be stored as a blob (in db? on disk?) and added to a repo during/after createrepo. Brief specs for an interface (modify to match Pulp interface design): productid.add(productid, repo_list) - returns: ??? (probably nothing) - raise an exception if adding productid to a repo which already contains one - add productid to the database, store it in each repo record - add it to repodata after each createrepo productid.remove(repo_list) - returns: {repo: productid} - raise an exception if any repo doesn't exist - remove productid files from repodata productid.get(repo_list) - returns: {repo: productid} Each change should send a repo change event.