Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 688167 Details for
Bug 904657
"repo" command does not allow to specify gpg key location
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch to add "--gpgkey" option.
repo-gpgkey-option.patch (text/plain), 1.38 KB, created by
Marek Marczykowski
on 2013-01-26 21:03:06 UTC
(
hide
)
Description:
Proposed patch to add "--gpgkey" option.
Filename:
MIME Type:
Creator:
Marek Marczykowski
Created:
2013-01-26 21:03:06 UTC
Size:
1.38 KB
patch
obsolete
>Add --gpgkey option to repo command > >This will be used to verify packages by pungi, which have no other way to get >key location (no real .repo files). > >Signed-off-by: Marek Marczykowski <marmarek@invisiblethingslab.com> >Index: pykickstart-1.99.22/pykickstart/commands/repo.py >=================================================================== >--- pykickstart-1.99.22.orig/pykickstart/commands/repo.py >+++ pykickstart-1.99.22/pykickstart/commands/repo.py >@@ -131,7 +131,22 @@ class F14_RepoData(F13_RepoData): > > RHEL6_RepoData = F14_RepoData > >-F15_RepoData = F14_RepoData >+class F15_RepoData(F14_RepoData): >+ removedKeywords = F14_RepoData.removedKeywords >+ removedAttrs = F14_RepoData.removedAttrs >+ >+ def __init__(self, *args, **kwargs): >+ F14_RepoData.__init__(self, *args, **kwargs) >+ self.gpgkey = kwargs.get("gpgkey", None) >+ >+ def _getArgsAsStr(self): >+ retval = F14_RepoData._getArgsAsStr(self) >+ >+ if self.gpgkey: >+ retval += " --gpgkey=\"%s\"" % self.gpgkey >+ >+ return retval >+ > > class FC6_Repo(KickstartCommand): > removedKeywords = KickstartCommand.removedKeywords >@@ -253,3 +268,9 @@ class F15_Repo(F14_Repo): > removedAttrs = F14_Repo.removedAttrs > > urlRequired = False >+ >+ def _getParser(self): >+ op = F14_Repo._getParser(self) >+ op.add_option("--gpgkey", action="store", type="string") >+ return op >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 904657
: 688167