Dan Price wrote:
On Mon 28 Sep 2009 at 03:01PM, Shawn Walker wrote:
     trans/
"trans" on the client?
That shouldn't be there; thanks.

I spent some time on this last night, but ultimately was a little
confused.  Any chance you could publish an updated version which
includes the changes made in the past week?

I did; the only recent change was the omission of trans/ from the client. But I've reposted with that one change below.

One specific point of confusion: what is this part about?

    pkg_cache/
      <stem>/
        <uri-encoded-version>.<cache_name> (manifest cache file)

I wasn't clear what the function of pkg_cache/ was, in comparison
with 'pkg/' on the server, or what "cache_name" meant.  Sorry if
I am just horribly confused.

So pkg_cache is for the files that CachedManifest writes out for a package. They're not meant to be retrieved by a client, so separating them out from the normal manifests makes it that much easier to run a depot out of /var/pkg.

<cache_name> is the name the CachedManifest class uses for each of the cache files, such as: depend, dir, dircache, file, license, link, and set.

==============================
Proposed Server Storage Scheme
==============================
<REPO_ROOT>/
  catalog/
  index/
  publisher/
    <publisher>/
      file/
      pkg/
        <stem>/
          <manifest-named-after-uri-encoded-version>
      trans/

==============================
Proposed Client Storage Scheme
==============================
<IMG_ROOT>/
  cert/
  history/
  index/
  pm_cache/
  state/
  publisher/
    <publisher>/
      file/ (formerly download)
      pkg/
        <stem>/
          <manifest-named-after-uri-encoded-version>
      pkg_cache/
        <stem>/
          <uri-encoded-version>.<cache_name> (CachedManifest cache file)

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

Reply via email to