* Arvind Srinivasan <arvi.srinivasan at sun.com> [2007-06-29 04:51]: > When I view the contents of directories on sfw for open-source > components such as Apache HTTP server > (http://cvs.opensolaris.org/source/xref/sfw/usr/src/cmd/apache2/) I > see that the directory contains the .tar.gz of the sources distributed > by the Apache HTTP Server project, patches to be applied to these > sources and a Makefile that untars the sources and applies the > patches. I noticed that the exploded sources from the .tar.gz file are > also in the repository. > > What were the reasons for checking in the exploded sources from the > .tar.gz into the repository? Is this purely for > reading/viewing/grokking? Am I correct in assuming that no changes are > *committed* to these source files in the opensolaris.org repository > and instead .patch files are generated and applied?
The exploded sources aren't checked in, actually. We expand them only in the delivery to the OpenGrok indexer. (Yes, no changes are committed to the individual files. The various Makefile.sfw targets that apply patches, like http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/ser/Makefile.sfw show that the dependency order from invoking the "all" target is unpack and apply patches ($(VER)/configure), run configure ($(VER)/config.status), and then compile (all).) - Stephen -- sch at sun.com http://blogs.sun.com/sch/
