[darcs-users] Conceptual questions about REPO s

Max Battcher me at worldmaker.net
Wed Dec 6 23:19:06 UTC 2006


On 12/5/06, Sean <schliden at gmail.com> wrote:
> Hi, I am new to SCM and chose darcs, after much reading and consideration.
>
> The first thing I need to get my head around, is what to put in a repo ?

Unfortunately that's the hardest part in any decision to use an SCM,
and different people and different projects organize things in their
own way that makes sense to them.

So the easy answer for me to give you is: Use whatever works for you.

The tougher answer is: Find the best, simplest organization scheme
that you can and avoid as much duplication as possible.

The hard part about that is that beyond that sentence summary we could
spend days debating about it and all the resources that you might want
to look into to help you figure things out.  At the very least there
are plenty of Software Engineering books out there that you might pick
up and attempt to glean ideas from.

I know that sounds rather rough, but this is a deep question you've
ultimately asked.

For your particular case, here's what struck me as a few ideas you
might want to consider: Define exactly what is
"library/implementation" and what is "deployment" (copies of the
library/main implementation).  Define exactly where and why you have
differences in the same "library" code and figure out how to "remove"
them by having the same code support every possibility (abstract
something to a higher level such as pulling config-specific data out
into a customer-specific configuration file).  Let deployment tools
(build scripts, et al) figure out which "libraries" to piece together
for your individual customers and then focus on cross-customer
reusable "projects" as your repositories.

I hope that helps some, Good Luck in finding a useful organization for yourself,

-- 
--Max Battcher--
http://www.worldmaker.net/
All progress is based upon a universal innate desire on the part of
every organism to live beyond its income. --Samuel Butler




More information about the darcs-users mailing list