unnecessary mcz downloads

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

unnecessary mcz downloads

Eliot Miranda-2
Hi All,

    I just followed a common enough workflow to commit partial changes:

1. in an image with some in-progress changes, implement a fix that I want to commit, excluding the in-progress changes

2. take a copy of the image, revert the in-progress changes, commit the fix

3. in the original image, merge with the committed package

The strange thing is that while the step in 2. writes the package to the package-cache before uploading it, the step in 3. downloads the package again instead of simply using the identical copy in the package-cache.  Anyone know why?  Is this easy to fix?  (This in a Squeak 4.5 trunk image)

--
best,
Eliot


Reply | Threaded
Open this post in threaded view
|

Re: unnecessary mcz downloads

Frank Shearar-3
On 28 April 2014 18:24, Eliot Miranda <[hidden email]> wrote:

> Hi All,
>
>     I just followed a common enough workflow to commit partial changes:
>
> 1. in an image with some in-progress changes, implement a fix that I want to
> commit, excluding the in-progress changes
>
> 2. take a copy of the image, revert the in-progress changes, commit the fix
>
> 3. in the original image, merge with the committed package
>
> The strange thing is that while the step in 2. writes the package to the
> package-cache before uploading it, the step in 3. downloads the package
> again instead of simply using the identical copy in the package-cache.
> Anyone know why?  Is this easy to fix?  (This in a Squeak 4.5 trunk image)

Do you say "downloads" because MC displays a progress bar saying
"Downloading..." or do you have additional evidence that MC downloads
from the remote repository?

frank

> --
> best,
> Eliot
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: unnecessary mcz downloads

Eliot Miranda-2
Hi Frank,


On Apr 29, 2014, at 12:28 AM, Frank Shearar <[hidden email]> wrote:

> On 28 April 2014 18:24, Eliot Miranda <[hidden email]> wrote:
>> Hi All,
>>
>>    I just followed a common enough workflow to commit partial changes:
>>
>> 1. in an image with some in-progress changes, implement a fix that I want to
>> commit, excluding the in-progress changes
>>
>> 2. take a copy of the image, revert the in-progress changes, commit the fix
>>
>> 3. in the original image, merge with the committed package
>>
>> The strange thing is that while the step in 2. writes the package to the
>> package-cache before uploading it, the step in 3. downloads the package
>> again instead of simply using the identical copy in the package-cache.
>> Anyone know why?  Is this easy to fix?  (This in a Squeak 4.5 trunk image)
>
> Do you say "downloads" because MC displays a progress bar saying
> "Downloading..." or do you have additional evidence that MC downloads
> from the remote repository?

Well, if I merge against package-cache instead of the repository I don't see the progress bar and the whole process runs /much/ faster.  So I don't have proof but it certainly looks that way.

>
> frank
>
>> --
>> best,
>> Eliot
>