On 29 November 2017 at 02:40, Torsten Bergmann <astares@gmx.de> wrote:
Hi Ben,
I think you forgot to give Iceberg the "src" subdirectory where all the code packages reside.
Not such much forgot and not being aware of the impact of that field :P ;)
When you forget to give the "Code subdirectory" in the dialog the repo points to the bencoman/libclang-pharo-bindings root which has no packages. Thats why the packages pane is empty.
So I think you should:
1. World Menu -> Iceberg 2. In the dialog 2a) Set Remote URL: https://github.com/bencoman/libclang-pharo-bindings.git 2b) Local directory: shows where the repo is locally clone to (keep it or change as you like) 2c) Code subdirectory: enter "src" here !!! 3. Then click on/select the repository "libclang-pharo-bindings" in the upper pane of Iceberg 4. Click on the "Packages" pane in the lower part - you now will see all packages in the repo
Thx. That worked in 32 bit. However in 64 bit when I do step 2 the Image exits (i.e. no debug log).
5. You can either select each package and right click to "Load package" the package one by one OR you select the "BaselineOfLibClang" and right click to "Metacello" -> "Install baseline (default)" which would load the "default" group of what is defined in the baseline. This usually loads all dependencies and the necessary packages in the right order.
I did BaselineOfLibClang > Metacello > Install baseline (default) and got error "#addTo: was sent to nil" So I had heard about enabling Metacello integration**, and after enabling that, BaselineOfLibClang > Metacello > Install baseline (default) proceeded fine. System Browser now shows the LIbClang package. However Iceberg did not refresh. All packages still show "Not Loaded". and clicking on the [Branches] tab gives error... "Instance of IcePackageModel did not understand #isBranchModel." However a newly opened Iceberg fixes both these, showing "Up to date" in [packages] tab, and several branches in [Branches] tab. Now "LibClang-FFI-Types" already shows dirty with "Uncommited changes" maybe due to class initialisation updating some methods. How do I then view the changes? I was hoping to see a "View changes" item in the "LibClang-FF-Types" context menu. I see the context menu for the repo has "Synchronize repository...." which brings up a [Local changes] tab, but it is empty. In Monticello if I select the dirty package and the disk repo then click <Changes> I get error... "Instance of IceMetacelloRepositoryAdapter did not understand #closestAncestorVersionFor:ifNone:" Can anyone reproduce this? cheers -ben ** Maybe if Metacello integration is disabled the menu option in Iceberg should greyed out.
If there are other groups defined you can use "Install baseline ..."
So you missed the step 2c.
Hope this helps!
Thanks T.
Gesendet: Dienstag, 28. November 2017 um 15:41 Uhr Von: "Ben Coman" <btc@openinworld.com> An: "Pharo Development List" <pharo-dev@lists.pharo.org> Betreff: [Pharo-dev] Iceberg workflow
I'm still struggling with Iceberg workflow for a personal repo.
World menu > Iceberg Clicked <Clone Repository> Remote URL <-- git@github.com:bencoman/libclang-pharo-bindings.git Clicked <Create Repository>
So now I have a new row... Name = libclang-pharo-bindings Current Branch = master Loaded version = No package loaded Status = Not loaded
but nothing loaded into Image, which seems expected from Iceberg Operations Overview... * http://forum.world.st/Iceberg-operations-overview-td5036218.html (even though "Clone" is not shown there, I guess its the same as "Checkout") but I can't work out how to load it.
In the filesystem I see the repo has been checked out, under... /home/ben/Pharo/images/latest-64-02/pharo-local/iceberg/bencoman/libclang-pharo-bindings
Now from Iceberg Operations Overview, I guess I need to either load, merge, reload or pull. These all are apparently exposed in the UI. Right-clicking on the repo, the only one I see is "Pull incoming commits" and... Pharo quietly exits, with no debug log.
Restarting to gather more info, after selecting the repo, the [Packages] tab is empty (maybe that is normal). Then I try Right-click>Refresh Repository with no effect.
Right-click > Synchronize Repository takes me to three tabs with empty list views. The [Update] tab has a <Pull> button which also causes Pharo to exit.
Versions... Ubuntu 16.04-64bit Pharo-7.0+alpha.build.300.sha.f81891fbde76d6a92e2827229293cb377d3b2c1c (64 Bit) Unix built on Aug 27 2017 20:00:40 Compiler: 4.6.3 VMMaker versionString VM: 201708271955
cheers -ben