On 01/ 3/11 05:15 PM, Tim Foster wrote:
On Mon, 2011-01-03 at 19:36 -0500, Rinaldo DiGiorgio wrote:
I am providing a hudson base service allowing users to request IPS
package builds of the ten or so packages I am working with. My
application has two sources for version specification. I would like to
validate the user input early.
The packaging system validates versions at package creation time - I'm
not sure providing separate validation code is worthwhile (or
recommended) you're reinventing the wheel here.
I'm fairly certain the point here is to prevent the fairly long running
build process from even starting if the user's provided bad input for
the resulting package.
In that case, it makes sense to validate things such as the package name
and version before the build starts.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss