[Spacewalk-devel] Spacewalk 0.3 :)

2008-09-16 Thread Jesus Rodriguez
I know we just released 0.2, and in addition to dealing with issues found from that release, we need to get cracking on 0.3. I'd like to see if we can make up some of the time we lost with 0.2. https://hosted.fedoraproject.org/spacewalk/milestone/Release%20-%200.3 * API additions * Inter Space

[Spacewalk-devel] gen-formbean script

2008-09-18 Thread Jesus Rodriguez
I was creating a new form-bean in struts-config.xml and got annoyed with the process. So I wrote a simple python script called gen-formbean. It's an interactive script that prompts you for the formbean name, and any property labels and types. To avoid typing too much I created a map of the java ty

Re: [Spacewalk-devel] Listable & ListSubmitable

2008-09-30 Thread Jesus Rodriguez
On Wed, Oct 01, 2008 at 12:26:59AM -0400, Partha Aji wrote: > > Over the weekend as I started working on converting a perl to java page with > a list + set, I got tired copy pasting the same code over and over again.. > What annoyed me with the list tag was the fact that I needed to refer to the

[Spacewalk-devel] build.xml updated

2008-10-01 Thread Jesus Rodriguez
I added the source="1.5" and target="1.5" to the javac targets in build.xml. This should allow the code to run in Java 1.5 and build using either 1.5 or 1.6. Please keep an eye out for errors. -- jesus m. rodriguez| [EMAIL PROTECTED] sr. software engineer | irc: zeus rhn satellite &

Re: [Spacewalk-devel] API call 'configchannel.createOrUpdatePath'

2008-10-01 Thread Jesus Rodriguez
On Wed, Oct 01, 2008 at 01:57:04PM +0800, Coe, Colin C. (Unix Engineer) wrote: > > Hi all > > This API call (configchannel.createOrUpdatePath) barfs when uploading binary > files, especially on the file '/etc/ssh/ssh_host_key'. > > I logged this as SR 1824676 for Sat v5.1 which became > https:

Re: [Spacewalk-devel] listAllChildren?

2008-10-14 Thread Jesus Rodriguez
On Tue, Oct 14, 2008 at 10:39:28PM -0400, Justin Sherrill wrote: > Originally I was toying with the notion of simply deleting all child > channels (assuming you have permissions to) of a parent when you called > channel.software.delete() on the parent. Since we don't allow this in > the web ui I d

Re: [Spacewalk-devel] lookupFileInfo API call

2008-10-16 Thread Jesus Rodriguez
On Fri, Oct 17, 2008 at 10:11:01AM +0800, Coe, Colin C. (Unix Engineer) wrote: > > Partha, you're a legend! Be careful, that might go to his head. -- jesus m. rodriguez| [EMAIL PROTECTED] sr. software engineer | irc: zeus rhn satellite & spacewalk | 919.754.4413 (w) rhce # 805008586

Re: [Spacewalk-devel] root as contributor

2008-11-12 Thread Jesus Rodriguez
On Wed, Nov 12, 2008 at 05:46:08PM -0500, Michael DeHaan wrote: > Mike McCune wrote: >> Miroslav Suchý wrote: >>> Welcome root :) >>> http://miroslav.suchy.cz/spacewalk/gitstat/commit-detail.php?commit=6cdf4423e04ffd66fda796e4946a662a9a03e497 >>> >>> >>> >>> and 3 others commits >>> >>> Can yo

Re: [Spacewalk-devel] API version

2008-11-20 Thread Jesus Rodriguez
On Thu, Nov 20, 2008 at 12:25:36PM +0100, Miroslav Suchý wrote: > Jesus M. Rodriguez wrote: >>> Miroslav Suchý wrote: According the code the the returned version is content of web.version /etc/rhn/default/rhn_web.conf I see as best option to create new config option web.apiversion wh

Re: [Spacewalk-devel] Rebuild of packages in Koji - some problems

2008-11-24 Thread Jesus Rodriguez
On Mon, Nov 24, 2008 at 09:34:43AM -0600, Dennis Gilmore wrote: > On Monday 24 November 2008 02:55:30 am Miroslav Suchý wrote: > > Last friday I let rebuild of all packages which has tag in git and has > > not been builded in Koji. Two problems has been found: > > > > perl-DBD-Oracle: > > http://ko

Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jesus Rodriguez
On Fri, Dec 12, 2008 at 10:24:15AM +0100, Jan Pazdziora wrote: > On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote: > > Michael, > > > > Excellent, thanks for doing this. > > > > http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=7c1c8cd0faa52a34db383e7477567bd209718

Re: [Spacewalk-devel] symlink of sqlplus

2008-12-12 Thread Jesus Rodriguez
On Fri, Dec 12, 2008 at 11:07:30AM +0100, Michael Mraka wrote: > Jan Pazdziora wrote: > % On Thu, Dec 11, 2008 at 09:45:47PM -0500, Jesus M. Rodriguez wrote: > % > Michael, > % > > % > Excellent, thanks for doing this. > % > > % > > http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h

Re: [Spacewalk-devel] SSM Asynchronous Actions

2009-01-27 Thread Jesus Rodriguez
On Tue, Jan 27, 2009 at 04:12:43PM -0500, Jason Dobies wrote: [snip] > Outside of what we track for a request, the big question is how to > thread off the work. > > One possibility is taskomatic, which I'm not entirely familiar with. I > do see from the wiki that we have tasks scheduled for once

Re: [Spacewalk-devel] SSM Asynchronous Actions

2009-01-27 Thread Jesus Rodriguez
On Tue, Jan 27, 2009 at 05:11:19PM -0500, Jesus Rodriguez wrote: > On Tue, Jan 27, 2009 at 04:12:43PM -0500, Jason Dobies wrote: > [snip] > > > Outside of what we track for a request, the big question is how to > > thread off the work. > > > > One possibi

Re: [Spacewalk-devel] Constructor problem

2009-02-02 Thread Jesus Rodriguez
On Mon, Feb 02, 2009 at 01:54:49PM +0900, Coe, Colin C. (Unix Engineer) wrote: > > Hi all > > I'm currently working on getting the Spacewalk web GUI to be able to create > and manage Cobbler snippets. > > Right now I'm getting the following compile time error. > > --- > compile-main: > [ja

Re: [Spacewalk-devel] Debugging Unit Tests

2009-02-03 Thread Jesus Rodriguez
On Tue, Feb 03, 2009 at 05:35:58PM -0500, Jason Dobies wrote: > I'm not sure how others do it (or if this is commonly known), but I was > looking to attach a debugger to ant as it runs my test cases. Putting > the following lines into the java/buildconf/build-utils.xml file in the > junit task (rou

[Spacewalk-devel] commit messages

2009-02-05 Thread Jesus Rodriguez
Folks have been doing pretty good with using the proper commit message format. I applaud you for that. But, yes there is a bug, can we try and use more descriptive commit messages? They don't have to be epic poems, but something other than: - a few more schema fixes - fixed bug etc. I know

Re: [Spacewalk-devel] 481766: Added the example text as require dint he bug .. Forgot abt it...

2009-02-17 Thread Jesus Rodriguez
On Tue, Feb 17, 2009 at 10:15:48AM -0500, Partha Aji wrote: > Nice > s/Added the example text as require dint he bug/ Added the example text > as required in the bug > > Damn typoisms. How do I change an old commit message in GIT ? I was more concerned with the colon after the bugzilla n

Re: [Spacewalk-devel] [Fwd: Package: spacewalk-java-0.5.25-1.fc10 Tag: dist-f10-sw-0.5-candidate Status: failed Built by: msuchy]

2009-03-02 Thread Jesus Rodriguez
I added bcel as a BuildRequires and that fixed it. jesus On Mon, Mar 02, 2009 at 02:35:58PM +0100, Miroslav Suchý wrote: > It seems that recent commits to /java broke the building > > Original Message > Subject: Package: spacewalk-java-0.5.25-1.fc10 Tag: > dist-f10-sw-0.5-

[Spacewalk-devel] F10 nightly repo

2009-03-11 Thread Jesus Rodriguez
I tried to install the F10 nightly repo tonight on a fresh (and updated) F10 box. I got the following dependency errors: http://fpaste.org/paste/5924 the el5 nightly has hibernate3 in it while the F10 repo doesn't. Where does hibernate 3 come from if not in the F10 repo? jesus -- jesus m. rodr

Re: [Spacewalk-devel] Re: Merge branch 'master' of ssh://jlsherr...@git.fedorahosted.org/git/spacewalk

2009-03-12 Thread Jesus Rodriguez
On Thu, Mar 12, 2009 at 11:00:06PM -0400, Brandon Perkins wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Jesus M. Rodriguez wrote: > > 2009/3/12 Michael Mraka : > >> Jan Pazdziora wrote: > >> % On Thu, Mar 12, 2009 at 07:27:19AM +0100, Jan Pazdziora wrote: > >> % > On Wed, Mar

[Spacewalk-devel] Made page sizes configurable so that one can now not rely on schema every time we...

2009-03-17 Thread Jesus Rodriguez
I've got a number of issues with this commit. Config.java * what problem are we solving that we need the list of page sizes in the config file? * please remove the getPageSizes() and getDefaultPageSize() methods from Config. Based on the javadoc comment they are used by PageSiz

[Spacewalk-devel] global exception handler in Struts

2009-03-25 Thread Jesus Rodriguez
We use the global exception handler in Struts today for PermissionException, LookupException, etc. This is a great way of sending users to an error page and keep the struts-config a bit cleaner. It also keeps your action cleaner. For example, say you want to send a user to an error page (this is d

[Spacewalk-devel] Exceptions need work

2009-03-25 Thread Jesus Rodriguez
This is more of a note to self, but I'd figured I'd share with everyone. We need to revisit our exception classes, the api has a very rich set of exceptions that can be useful by other parts of the code. Most folks don't want to use them because they live in an xmlrpc package, and we could probab

Re: [Spacewalk-devel] [PATCH] Teach tito to generate specfile changelog entries

2009-03-25 Thread Jesus Rodriguez
On Wed, Mar 25, 2009 at 09:13:13PM -0400, James Bowes wrote: > If tito doesn't find a changelog entry in the specfile during a tag > operation, he can now create one himself from the git logs. The entry > line items are made from the subject and email of committer for all > untagged commits of the

[Spacewalk-devel] commit messages proposal

2009-03-30 Thread Jesus Rodriguez
Today we have two commit formats. If you are fixing a bug the format is: bznumber - msg If it is not a bug fix, it is just: msg This has been working out ok so far. But we're getting more descriptive in our commits which is good for looking back at history but sucks for changelogs and 'git l

Re: [Spacewalk-devel] yet another gitk

2009-04-03 Thread Jesus Rodriguez
On Fri, Apr 03, 2009 at 05:46:49PM -0400, Pradeep Kilambi wrote: > Stumbled across this tool called "giggle". Its a graphical frontend for > the git. Apparently gitk for GTK+ > > http://live.gnome.org/giggle OOH that's pretty. Because I have to say I started using tig because gitk hurt my eyes :

Re: [Spacewalk-devel] Can someone review/add script

2009-04-07 Thread Jesus Rodriguez
On Tue, Apr 07, 2009 at 06:00:05PM -0400, Pradeep Kilambi wrote: > Cliff wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=146192 >> >> The above public satellite bug has a script attached to it that is >> GPL'd and does signing and push of rpms into a Satellite/Spacewalk >> server. >> >> C

[Spacewalk-devel] spacewalk-utils pkg

2009-04-22 Thread Jesus Rodriguez
Any thought about this? Did we tag this package? if so did we push it? ## ERROR Error running command: git log --pretty=oneline --relative spacewalk-utils-0.6.1-1..HEAD -- . Status code: 32768 Command output: fatal: bad revision 'spacewalk-utils-0.6.1-1..HEAD' __

Re: [Spacewalk-devel] removing remote branches

2009-04-27 Thread Jesus Rodriguez
This is done now. We ended up with the following remote branches: origin/HEAD origin/RELEASE-0.2 origin/RELEASE-0.3 origin/SPACEWALK-0.4 origin/SPACEWALK-0.5 origin/VADER origin/master origin/pgsql origin/playpen origin/schema-upgrade-0.2 origin/spacewalk-repomd jesus -- j

Re: [Spacewalk-devel] Re: something funky is going on with building/tagging

2009-05-07 Thread Jesus Rodriguez
On Thu, May 07, 2009 at 09:42:16AM -0300, Devan Goodwin wrote: [snip] > I think it's just a missing git push --tags, the tag doesn't seem to be > there. This is breaking in the new auto-changelog stuff so if you ever > hit something like this you can just use --no-auto-changelog until we > get it

Re: [Spacewalk-devel] Channel Name Length

2009-05-07 Thread Jesus Rodriguez
On Thu, May 07, 2009 at 09:07:13AM -0400, Jason Dobies wrote: >> Before we open up this can of worms again look at this bug: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=459827 (sorry private bug) >> >> jesus > > "Increasing the length of the column probably isn't the right solution. " > > Is

Re: [Spacewalk-devel] Re: something funky is going on with building/tagging

2009-05-07 Thread Jesus Rodriguez
On Thu, May 07, 2009 at 02:47:48PM +0200, Jan Pazdziora wrote: > On Thu, May 07, 2009 at 09:42:16AM -0300, Devan Goodwin wrote: > > > > Author: Jan Pazdziora > > AuthorDate: Tue May 5 17:22:32 2009 +0200 > > Commit: Jan Pazdziora > > CommitDate: Tue May 5 17:22:32 2009 +0200 > > > >

Re: [Spacewalk-devel] Channel Name Length

2009-05-07 Thread Jesus Rodriguez
On Thu, May 07, 2009 at 03:21:45PM +0200, Jan Pazdziora wrote: > On Thu, May 07, 2009 at 09:07:13AM -0400, Jason Dobies wrote: > >> Before we open up this can of worms again look at this bug: > >> > >> https://bugzilla.redhat.com/show_bug.cgi?id=459827 (sorry private bug) > >> > >> jesus > > > > "I

Re: [Spacewalk-devel] Channel Name Length

2009-05-07 Thread Jesus Rodriguez
On Thu, May 07, 2009 at 10:06:37AM -0400, Jason Dobies wrote: >> Isn't the main problem here the fact that whatever limit you chose, if >> the original channel is at or near the limit, the cloned one will be >> over limit? So the real fix is to >> >> - match the textfield length in the WebUI to the

[Spacewalk-devel] 0.5 repos updated (soonish)

2009-05-08 Thread Jesus Rodriguez
I pushed new spacewalk-backend*, spacewalk-config, and spacewalk-java* pkgs to the 0.5 repos. Give them a few hours to sync. sincerely, jesus -- jesus m. rodriguez| jes...@redhat.com sr. software engineer | irc: zeus rhn satellite & spacewalk | 919.754.4413 (w) rhce # 80500858693001

Re: [Spacewalk-devel] 0.5 repos updated (soonish)

2009-05-08 Thread Jesus Rodriguez
2009 at 02:34:25PM -0400, Jesus Rodriguez wrote: > I pushed new spacewalk-backend*, spacewalk-config, and spacewalk-java* > pkgs to the 0.5 repos. Give them a few hours to sync. > > sincerely, > jesus > > -- > jesus m. rodriguez| jes...@redhat.com > sr. software

Re: [Spacewalk-devel] An ignorant question about permissions

2009-07-07 Thread Jesus Rodriguez
On Tue, Jul 07, 2009 at 10:11:13PM -0400, Greg DeKoenigsberg wrote: > > Hello folks. > > I had a working Spacewalk install running on RHEL 5.3. > > I then applied the instructions here: > > https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup > > ...to turn my Spacewalk install into

[Spacewalk-devel] Re: Need to rebuild Java packages for 0.6

2009-08-06 Thread Jesus Rodriguez
On Thu, Aug 06, 2009 at 11:35:27PM -0400, Justin Sherrill wrote: > I realized after playing around with our 0.6 test server that i had > forgotten to include the new reposync task in the taskomatic config. I > went ahead and added it in SPACEWALK-0.6 and master, we just need to > rebuild the java

Re: [Spacewalk-devel] Proposal to remove tables: rhn_db_environment, rhn_enviroment

2009-09-09 Thread Jesus Rodriguez
On Wed, Sep 09, 2009 at 09:36:42AM +0200, Miroslav Suchý wrote: > Michael Mraka wrote: >> That's crucial question. It looks like nobody here knows ;). According >> to Mirek's investigation it's rudiment from old good hosted ages and it >> has never been utilized by satellite. > > AFAIK hosted neve