Story #175
closed
As a user, I can specify mirrorlists for rpm repository feeds
Status:
CLOSED - CURRENTRELEASE
Description
++ This bug was initially created as a clone of Bugzilla Bug #869370 ++
Description of problem:
Description of problem:
Currently the rpm repository create --feed does not support mirrorlist urls, which are commonplace in yum.
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1. use mirrorlist as --feed url
2.
3.
Actual results:
repository is created, but broken.
Expected results:
pulp repository is able to mirror from any url delivered via mirrorlist.
Additional info:
- Groomed set to No
- Sprint Candidate set to No
Can we get this done over next few months? Would be nice to see this. Cliff.
- Priority changed from Normal to High
- Sprint Candidate changed from No to Yes
- Groomed changed from No to Yes
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
- Subject changed from [RFE] Request for the support of mirrorlists for rpm repository feeds to As a user, I can specify mirrorlists for rpm repository feeds
Should mirrorlist be a boolean that changes the semantic of --feed or should --mirrorlist take a url itself?
If --mirrorlist is a URL, how would --mirrorlist and --feed interact when they are both specified?
Probably the simplest user experience would be if the feed could be either a "baseurl" or a "mirrorlist" as defined in yum.conf. Hopefully the importer can easily detect which it is. Is there a need to add a new setting?
- Status changed from ASSIGNED to POST
- Sprint/Milestone set to 16
- % Done changed from 0 to 100
- Platform Release set to 2.7.0
- Status changed from POST to MODIFIED
- Status changed from MODIFIED to 5
- Status changed from 5 to 6
verified
[root@mgmt4 ~]# pulp-admin rpm repo create --repo-id centos7 --feed http://mirror.mojohost.com/centos/7/os/x86_64/
Successfully created repository [centos7]
[root@mgmt4 ~]# pulp-admin rpm repo sync run --repo-id centos7
+----------------------------------------------------------------------+
Synchronizing Repository [centos7]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[|]
... completed
Downloading repository content...
[==================================================] 100%
RPMs: 8652/8652 items
Delta RPMs: 0/0 items
... completed
Downloading distribution files...
[==================================================] 100%
Distributions: 6/6 items
... completed
Importing errata...
[-]
... completed
Importing package groups/categories...
[|]
... completed
Task Succeeded
Initializing repo metadata
[-]
... completed
Publishing Distribution files
[-]
... completed
Publishing RPMs
[==================================================] 100%
8652 of 8652 items
... completed
Publishing Delta RPMs
... skipped
Publishing Errata
[-]
... completed
Publishing Comps file
[==================================================] 100%
102 of 102 items
... completed
Publishing Metadata.
[-]
... completed
Closing repo metadata
[-]
... completed
Generating sqlite files
... skipped
Publishing files to web
[/]
... completed
Writing Listings File
[-]
... completed
Task Succeeded
- Status changed from 6 to 5
Preethi, please check the steps I provided you and check all the scenarios. Ping me in case you will need assistance.
- Status changed from 5 to CLOSED - CURRENTRELEASE
- Sprint/Milestone deleted (
16)
Also available in: Atom
PDF
Merge pull request #175 from bmbouter/693-delete-all-docs-except-index
Deletes all docs so users will clearly see the warning banner