I'd like to add that I don't think that plain Metacello will work with private repositories. Metacello will try to load a zip ball from your project and I really doubt that github/bitbucket/gitlab provide you with that anonymously...
On Fri, Jul 6, 2018 at 5:08 PM Hernán Morales Durand < hernan.mora...@gmail.com> wrote: > Hi Esteban > > 2018-07-05 4:51 GMT-03:00 Esteban Lorenzano <esteba...@gmail.com>: > > Hi Hernan, > > > > Pharo 6.1 has a very old version of iceberg that is obsoleted by current > > development. Nevertheless this error seems to indicate the download > failed > > and sources are not present (this could be an “accumulative error”: the > > error could have happen before and now, since Iceberg looks for problems > in > > pharo-local/iceberg (and version in pharo 6.1 silently accepts what is > > present there instead verify) it just fails all the time. > > > > To workaround this, I can think two possible paths: > > > > 1. remove pharo-local/iceberg cache and try again. > > If you mean because of previous installations I use a clean image from > zeroconf. > > > 2. disable iceberg-metacello integration: Iceberg > > enableMetacelloIntegration: false. > > Tried but received a dialog > > github--MyProjectName017100342298250723486371441364908851233119.zip > does not exist. > Canceling just opened a pre-debug with "SubscriptOutOfBounds: 0" > > > > > Both can work… if you still want to use iceberg in Pharo 6.1, along with > the > > option 1 I suggest you to update iceberg version: > > https://github.com/pharo-vcs/iceberg#for-pharo-61 > > > > Ok, I updated to the latest version (currently 1.1.1) and now the > error exception doesn't appear anymore. > However iceberg Branch column is "Unknown" and Status is "Local > repository missing". This is weird since I installed in a clean image. > (See screenshot) > > Thank you very much Esteban, > > Cheers, > > Hernán > > > cheers, > > Esteban > > > > On 4 Jul 2018, at 19:57, Hernán Morales Durand <hernan.mora...@gmail.com > > > > wrote: > > > > I wonder if anyone could help here. I am installing a BaselineOf in > > Pharo 6.1 (Windows) using a script like the following: > > > > Iceberg > > enableMetacelloIntegration: true; > > remoteTypeSelector: #httpsUrl. > > Metacello new > > baseline: 'MyProject'; > > repository: 'github://user/repo/src'; > > load. > > > > Unfortunately the repository is private and I cannot share the URL. > > When I open the Iceberg UI all downloaded packages has "Local > > repository missing" (see screenshots). > > > > To fix this currently I assign manually the local directory (assuming > > they were correctly downloaded). > > > > Also I tried adding repository information in the #baseline: method > > > > baseline: spec > > <baseline> > > spec > > baseline: 'MyProject' > > with: [ spec repository: 'github://user/repo' ]. > > .... > > > > > > Any idea how could I debug this? > > > > Cheers, > > > > Hernán > > <Iceberg repositories.png><Instance of IceUnknownBranch did not > understand > > #id.png> > > > > > -- Guille Polito Research Engineer Centre de Recherche en Informatique, Signal et Automatique de Lille CRIStAL - UMR 9189 French National Center for Scientific Research - *http://www.cnrs.fr <http://www.cnrs.fr>* *Web:* *http://guillep.github.io* <http://guillep.github.io> *Phone: *+33 06 52 70 66 13