Hi,
Thanks Usman for starting to do this. My net was down since yesterday, and did not see
your other email. Indeed, we first have to move to StHub before doing anything.
However, we have to do it systematically:
- We make all repositories on squeaksource readonly
- We move only what is needed
- We double check that what we wanted to move was actually moved
Regarding PetitParser, please do not move it yet. This is the project of Lukas, and first
we have to ask him nicely about the plans he has with it. Perhaps he does not want to have
it somewhere else in which case we have to see how we deal with having it working on the
latest Pharo. In any case, the first step is to ask the main author.
Regarding Moose, I am not sure what you are downloading, but if you just say Moose-Core
and FAMIX, I am a bit skeptical. Please let's not deal with this hastily.
I will start looking into this next week.
Btw, we still did not release 4.7 :).
Cheers,
Doru
On Feb 8, 2013, at 5:42 PM, Usman Bhatti <usman.bhatti(a)gmail.com> wrote:
Hello all,
Today, we worked on moving Moose on pharo2.0. We needed to update a few baselines because
some packages were already present in Pharo2.0. For example,
- RPackage is already present in Pharo 2.0, so no need to load it in the image.
- PetitParser loads Glamour, which loads NECompletion and NEC does not have configuration
for pharo2.0.
We decided to move all the moose code to STHub before porting it to 2.0 so that we can
save changes somewhere. Some projects are created in STHub in the Moose team:
Fame (Moved all code from FAME on squeaksource to STHub, updated configurationOf to load
from STHub + creating a version with latest dev.)
Glamour (in the process of downloading packages but its taking long, but glamour will be
difficult because it has dependencies with other projects so may be it should be moved
incrementally. Doru, I think you can take lead on that since you know the project better)
Moose (FAMIX + Moose-Core, downloading packages, will be committing next week)
PetitParser (will be moved next week too)
For people interested in moving code, here are the scripts for fetch and push.
==================================
"fetch all FAME packages from their repository"
| go |
go := Gofer new squeaksource: 'Fame'.
((go allResolved select: [:aPac |'*Fam*' match: aPac packageName ])
do: [:each |
self crLog: each packageName.
go package: each packageName.
Transcript show: each printString ; cr.
go fetch.]).
======================================
"commit all FAME packages into the smalltalkhub FAME project"
|go repo|
repo := MCSmalltalkhubRepository
owner: 'Moose'
project: 'Fame'
user: 'XXX'
password: 'XXX'.
go := Gofer new.
go repository: repo.
(((FileSystem disk workingDirectory / 'package-cache')
allFiles select: [:each | '*Fame*.mcz' match: each basename])
groupedBy: [:each | (each base copyUpToLast: $-) ])
keys do: [:name | go package: name; push]
Now, moving to Pharo2.0 is important, so it will be good to kill this boring task by
working collaboratively :-)
Usman
P.S: The last step of moving every project is to create a new baseline to point to STHub
for the project and preferably create a version with that baseline.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."