Thanks Tomas :)

Any input on the other issue?

If I'm on the right path at least I'll continue updating the docs and
so on and present a proper patch...

We write in groovy here with our app on grails.... so I'm a little bit
unsure with regards to things in java but feel I'm capable of working
my way to the solution....

Is there anything redhat requires be done with regards to copyright assignment?

My team often commits to open source software (I work for BSkyB in the
UK) so their won't be any issues with allowances of providing code.

James

On 20 April 2010 14:56, Tomas Lestach <[email protected]> wrote:
> ----- "James Hogarth" <[email protected]> wrote:
>
>> This si what I'm referring to from the channel detail screen:
>>
>> Channel Entitlement Name:     Private Channel Family 1
>> Last Modified:        2010-04-20 13:08:36.0
>> Last Repo Build:      2010-04-20 01:08:36
>> Repo Cache Status:    Completed
>
> Hello James,
>
> good catch! :-)
> I noticed it two weeks ago ...
> https://bugzilla.redhat.com/show_bug.cgi?id=580227
>
>>
>> I'm on the released 0.8 ....
>>
>> So far as I can see that shouldn't be happening from the git
>> checkout... was this an old bug fixed to anyone's knowledge?
>
> It is already fixed in spacewalk.
>
> Best Regards,
> Tomas
>
> --
> Tomas Lestach
> RHN Satellite Engineering, Red Hat
>
>>
>> On 20 April 2010 14:05, James Hogarth <[email protected]>
>> wrote:
>> > Hi all,
>> >
>> > This is my first time trying to follow through the code and
>> contribute
>> > to the codebase.
>> >
>> > From my perspective the ability via the XML-RPC API to get the last
>> > repo modified date (and possibly whether a build would be in
>> progress)
>> > would be extremely useful to us.
>> >
>> > The idea being that after an RPM is built via a build system and
>> > pushed via rhnpush there is not (as far as I know) a way via the
>> API
>> > to check when the repodata actually gets updated.
>> >
>> > As a result I have had a couple of times when a deploy of the new
>> RPM
>> > for our application is meant to be carried out but the repodata
>> hasn't
>> > quite been built yet resulting in wasted time and another RPM
>> > deployment later.
>> >
>> > I'm thinking adding this to
>> >
>> java/code/src/com/redhat/rhn/frontend/xmlrpc/channel/software/ChannelSoftwareHandler.java
>> > within the ChannelSoftwareHandler class *could* provide at least
>> part
>> > of that info...
>> >
>> >  /**
>> >    * Returns the last build date on the repodata for a channel
>> >    * @param sessionKey WebSession containing User information.
>> >    * @param id - id of channel wanted
>> >    * @throws NoSuchChannelException thrown if no channel is found.
>> >    * @return the build date on the repodata of the channel
>> requested
>> >    */
>> >
>> >   public String getChannelLastBuildById(String sessionKey, Integer
>> id)
>> >        throws NoSuchChannelException {
>> >         User user = getLoggedInUser(sessionKey);
>> >         return
>>  ChannelManager.getRepoLastBuild(lookupChannelById(user,id));
>> >   }
>> >
>> >
>> > I'm a sysadmin by trade and only dabble in code at this point....
>> >
>> > Does it at least look like I'm on the right track for a proper
>> patch
>> > to be submitted?
>> >
>> > Incidentally whilst I'm looking at this code anyway.... I've
>> noticed
>> > that ChannelDetail shows a 12 hour date for last repo build and
>> last
>> > modified a 24 hour date.... any ideas?
>> >
>> > James
>> >
>>
>> _______________________________________________
>> Spacewalk-devel mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>
> _______________________________________________
> Spacewalk-devel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-devel

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to