On Tue, 2006-12-05 at 18:38 -0600, Eric Boutilier wrote: > >> So what we really need is some sort of registry of open source > >> components available in/for Solaris and where they are. > > > > +1 > > Me too. I volunteer to pull together version 0.1 of it.
Eric, you rock! > I think I already know how to gather what would be needed for the registry > from SFW, CCD, and ON. > > Laca can you help me with the svn incantation that will enable me to > download all the spec files (ideally only the spec files) that compose the > JDS consolidation? And is it safe to assume that that's all I need to > retrieve in order to ascertain the JDS inputs to the registry? Yes, that's correct. The following 3 commands will get all the directories that you need and only those: svn co -N svn+ssh://anon at svn.opensolaris.org/svn/jds/spec-files/trunk spec-files svn co -N svn+ssh://anon at svn.opensolaris.org/svn/jds/spec-files/trunk/Solaris spec-files/Solaris svn co -N svn+ssh://anon at svn.opensolaris.org/svn/jds/spec-files/trunk/Solaris/extra-specs spec-files/Solaris/extra-specs afterwards you can simply run "svn up" in the spec-files directory and it will update these 3 directories only. And here's a one-liner to extract the names and versions from the sources listed in the spec files. Probably includes a few extra stuff that need not be in the registry, but it's a start. Run it inside spec-files/Solaris. spectool get_sources *.spec | egrep '^(http://|ftp://)' | xargs -n 1 basename | sed -e 's/\.tar\.gz//' -e 's/\.tar\.bz2//' Thanks, Laca
