Re: Mobile source location
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Sat, 15 Sep 2007 17:43:12 -0400
blmblm@xxxxxxxxxxxxx wrote:
Great questions.
Clearly some things in this scheme just cry out for real version
control. What I'm unsure about is how well that would mesh with my
current scheme of keeping code with other related files. It may be
significant that for most of what I do, there are apt to be more of
those other files (usually documents of various sorts) than code.
I version-control documents, too.
In writing my earlier post I was also thinking of a CVS repository
as something without the ability to group related bunches of code
in any way other than "different versions of the same program".
That could well be wrong.
It is wrong. CVS catalogs can relate all your projects to each other in a way that allows multiple projects to share code that is controlled in its own little piece. You can inter-relate CVS projects at the server.
I guess what I'm thinking is that someone with a few large projects
might have different needs from someone with many small projects.
Maybe not.
Maybe so, but version control serves both sets of needs.
So why put your repository in /opt, which I think of as being
files not owned by anyone (other than root) ....
In my case, /opt/cvsrepo is owned by a fictitious developer owner. The individual projects are owned by individuals, but the repository itself is a system resource.
You can use /var or /opt or /usr, or their .../local variants, for the repository. I just wouldn't put it under /home/anyone.
Again, the repository is owned by a common owner; only the projects are owned by their owners.
By the way, I didn't intend to make a "work versus home"
distinction; on all the systems where I control what goes where,
the only things that go in "system" directories are things I
don't associate with a particular owner. This may be a result
Like a version-control repository. It is not associated with a particular owner either, other than the fake user that is used so I don't risk things being SUID root.
of my having spent my formative years in mainframe environments,
in which I didn't have administrator privileges on most of the
systems I used.
Ditto CVS. Just belong to the same group as the CVS repository owner.
A version-control repository is shared by the system's users, not dedicated to any one (real) user.
It wouldn't be much use otherwise, would it?
--
Lew
.
- Follow-Ups:
- Re: Mobile source location
- From: blmblm
- Re: Mobile source location
- References:
- Re: Mobile source location
- From: Lew
- Re: Mobile source location
- From: blmblm
- Re: Mobile source location
- From: Lew
- Re: Mobile source location
- From: blmblm
- Re: Mobile source location
- Prev by Date: Re: Great SWT Program
- Next by Date: Re: Parser for a simple expression
- Previous by thread: Re: Mobile source location
- Next by thread: Re: Mobile source location
- Index(es):
Relevant Pages
|