rel-eng/bin/sign_unsigned.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
New commits: commit 1c859ec04f9cc8ff8fecb4c67461851d05f9b363 Author: Dennis Gilmore dennis@ausil.us Date: Mon Mar 30 20:13:26 2009 -0500
use certs from standard spacewalk location
diff --git a/rel-eng/bin/sign_unsigned.py b/rel-eng/bin/sign_unsigned.py index 9ed52af..da15b5e 100755 --- a/rel-eng/bin/sign_unsigned.py +++ b/rel-eng/bin/sign_unsigned.py @@ -710,9 +710,9 @@ class SignUnsigned(CliTool, KojiTool):
def cmd_default(self): self.tweak_options() - clientcert = '/etc/pki/pkgsigner/pkgsigner.pem' - clientca = '/etc/pki/pkgsigner/spacewalk-upload-ca.cert' - serverca = '/etc/pki/pkgsigner/spacewalk-upload-ca.cert' + clientcert = os.path.join(os.path.expanduser('~'), ".spacewalk.cert") + clientca = os.path.join(os.path.expanduser('~'), ".spacewalk-ca.cert") + serverca = os.path.join(os.path.expanduser('~'), ".spacewalk-ca.cert") self.koji_session.ssl_login(clientcert, clientca, serverca) # NEEDSWORK self.print_msg("Getting rpm list from koji") if self.options.builds:
commit 4c88b6bd9810e0a6527e01694de0966d8695e539 Author: Dennis Gilmore dennis@ausil.us Date: Mon Mar 30 20:07:22 2009 -0500
handle using either koji or brew
diff --git a/rel-eng/bin/sign_unsigned.py b/rel-eng/bin/sign_unsigned.py index 5da2af1..9ed52af 100755 --- a/rel-eng/bin/sign_unsigned.py +++ b/rel-eng/bin/sign_unsigned.py @@ -6,7 +6,10 @@ # Copyright (c) 2009 Red Hat
import base64 -import koji +try: + import koji +else: + import brew as koji import md5 import os import os.path
spacewalk-commits@lists.fedorahosted.org