Radoslav Glinsky wrote:
Hello,
in my java programme (working with IPS packages) I would really need
to verify if an IPS repository on given URL is working
(simply connecting to this URL doesn't tell me if there is also a
repository
running...).
Does anybody have an idea how I can do this from java (or any similar
language)?
I'm very grateful for any ideas.
Thank you
Verifying full functionality is difficult, especially since what you
need to verify depends greatly on how the repository you're connecting
to is hosted. For example, if it's connected through a reverse-proxy
via Apache, that requires different validation.
The short answer is that checking the output of the '/versions/0/' URI
from a depot server for a repository is probably the easiest way to see
if your are connecting to a valid package server, and to see what
operations it offers.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss