The default Gofer only uses the package cache: Gofer new repositories --> an Array(a MCCacheRepository(/Users/renggli/University/pharo/PetitParser/package-cache)) If you specify other repositories they are tried in that order as well: Gofer new renggli: 'ob'; squeaksource: 'rb'; repositories --> an Array(a MCCacheRepository(/Users/renggli/University/pharo/PetitParser/package-cache) a MCHttpRepository(http://source.lukas-renggli.ch/ob) a MCHttpRepository(http://www.squeaksource.com/rb)) If you disable the package cache, the package cache is ignored: Gofer new disablePackageCache; renggli: 'ob'; squeaksource: 'rb'; repositories --> an Array(a MCHttpRepository(http://source.lukas-renggli.ch/ob) a MCHttpRepository(http://www.squeaksource.com/rb)) If you disable repository errors inaccessible repositories are ignored and don't throw an error (you have to tell that though): Gofer new disableRepositoryErrors; renggli: 'ob'; squeaksource: 'rb'; repositories --> an Array(a MCCacheRepository(/Users/renggli/University/pharo/PetitParser/package-cache) a MCHttpRepository(http://source.lukas-renggli.ch/ob) a MCHttpRepository(http://www.squeaksource.com/rb)) Lukas On 19 May 2010 16:59, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi lukas
is it possible that for an expression that would work if we get network Gofer looks only in the package cache. so that when you do not have internet but are sure that the files you need are in the package cache you can use gofer to load them
I thought is was working but this is not that clear. I could not make it work in the library.
Stef _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch