Вопрос

How do you do version control in Self?

I understand it is a shared environment(image) where all developers can be connected to the same image, but I'm keen to understand how I do things like roll back changes, take patches forms developers who cannot share an image, and share via GitHub?

Это было полезно?

Решение

The 'Transporter' in Self is the standard way to write modules out to disk as text files. Unlike Smalltalk, the Self standard world (the equivalent to a Smalltalk image) can be completely recreated from those text source files.

Since the source files are plain text and not a binary image, there isn't as much of a need for Self specific version control.

In short, use what you like to manage your .self files. The main distribution of Self stores its files in git on Github.

You will find yourself rebuilding your world from your source tree on a regular basis, for example if you rollback to a previous commit or add in a patch from a developer.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top