Sylvain Beucler <[EMAIL PROTECTED]> tapota :

> Hi,
>
> I though that once a group was added to the system group file (such as
> /etc/group), the backend didn't try to install the
> repository/webpages/download area.
>
> It appears that all groups are 'recreated' each time you use
> sv_groups. I mean, the the system group file is left updated, but
> CvsMakeArea and other backend procedures are called.
>
> Usually this doesn't matter because CvsMakeArea & co exit when they
> see that the directory they plan to creat is already present. But this
> is no good for the way we update webpages at Savannah (ie ask the
> remote machine to update using a 'webservice' call).

Sure, the backend as not really been designed to be run as a frontend
of something else. In other words, the backend should be theoretically
run on the machine that serves the webpages. Whatever. 

I do not really understand the exact problem you have, can you provide
more details?

> Is this normal? It could actually be a bug in a boolean expression in
> "if ($no_etc && !$exists) { <do nothing> } else { <update system> }".

No, this test have a completely different purpose (see the comment
that come along this test.


CvsMakeArea and other procedures are called only if the group it is
working on use CVS. And if it uses CVS, it makes sure the appropriate
directory exists -- each time. 
It wont run any real command if the CVS directory exists (no co, no
mkdir).

> Incidentally, this behavior also led my test install to reuse the
> existing "gnats" group from Debian, while not creating the associated
> "webgnats" one and ruining the 'gnats' project installation.

The current CVS no longer mess with existing groups.
-- 
Mathieu Roy

  +---------------------------------------------------------------------+
  | General Homepage:           http://yeupou.coleumes.org/             |
  | Computing Homepage:         http://alberich.coleumes.org/           |
  | Not a native english speaker:                                       |
  |     http://stock.coleumes.org/doc.php?i=/misc-files/flawed-english  |
  +---------------------------------------------------------------------+

Reply via email to