> - Staged publishing mode would add packages to a special temporary 
> catalog and updatelog file until the depot is instructed to "commit" 
> whatever packages have been published so far.  Once the depot is 
> instructed to "commit" these packages, it will add the contents of the 
> temporary catalog and updatelog files to the current catalog and 
> updatelog (repo_dir/catalog/).  It will then create a copy of the 
> current catalog and updatelog and place them into 
> repo_dir/catalogs/ISO8601DATE/.

The order of operations matters here.  The updatelog has a built-in log
rotation mechanism.  If the commit generates enough updates, previous
update log entries will automatically get purged.  I would copy the
catalog/updatelog first, and then apply the changes.  That has the added
benefit of leaving a good version of the catalog around, should the
application of the updates fail unexpectedly.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to