RFD - Envy-like MC repository

Cees De Groot cdegroot at gmail.com
Wed Nov 2 18:25:00 UTC 2005


Hi,

I just put up a new small package on my private MC repository, dubbed
Anvil (because it's a tool and the name sounds like Envy ;)). What it
does, is log every class and method change in a Magma database. I
think that changes files suck because you tend to lose code (you
didn't version it in MC and then you throw away your image and start
anew...), and when I press 'versions' I'd like to have all versions,
ever, of a method, not just those that happen to be present in my
changes file. Etcetera...

Currently a proof-of-concept, I'm thinking how to continue from here.
What I'd like to have, at the end, is that you have a central database
on your laptop that you log all your changes to (ideally completely
getting rid of the changes file). Then, saving an MC version is merely
a matter of noting the current versions of all the classes/methods in
the MC package, I think that an .mcz can be reconstructed on-the-fly
from the database.

It gets hairy when I start to think about multiple images being
connected to the db - how do you keep your stuff apart? I haven't
thought much about all that, so therefore an RFD here. If people have
ideas to share, or comments on the code, I'd be delighted to hear it.

Repository location: http://de-1.tric.nl/~cg/mc, load Anvil

Get started: 'AnvConnectionPool createDatabase' and then start hacking.



More information about the Squeak-dev mailing list