james.lorenzen at accenture.com wrote: > > What do I need to do to contribute Hudson as a package? > Is there some documentation about how to create a package? > > Keep in mind I have never used OpenSolaris, but I am a Linux user and > huge Hudson advocate. I am looking forward to the challenge and hearing > back from everyone.
Welcome and thanks for the interest! If you'd like your package to eventually be a formal part of Nevada (which will automatically later make it a part of the core Indiana repository, albeit with delays), the current approach is to integrate it into the SFW[1] consolidation (consolidations are a single source tree agglomeration of many unrelated components that get built together; the various Web Stack components like Apache, PHP, Ruby, etc are all part of this SFW today). Some time ago I wrote a short summary (much detail ommitted, but I'll be happy to guide you through it once you get far enough) of what that involves: http://blogs.sun.com/jyrivirkki/entry/how_to_contribute_to_sfw The benefit of this approach is that once integrated, it will be automatically available as a first-class component in Nevada/Indiana which is nice. The drawbacks are that it'll take a long time (months) to get into a Nevada build that you (or anyone else) can actually download and whenever you fix a bug or make an enhancement it'll again take a long time before changes show up, so it's not at all an interactive experience. An additional pain point for you as the developer is that you'll need to build the SFW world as part of your development process, which takes several hours. An alternate possibility for you is to create a stand-alone repository for the component here on the Web Stack community and use a subset of the SFW build process to build it by itself. You can get this via: hg clone ssh://anon at hg.opensolaris.org/hg/webstack/webstack-build Once you have something working you could publish it so it is available for all of us. The benefit is that it's available right away and your feedback cycle is hours-days instead of weeks-months. The drawback is that users of the package must download the source and build it locally which isn't quite as convenient as having it on the DVD/repository. I'm working on finding a way to much more conveniently publish these packages as built binaries but can't promise a timeframe. My recommendation is to start with the simple build system at hg clone ssh://anon at hg.opensolaris.org/hg/webstack/webstack-build and make it work with the component you're considering. Since it is essentially the same build system for both the choices I described, that will be a valuable experience no matter which fork of the road you take later on, but at least you can experiment without having to build all of SFW. This is experimental so inevitably you'll run into problems, just let me know on the list and we'll address them as needed.. [1] http://www.opensolaris.org/os/project/sfwnv/ -- Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems
