Greetings,

The following webrev contains changes or fixes for the following items:

16744 repository multi-publisher on-disk format should be formalized and implemented
  166 repository class doesn't set directory mode when creating directories
  684 read-only depots should look for changes to files
2086 repository class should validate that a repository is really a repository
  2671 Indexing should recover from partial success indexing
7425 depot started not readonly but without fork-allowed (or on non-posix system) won't ever serve search 7357 depots don't discover when search becomes available via external means
  8725 versioning information for depot and repository metadata needed
  12517 interrupting indexing can cause search failure
  14636 publisher alias isn't validated
  15318 pkg.search_errors EmptyMainDictLine references unbound variable
  15670 test suite needs to setup client info/error logger handlers
15807 depot should fail with proper error message if repo structure is not right
  16558 repository class should load in-flight transactions on demand
  16583 pkgrepo provides too much management
  16646 pkgsend close --no-catalog option ignored
  16720 pkgsend crashes with PartialIndexingException

webrev:
  http://cr.opensolaris.org/~swalker/pkg-repo-format/

Overview
============================================================
I've been working on this changeset for quite a while, so please be on the lookout for what might be a mismerge or leftover debug code. Our full test suite does pass, and I've updated and added to it, so I'm reasonably confident this changeset is mostly correct.

This changeset formalises and implements the v4 of the repository on-disk format with support for multiple publishers within a single repository. It also resolves many bugs that have been around for some time now related to indexing and depot operations.

Finally, it also makes the test suite much more resilient against timing related failures for search (I haven't seen any after my changes).

Thanks to those who contributed and made this possible.

Flag Day Changes
============================================================
Please note that with this changeset, the depot server no longer automatically builds search indices during publication. If search functionality is desired, the 'pkgrepo refresh' command can be used to cause search data to be built.

This means that the '--no-index' operation to pkgsend is now a placebo option, that is, it is still accepted, but is ignored.

Special Requests
============================================================
I need someone that performs ON parallel builds and that (preferably) has encountered failures with them in the past to test this changeset. A completely new locking subsystem was implemented for both the repository and search, so it's possible that's broken now or slower.


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

Reply via email to