Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-18 Thread Miroslav Suchy

Dne 15.4.2011 14:16, Michael Calmer napsal(a):

I have created  systemsmanagement:spacewalk:1.4 project in OBS

The repository URL is:

for openSUSE 11.4 (i586 and x86_64):
http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/1.4/openSUSE_11.4/

for openSUSE Factory(i586 and x86_64):
http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/1.4/openSUSE_Factory/

--


Super.
I will let you know if I will respin some 1.4 client package before 
final release.


Mirek

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-15 Thread Michael Calmer
Hi,

Am Donnerstag, 14. April 2011, 11:05:09 schrieb Miroslav Suchý:
 On 04/14/2011 10:27 AM, Michael Calmer wrote:

[...]

  When do you need to know the project name for 
  the announcement?
 
 It will be nice if you can provide me with url and project name soon
 (read as tomorrow, or at Monday) and you can build the packages later
 there. I will let you know at least one day before release.

I have created  systemsmanagement:spacewalk:1.4 project in OBS

The repository URL is:

for openSUSE 11.4 (i586 and x86_64):
http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/1.4/openSUSE_11.4/

for openSUSE Factory(i586 and x86_64):
http://download.opensuse.org/repositories/systemsmanagement:/spacewalk:/1.4/openSUSE_Factory/

-- 
Regards,

Michael Calmer

--
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575  - e-mail: michael.cal...@suse.com
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-15 Thread Jan Pazdziora
On Fri, Apr 15, 2011 at 01:31:41PM +0200, Michael Calmer wrote:
 Hi,
 
 Am Freitag, 8. April 2011, 14:49:30 schrieb Michael Calmer:
  Hi,
  
 
  rhn-client-tools:
 
 [...] 
  
  0003-modify-spec-file-to-build-on-SUSE.patch:
  Specfile work. Use SUSE rpm names and add some directories to the filelist 
  which does not exist on SUSE or does not exist during build.
 
 attached you can find a new version for this.

Pushed to master as 4f8ebf782cae9687c1cb7b779df159182b988a9d
and tagged as rhn-client-tools-1.5.3-1.

Thanks,

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-14 Thread Michael Calmer
Hi,

Am Dienstag, 12. April 2011, 21:49:48 schrieb Miroslav Suchy:
 Dne 8.4.2011 14:49, Michael Calmer napsal(a):
  I spend the last week to build the spacewalk client tools on openSUSE and
  create a project in openSUSE build service.
 
http://download.opensuse.org/repositories/systemsmanagement:/spacewalk/
 
  It is based on current git master and I want to provide you the patches.
 
 Can I use it official announcement of Spacewalk 1.4 as repo for SUSE 
 clients? Or in another words: are you willing to maintain it.

Yes, I am willing to maintain it.
 
 And are you planing to update it against master more often (similar to 
 nightly) or want to update it just on every release of Spacewalk. If the 
 former is true, then it will be better to have another project which 
 will contains packages which are/will be release in Spacewalk release.

I think I will use systemsmanagement:spacewalk as master and will do more 
often an update to current git master. 

I want to create a subproject for 1.4 which should be based on SPACEWALK-1.4 
branch. 

Do you have a deadline for 1.4? When do you need to know the project name for 
the announcement?

-- 
MFG

Michael Calmer

--
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575  - e-mail: michael.cal...@suse.com
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-12 Thread Miroslav Suchy

Dne 8.4.2011 14:49, Michael Calmer napsal(a):

I spend the last week to build the spacewalk client tools on openSUSE and
create a project in openSUSE build service.

  http://download.opensuse.org/repositories/systemsmanagement:/spacewalk/

It is based on current git master and I want to provide you the patches.


Can I use it official announcement of Spacewalk 1.4 as repo for SUSE 
clients? Or in another words: are you willing to maintain it.


And are you planing to update it against master more often (similar to 
nightly) or want to update it just on every release of Spacewalk. If the 
former is true, then it will be better to have another project which 
will contains packages which are/will be release in Spacewalk release.



BTW:
For those, who are unfamiliar with OBS. This is url of that project in OBS:
https://build.opensuse.org/project/show?project=systemsmanagement%3Aspacewalk


Mirek

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-11 Thread Miroslav Suchý
On 04/08/2011 05:10 PM, Michael Calmer wrote:
 Hi,
 
 Am Freitag, 8. April 2011, 14:49:30 schrieb Michael Calmer:
 Hi,


 0002-enhance-getOSVersionAndRelease-to-find-SUSE-distribu.patch:
 Add code to make _getOSVerionAndRelease work on SUSE
 
 This patch has a little typo. I have attached a fixed version.
 Sorry :-)

Committed.

Thanks for contributing.

-- 
Miroslav Suchy
Red Hat Satellite Engineering

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] [PATCH] build rhn-client-tools on openSUSE

2011-04-08 Thread Michael Calmer
Hi,

Am Freitag, 8. April 2011, 14:49:30 schrieb Michael Calmer:
 Hi,
 
 
 0002-enhance-getOSVersionAndRelease-to-find-SUSE-distribu.patch:
 Add code to make _getOSVerionAndRelease work on SUSE

This patch has a little typo. I have attached a fixed version.
Sorry :-)

-- 
Regards,

Michael Calmer

--
Michael Calmer
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
T: +49 (0) 911 74053 0
F: +49 (0) 911 74053575  - e-mail: michael.cal...@suse.com
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
From 4ea53dfc537e92fd870cd414fc901edb83f7d288 Mon Sep 17 00:00:00 2001
From: Michael Calmer m...@suse.de
Date: Mon, 4 Apr 2011 11:12:04 +0200
Subject: [PATCH 02/17] enhance getOSVersionAndRelease to find SUSE distributions

---
 .../src/up2date_client/up2dateUtils.py |   16 +++-
 1 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py b/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
index fc33ad1..f7d064f 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/up2dateUtils.py
@@ -32,11 +32,17 @@ else:
 osVersionRelease = (h['name'], h['version'], h['release'])
 return osVersionRelease
 else:
-raise up2dateErrors.RpmError(
-Could not determine what version of Red Hat Linux you \
-are running.\nIf you get this error, try running \n\n\
-\t\trpm --rebuilddb\n\n)
-
+for h in ts.dbMatch('Providename', distribution-release):
+osVersionRelease = (h['name'], h['version'], h['release'])
+# zypper requires a exclusive lock on the rpmdb. So we need
+# to close it here.
+ts.ts.closeDB()
+return osVersionRelease
+else:
+raise up2dateErrors.RpmError(
+Could not determine what version of Red Hat Linux you \
+are running.\nIf you get this error, try running \n\n\
+\t\trpm --rebuilddb\n\n)
 
 def getVersion():
 '''
-- 
1.7.3.4

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel