-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metacello should be the way to install a project #67
Comments
There is a constant sate of flux in this area, you are correct to note that we no longer use Gofer as much as we did in the past. However even metacello is on its way out to an extent because smalltalkhub has been abandonware for a long time now and the goal is to move to git, and mostly github or other websites. Thats means versioning will aso be handled by git in the future, through branches, forks, releases, git tags and much more depending on the demands of each project. Generally I am not too eager to update this section because I predict that several things are going to change in the near future. Already a lot of things have changed, we have tools that integrate already with github to the point you dont even need git installed to make commits, gitfiletree has versions that reject/ignore meta info of filetree to move versioning completely on git and much , much more. Obviously Pharo being a smalltalk means we will have to find the balance that suits our live coding workflow. So for now there is no best way what is clear is that we moving to a git workflow. Actually my best way so far is a combination of git, filetree, Catalog Browser, makefile and startupscript which has completely replaced my use of pharoLauncher sadly and probably will lead me to produce a new GUI tool for building images. So for now my advise to people is yes use configurations only if you want to works with StHub and you want to add your project to Catalog Browser. For everyone else git is the way to go, and I dont see why we cant also support Mecurial and other VCS . The workflow afterall is pretty much the same and this way everyone can choose from the myriad tools that exist out there that are very mature and well tested and documented for other programming languages. The question that remains to be answered is how to make those tools work best for Pharo. |
I actually prefer gofer over metacello. But I am OK with metacello being used as well as gofer, in the book. I think it is more important to focus on the other open issues, which are more important, and close them. This book has been without progress for too long and if we keep opening issues instead of closing them we will never get it done ... |
but Metacello should be the recommended way to install projects. Esteban
|
The problem is that they are not the same. The same configuration will bring different packages with Gofer and Metacello. |
Esteban
as I said… if it does not installs the same, there is an error.
|
2 things quickly:
|
We cannot use Metacello now at Synectique because our configurations works only with gofer. |
I agree for now Metacello is the default and not Gofer. I dont think I have seen people mention Gofer for over a year in the mailing list and I have no idea if its still developed. On the other hand Metacello is currently heavily used. Pretty much every pharo project comes with a configuration or at least a baseline. |
Too late to change that now. |
This is fixed by #118, right? |
This is a question:
I think that the best way to load a project is via Metacello. But in some chapter there is Gofer scripts. Should we change them?
Example:
Gofer it
url: 'http://smalltalkhub.com/mc/estebanlm/Voyage/main';
configurationOf: 'VoyageMongo';
loadStable.
should be
Metacello new
smalltalkhubUser: 'estebanlm' project: 'Voyage';
configuration: 'VoyageMongo';
version: #stable;
load
The text was updated successfully, but these errors were encountered: