Hi *,
starting with m167, solenv provides the script oochkpatch, which
should be useful ascertaining correct patch flags in scp2 (all files
which are modified relative to 2.0 needs to have a 'patch' flag set in
scp2).
>From the 'oochkpatch --man' output:
--%<---------------------------------------------------------------
NAME
oochkpatch - Verify patch flags against module libraries
SYNOPSIS
oochkpatch [options] [module-name ...]
Options:
--help|-h brief help message
--man|-m full documentation
--verbose|-v tell what's happening
--from=module check all modules from
given one upwards
OPTIONS
<--help>
Print a brief help message and exits.
<--man>
Prints the manual page and exits.
<--verbose>
Verbosely tell what's currently happening
<--from=module>
Assumes OOo was built incompatibly from given module
upwards, and check against all libs from all upwards modules.
Further modules can be given at the command line, which are merged
with the ones generated from this option
DESCRIPTION
This program will compare all libs delivered from the specified modules
against the set of files marked with the patch flag in scp2. Useful to check
if the patch set is complete. Please note that this program needs to be run in
a solar shell, i.e. the OOo build environment needs to be set up in the shell.
There's kind of a heuristic involved, to determine exactly which files
to check against includedness in the patch set (since e.g. all headers
are delivered, but clearly need not be checked against patch
flags). It works by first collecting all files that are mentioned in
the pack master file, and then checking all files delivered from the
specified modules against that pack list: if the file is not packed,
or if it's packed and has the patch flag set, all is well. Otherwise,
the file in question potentially misses the patch flag (because one of
the modified modules contains it).
EXAMPLE
To determine the set of libs not yet carrying the patch flag for a CWS
containing sfx2, svx, and vcl, which is incompatible from sfx2
upwards, use something like this:
oochkpatch.pl --from=sfx2 `cwsquery modules`
This puts every module upwards and including sfx2 in the check list,
plus vcl. Note that with this approach, you'll usually get a larger
set of files for the patch than necessary - but at least you get all
files that might have changed theoretically.
--%<---------------------------------------------------------------
Cheers,
--
Thorsten
If you're not failing some of the time, you're not trying hard enough.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]