Hi,
On Feb 8, 2013, at 9:36 PM, Stéphane Ducasse stephane.ducasse@inria.fr wrote:
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
why? For each project we should take all the history.
I wanted to say that we should only take the packages that are being used right now, and not all the cruft that exists in the repositories. We can move the obsolete packages into an obsolete repository in StHub.
Furthermore, given that some repositories should be split (like the Moose one), we have to take care how we do it.
- We double check that what we wanted to move was actually moved
Indeed we have (and will) creating a version with exact version for all the configuration for 1.4. Then we have (and will) created a new baseline to point to smalltalkhub. Then we will create a new baseline + version for 2.0.
Now there are differences between the latest baseline and the default one and this is annoying.
Yes, in the future, we should remove the default: and only rely on the #development symbolic version.
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.
Sure! Ask lukas. Now for projects we use for real we cannot rely on a server that may disappear tomorrow. We are building synectique and we will build a lot of parsers and infrastructure using PetitParser, so we (as a community) should have a way to store extensions and this should be in a logical place. There is not even an inbox on petitParser source (or we do not find it)
If PetitParser, and Moose in general, is so important for you, it would be great to get some feedback from time to time :).
In addition redoing and checking all the configurationof will take us a lot of energy so we should control the places where the project are stored or that authors are reactive because we may have to change some information.
Sure. Btw, this effort was performed, it's just that given that not many people bothered, I ended up doing it.
Regarding Moose, I am not sure what you are downloading,
Glamour
What is with Glamour? In the end, I understood that you will not move it, and that I will.
but if you just say Moose-Core and FAMIX, I am a bit skeptical.
???
This is what Usman wrote: "Moose (FAMIX + Moose-Core, downloading packages, will be committing next week)"
So, from this mail, I do not know what will be moved.
Please let's not deal with this hastily.
yes well. We should start one day and it was today.
I understand the urge.
Cheers, Doru
I will start looking into this next week.
Btw, we still did not release 4.7 :).
yes we know. Now if we want to give feedback to pharo 2.0 about problems and get a chance to see them fixed we should move.
Cheers, Doru
On Feb 8, 2013, at 5:42 PM, Usman Bhatti usman.bhatti@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@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."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"It's not what we do that matters most, it's how we do it."