Two questions:

1) Does it make sense to dump out the contents of a binary file ?
2) While the documentation said we give out the contents I wonder if we are better off with a separate getContents method... These files can be fairly large and if all we want are meta data info it might be a waste of time...

Partha

Devan Goodwin wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 9 Oct 2008 11:43:31 +0800
"Coe, Colin C. (Unix Engineer)" <[EMAIL PROTECTED]> wrote:

I know that this email has gone on for a while but we're nearly done
now.  So the problem is with the call to
'server.getLocalOverride().getId()' returning some value other than
the value of the config channel ID (could be the config file's ID).

Could one of the Satellite/Spacewalk dev's have a look at this and
fill in the blanks?  I'm really not sure what should be called
instead of 'server.getLocalOverride().getId()' but I really need this
API call working in Satellite.

Thanks

CC

PS: On a related note, the API call configchannel.lookupFileInfo
doesn't return the file contents even though the docs state that it
should.  The attached patch fixes this.


Patch applied and pushed to git master. Apparently file contents was
never being returned, and even the reference to it in the XMLRPC docs
was lost between 5.1.1 and spacewalk.

Are you ok with the channel ID now? Based on IRC conversation it looked
like you discovered it was a configuration channel ID, not a software
channel ID. Let us know if there are any further issues with this.

Cheers,

Devan

- -- Devan Goodwin <[EMAIL PROTECTED]>
Software Engineer - Spacewalk / RHN Satellite
Halifax, Canada            650.567.9039x79267
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjuJ0QACgkQAyHWaPV9my5fpgCeJc8on5pO7bCUcC0ZRzGLLjqo
kHoAnRcM23AbmVi/jiEGloJefUZkGAru
=3hE+
-----END PGP SIGNATURE-----

_______________________________________________
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