Bug 1054086
| Summary: | Change Vendor tag | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] Copr | Reporter: | Miroslav Suchý <msuchy> | ||||||||
| Component: | backend | Assignee: | Miroslav Suchý <msuchy> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | unspecified | CC: | ignatenko | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | copr-1.25-1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-02-06 08:32:05 UTC | Type: | Bug | ||||||||
| 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: | 1028438 | ||||||||||
| Bug Blocks: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Miroslav Suchý
2014-01-16 08:30:23 UTC
Created attachment 853051 [details]
Proposed patch against master branch, but blocks by RHBZ #1028438
We have 2 way:
*
-> Copy original mock config
-> Parse it and add
config_opts['macros']['%vendor'] = 'Fedora Project COPR <coprname>'
For sure escaping vendor and auto-gen coprname
*
-> Implement Feature to mockchain ()
-> Add to cmdline backend/mockremote.py:327
-D "Vendor Fedora Project COPR <coprname>"
Second way preferred for me.
Miroslav, what do you think about first way ?
Created attachment 853053 [details]
[PATCH v2] proposed, but blocks by RHBZ #1028438
Oops. That patch wrong
Created attachment 853250 [details]
[PATCH] another way. add tag, when modify buildroot
This is another way ;)
I choosed different approach Igor :) Commited as 3888ac9. Vendor of packages in Copr will be: "Fedora Project COPR (%s/%s)" % (job.user_name, job.copr_name) Or so. ;) |