SETT was create based on our understanding (GemTalk Systems) of what the tonel disk format was _supposed_ to be and I think that Pharo has departed from somewhat from what was understood to be the format.
I've had similar problems trying to use filetree repositories with Iceberg that have been readable by the old Monticello/Filetree readers for years [1] ... and are readable when loaded through the Monticello Browser, but not readable when using Iceberg ...
One of these days, there needs to be agreement as to what the actual disk format of tonel and filetree repositories is going to be/has been and then stick to them, otherwise these problems are going to continue to plague us.
Dale
[1] https://github.com/pharo-vcs/iceberg/issues/1239
Hi Guillermo,
Your workaround effectively solved my issue.
About the tonel format, in the .properties file at the sources directory there was such setting:
https://github.com/eMaringolo/rbac/blob/9279f22ef5fd1c4149090b5b39a6afa143a6519c/sources/properties.st��
But the .project file was missing at the root of the repository. So maybe it is a mix of both conditions.
In any case, I'm glad the workaround works, and that it helped spotting a bug.
Thank you!��
Esteban A. Maringolo
On Tue, Jun 18, 2019 at 4:35 AM Guillermo Polito <guillermopolito@gmail.com> wrote:
I���ve created an issue:
https://github.com/pharo-vcs/iceberg/issues/1251
El 18 jun 2019, a las 9:30, Guillermo Polito <guillermopolito@gmail.com> escribi��:
Hi Esteban,
It seems like a bug in Iceberg. If you click on debug, you���ll see that although you���ve said the project is in tonel format, it���s trying to use a Filetree reader
<PastedGraphic-2.png>
This is due to some missing metadata in the commit (iceberg is relying on commit information there and not working copy information).
There is however a simple workaround. If you click in the commit button you���ll see that Iceberg tries to create and commit the missing files:
<PastedGraphic-3.png>
If you commit those files, then you���ll be able to load your packages.
Guille
El 18 jun 2019, a las 2:34, Esteban Maringolo <emaringolo@gmail.com> escribi��:
Hi,
I'm trying to load a package from a Tonel repository[1] that was created using SETT[2].
The structure seems fine, but when I try to load a package, I'm getting the message saying that there is no version for the package in the current commit (which seems wrong at least to the naked eye).
Eg.<image.png>
Any idea of how to fix it?
Regards!
Esteban A. Maringolo