[Pharo-dev] Metacello/Iceberg detached head of cascade loaded requirements

Gabriel Cotelli g.cotelli at gmail.com
Sat May 11 07:44:08 EDT 2019


If the dependencies are pinned to a git tag it's a normal situation. You
don't need to do nothing unless you want to change some of the code in the
dependencies in which case just create a branch

On Sat, May 11, 2019, 05:40 Ben Coman <btc at openinworld.com> wrote:

> I have a query about "Detached HEAD" status after a Metacello/Iceberg
> cascade load of required packages.  Starting with the general questions...
>   Is that a common status for this scenario?
>   How to leave the status looking good as "Up to date"?
>
> Here is a case example...
> To avoid the a Filetree repo "filename too long" error on Windows,
> I pre-cloned the repo to specify s shorter path name...
>    Repositories > Add > Clone from github.com
>        Owner: dionisiydk
>        Project name: Mocketry
>        Local directory: C:\Temp\Mocketry
>        Protocol: SSH
>
> Then in Playground evaluated...
>   Metacello new
>      baseline: 'Mocketry';
>      repository: 'github://dionisiydk/Mocketry';
>      load
>
> This cascade loaded Ghost and StateSpecs repos leaving them
> with a status of "Detached HEAD".
> What does this mean?
> And how to have these load cleanly so they are left "Up to date" ?
>
> To ease others testing on Windows, I forked the repo and converted to
> Tonel,
> so the same result comes by just evaluating....
> Metacello new
>   baseline: 'Mocketry';
>   repository: 'github://bencoman/Mocketry';
>   load
>
> cheers -ben
>
> P.S. I've issued a PR upstream for the Tonel conversion.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20190511/fe0b9e07/attachment.html>


More information about the Pharo-dev mailing list