Bug 563285
| Summary: | RFE: Yum repository for every "buildArch" task in Koji | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> | ||||
| Component: | yum | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | ffesti, james.antill, jpeeler+redhat, kzak, mads, maxamillion, tcallawa, tim.lauridsen | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-07-18 21:30:09 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: | |||||||
| Attachments: |
|
||||||
|
Description
Dave Malcolm
2010-02-09 17:46:54 UTC
this is a variation on the tmprepo plugin. or a variation on createrepo -i http://url/pkg1 -i http://url/pkg2 etc in either case it would be much simpler if koji, at the end of a build process just ran createrepo -d over the results. if koji does the above first then yum just needs a url an the tmprepo plugin. I have: % cat /etc/yum.repos.d/koji.repo [koji] name=Koji $basearch baseurl=http://koji.fedoraproject.org/static-repos/dist-rawhide-current/$basearch/ gpgcheck = false enabled=false [koji-32] name=Koji i386 baseurl=http://koji.fedoraproject.org/static-repos/dist-rawhide-current/i386/ gpgcheck = false enabled=false ...which generally takes a couple of hours, and if I can't wait that long recent yum's allow you to paste URLs directonly on the cmd line. As Seth says, for us to do any better it'd be really nice for koji to do the createrepo run. Created attachment 390496 [details]
script to download rpms from koji build and make yum metadata
What about something like this :)
koji supports "download-build" command now, all you need is koji download-build <pkg-ver-rel> && createrepo -d . to create a local repository from the build. yum and related packages are no longer actively developed. They are being replaced with dnf, dnf-utils, etc. I'm closing this bug because it's most likely never going to be fixed. If you still consider your bug report important, reopen it, please. yum and related packages are no longer actively developed. They are being replaced with dnf, dnf-utils, etc. I'm closing this bug because it's most likely never going to be fixed. If you still consider your bug report important, reopen it, please. |