Hi Doru,
I'll have a look and let you know how it goes.
Cheers, Andrei
On Thu, Feb 21, 2013 at 7:41 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
I tried migrating the Glamour code, but I failed after 36 hours while still fetching: I got a squeaksource connection exception.
My guess is that the home connection is not up to the task. Can anyone help with a better university connection? Andrei, could you look at it?
I used the below script in Pharo 2.0:
sourceGofer := Gofer new squeaksource: 'Glamour'. pattern := 'Glamour*'. ((sourceGofer allResolved select: [:aPac | pattern match: aPac packageName ]) do: [:each | self crLog: each packageName. sourceGofer package: each packageName. self crLog: each printString. sourceGofer fetch ]).
repo := MCSmalltalkhubRepository owner: 'Moose' project: 'Glamour' user: 'USERNAME' password: 'PASSWORD'.
targetGofer := Gofer new. targetGofer repository: repo. (((FileSystem disk workingDirectory / 'package-cache') allFiles select: [:each | (pattern, '.mcz') match: each basename]) groupedBy: [:each | (each base copyUpToLast: $-) ]) keys do: [:name | targetGofer package: name; push]
Cheers, Doru
On Feb 20, 2013, at 7:19 AM, Tudor Girba tudor@tudorgirba.com wrote:
Hi,
I started to migrate Glamour to SmalltalkHub.
Cheers, Doru
-- www.tudorgirba.com
"Some battles are better lost than fought."
-- www.tudorgirba.com
"The coherence of a trip is given by the clearness of the goal."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev