[Spacewalk-devel] massive checkin

2009-02-04 Thread Jesus M. Rodriguez
I updated the header to 2009 and fixed an annoying whitespace after an * which caused users of IDEs to break checkstyle. So if you see 1700+ java files get pulled down it's normal :) jesus ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com http

[Spacewalk-devel] Problems getting the 'Edit Snippet' page to work correctly

2009-02-04 Thread Coe, Colin C. (Unix Engineer)
Hi all I'm seeking some more help with getting the Cobbler Snippets edit page to function correctly. I've based much of my work on Cobbler Snippets on the CryptoKey classes and jsp files. The current problem I have is when I click on a snippet hyperlink, the page displays but the snippet con

Re: [Spacewalk-devel] PGPORT: Porting NUMBER datatype to Postgres

2009-02-04 Thread Partha Aji
I generated an initial list of columns that were converted to bigint, integer and float from NUMERIC that ora2pg spit out a while ago I have attached the file.. It uses the space separated format TableName ColumnName DataType for example: db_change_script_expanded line_no bigint rhna

[Spacewalk-devel] Re: PGPORT: Porting tables; contributions needed

2009-02-04 Thread Gurjeet Singh
I am done with the rhnAction* tables, but they in turn depend on a lot of other objects. Tried to port those too, but the list just kept growing bigger. So I have committed the completed objects for now( and updated the list on wiki too). Commit ID: b38ce247a0c225918c83671f8e714e45c67a86b2 . In m

Re: [Spacewalk-devel] PGPORT: Porting NUMBER datatype to Postgres

2009-02-04 Thread Jason Dobies
> Hi All, > > Porting Oracle's NUMBER datatype to Postgres' numeric datatype > might seem very straight-forward. But the NUMERIC datatype is known to > have a huge performance impact on the query run-times. > > So we have decided to convert the number columns to > SMALLINT/INTEGER/BIGINT

[Spacewalk-devel] Re: PGPORT: Porting tables; contributions needed

2009-02-04 Thread Gurjeet Singh
Note to all who are porting the tables: Please remove any COMMIT commands you see in these sql files. I have encountered a few, like rhnActionStatus_data.sql where there's a COMMIT at the end of all the INSERTs. These commits are just going to mess-up the transaction we start in main.sql's. Best

[Spacewalk-devel] PGPORT: Porting tables; contributions needed

2009-02-04 Thread Jeff Ortel
All, Let's keep track of who is working which tables via the wiki: https://fedorahosted.org/spacewalk/wiki/PgportTables. I'm already loosing track trying to follow the posts on the list. Please go update with tables you are working on. Thanks, -jeff Devan Goodwin wrote: -BEGIN PGP SI

Re: [Spacewalk-devel] Re: PGPORT: Porting tables; contributions needed

2009-02-04 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Working on web_user_personal_info.sql and web_contact*.sql. Cheers, Devan On Tue, 3 Feb 2009 16:48:55 +0530 Gurjeet Singh wrote: > I am starting to work on the following set of tables: > > schema/spacewalk/rhnsat/tables/rhnAction*.sql > > Best r

Re: [Spacewalk-devel] Re: PGPORT: Porting tables; contributions needed

2009-02-04 Thread Vikram Rai
Hi, Just an FYI I have started working on the following tables: RHNVERSIONINFO : reference tables: RHNPACKAGEEVR RHNPACKAGENAME RHNVIRTSUBLEVEL RHNVIRTUALINSTANCE RHNVIRTUALINSTANCEEVENTLOG RHNVIRTUALINSTANCEEVENTTYPE RHNVIRTUALINSTANCEINFO RHNVIRTUALINSTANCEINSTALLLOG RHNVIRTUALINSTANCESTATE RH

[Spacewalk-devel] More info on my systems, w/ spacewalk .4

2009-02-04 Thread m.roth2006
Almost forgot: CentOS 5.2 rpm -qa | grep spacewalk spacewalk-config-0.4.24-1.el5 spacewalk-backend-0.4.22-1.el5 spacewalk-backend-sql-0.4.22-1.el5 spacewalk-backend-app-0.4.22-1.el5 spacewalk-java-config-0.4.16-1.el5 spacewalk-backend-applet-0.4.22-1.el5 spacewalk-base-0.4.18-1.el5 spacewalk-admin-

[Spacewalk-devel] Spacewalk .4 problem with manage channels/systems

2009-02-04 Thread m.roth2006
Hi, folks. I've been on the general mailing list, and still have no answer, so I've come here, hoping for help. I installed (and uninstalled, and reinstalled) Spacewalk from binaries. I get the website up, but 100% of the time, when I go to channels->manage, or systems->manage, I get a 500 erro

Re: [Spacewalk-devel] Debugging Unit Tests

2009-02-04 Thread Jesus M. Rodriguez
On Wed, Feb 4, 2009 at 8:41 AM, Jason Dobies wrote: >> I just added it but you have to do -Dtestdebug=true. I couldn't >> get it to work with just -Dtestdebug :) > > Excellent! Thanks :) > > (I so wanted to give you crap for not getting just "-Dtestdebug" to > work, but this is going to be too use

Re: [Spacewalk-devel] Debugging Unit Tests

2009-02-04 Thread Jesus M. Rodriguez
On Wed, Feb 4, 2009 at 12:53 AM, Partha Aji wrote: > Ideally test-debug should be the target name instead of test. way more > convenient IMHO :) Your wish is my command. You want to debug unit test from ant? do this: ant -Dtestcase=OrgIdWrapperTest testdebug Want to just run the test (i.e.

Re: [Spacewalk-devel] Debugging Unit Tests

2009-02-04 Thread Jason Dobies
> I just added it but you have to do -Dtestdebug=true. I couldn't > get it to work with just -Dtestdebug :) Excellent! Thanks :) (I so wanted to give you crap for not getting just "-Dtestdebug" to work, but this is going to be too useful for me to talk trash about.) -- Jason Dobies (jason.dob..

Re: [Spacewalk-devel] PGPORT: Another porting request.

2009-02-04 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Feb 2009 11:01:45 +0100 Michael Mraka wrote: > % > Can't we just use those two fields, in the ORDER BY query? > % > % What two fields? > > order by decode(version, null, 1, 0), version Tried this before I went to the case but it didn't

Re: [Spacewalk-devel] #!/usr/bin/env python to #!/usr/bin/python

2009-02-04 Thread Miroslav Suchý
Jan Pazdziora wrote: I propose to phase out #!/usr/bin/env python in favour of #!/usr/bin/python in our python scripts. Speak now or forever hold your peace. Note that we already use the second form 182 times in non-test scripts, while we use env 63 times. I just find inte

Re: [Spacewalk-devel] Re: PGPORT: Porting tables; contributions needed

2009-02-04 Thread Muhammad Farrukh
I am going to start with the below tables: rhnAllowTrust.sql rhnAppInstallInstance.sql rhnAppInstallSessionData.sql rhnAppInstallSession.sql rhnArchTypeActions_data.sql rhnArchTypeActions.sql rhnArchType_data.sql rhnArchType.sql rhnActionVirtSuspend.sql Best Regards, Farrukh On Tue, Feb 3, 2009

Re: [Spacewalk-devel] PGPORT: Another porting request.

2009-02-04 Thread Michael Mraka
Devan Goodwin wrote: % -BEGIN PGP SIGNED MESSAGE- % Hash: SHA1 % % On Tue, 3 Feb 2009 20:24:06 +0100 % Jan Pazdziora wrote: % % > On Tue, Feb 03, 2009 at 02:48:15PM -0400, Devan Goodwin wrote: % > >FROM rhnSatelliteCert % > > WHERE label = :label % > > - - ORDER BY vers