<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 18, 2014 at 2:27 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>   more whitewash... I have a theory about the bug whereby one...</div><div><br>
</div><div>1. commits a package to a remote repository</div><div>2. opens the repository, browses the package and finds that MC downloads the package again even though its just been written to package-cache.<br clear="all">

<div><br></div><div><br></div><div>Is it that when the package is uploaded to the remote repository it is generated again and hence has a different UUID from the one in package-cache?  Hence when looking for a version the system rejects the one in package-cache because it has a different UUID?</div>
</div></div></blockquote><div><br></div><div>No.  The UUID&#39;s are the only glue it has to BIND MC&#39;s distributed model together.  That&#39;s the only way we know one version is the same as another in a different repository.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>If this is so the fix is simple; when copying a package from one repository to another, the *existing file* should be copied, not regenerated.  That&#39;s got to be better right?  Less work all round.</div>
</div></div></blockquote><div><br></div><div>It&#39;s already a copy, but I know the problem you&#39;re talking about; its very annoying and creates unnecessary hits on our servers.  My theory is it&#39;s hitting &quot;MCRepositoryGroup default&quot; under certain conditions to look for the repository version.  As you know, &quot;RepositoryGroup default&quot; is the list you see in the MC browser when no package is selected.  The Group object acts like a repository itself by enumerating through all of its repositories, looking for the first one that can satisfy a request..</div>
<div><br></div></div></div></div>