pserver detailed description?

2003-11-28 Thread Dusan Juhas
Hello,

is pserver protocol somewhere described (in deep details)?
Well, I don't count source codes of cvs ;-)

-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Distributed CVS

2003-11-27 Thread Dusan Juhas
Hello,

I just found web link with 'Distributed Concurrent Versions System':
http://www.elegosoft.com/dcvs/

Does somebody have an experience how stable and bugfree it is?
Could someone recommend/dissuade dcvs for extensive usage?
(extensive=several repositories around the world, GBs of data each)

-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


merging from a branch to another branch

2003-10-20 Thread Dusan Juhas
Hello,
is it possible to merge changes between branches (not trunk) only by
envoking some CVS command(s)?
How it can be done?
-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


CVS mirror via pserver

2003-10-19 Thread Dusan Juhas
Hello,

I'd like to use some kind of a tool which is able to mirror complete
CVS repository using pserver protocol (*,v files  all directories).
Is there something like that?
Normally I use CVSup to mirror CVS. It's pretty nice but requires
cvsup daemon running on the CVS server. I have no account on CVS server.
I just can use pserver protocol.

-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: file permissions

2003-03-27 Thread Dusan Juhas
Hi Lu,

Please check cvspermissions
http://www.magic-cauldron.com/cm/cvspermissions/cvspermissions.html
if it doesn't meet your requirements.
It's a bunch of shell scripts intented to work on *NIX systems but
hopefully it could work on cygwin.

Regards,
Dusan



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


what to do with corrupted ,v files?

2003-03-26 Thread Dusan Juhas
Hello,
I used check_cvs utility and found several corrupted files in
the repository.
What I can do with a ,v file if cvs sais
cvs [checkout aborted]: premature end of change in .../bla.c,v
if I do cvs co -r x.y.z.w bla.c ?
-- 
Best regards,
Dusan Juhas





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: wrong commit/ seeking branching advice

2003-03-26 Thread Dusan Juhas
Hi Ed,

 Is there a way to reverse the changes, or at least move the
 changed revision from the main trunk to the branch?

CVS is like the toilet paper - once you use it, it's not clean
to roll it back ;-)

To get over it just make a desired branch from a current main trunk,
then ckeck out recent main trunk, export (cvs export) the version you want
to be `on the top' and commit changes.

 it to use MySQL on a central server.  In this case,
 is it natural to use the branching technique to differentiate
 the non-Mysql app to the MySQL app?   Or should I just
 forget the branches and use a seperate repository?

It depends up to you. Generally speaking branches are good for
several versions of the same software. If your apps share the same
source files, branches would help you. If this is not the case
you can use modules to have everything together but relatively
independent. Separate repositories expect no links between projects.
You can define independent permissions, pre and post-commit actions etc.
but you are not sharing the same sources.

Regards,
Dusan



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


consistency checker

2003-03-24 Thread Dusan Juhas
Hello,

is there any *,v file(s) consistency checker?

I use cvsup to mirror a huge CVS repository.
Since a certain day cvsup complains:
Invalid RCS file: 290608: Num expected -- will transfer entire file
or
Checksum mismatch -- will transfer entire file
whenever some original files are touched by cvs (eg. when these files
have a new tag)
Since likely corrupted files are really big, cvsup makes useless
traffic...
An advice is welcome.
Thank you.
-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Turning modules into repositories

2003-03-12 Thread Dusan Juhas
 we host a cvs server that uses only one big repository. Different projekts
 are handled as different modules inside this repository. Now we would like to
 open a new cvs server with several repositories. Is is possible to just copy
 the modules from their old position (as part of the big repository) to their
 new positions so that each module will be a repository of its own?

 Can this be done by simply copying the module on the server or is it better
 to check out the modules and import them into their new repositories? Are
 there any traps that have to be regarded extra carefully?

The simplest way IMO is to export all desired modules and import them
to the appropriate repositories. (use `cvs export' rather then `cvs co'
to avoid creation of CVS auxiliary dirsfiles)
Nevertheless, this approach can be used only if you don't care about
history.
If you have to keep the history of modules you can copy the whole content
of current repository to several places and invoke standard removal.
If you just copy the module you lose administrative info which is held
in $CVSROOT/CVSROOT dir.

-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Any way to _only_ checkout/export of all changed file(s)between2 tags from cvs

2003-02-26 Thread Dusan Juhas
Hi Chris,
I don't know 'pure' cvs solution but I think you can use such a trick:

cvs -Q rdiff -s -r TAG1 -r TAG2 module_name|awk '{print $2}'|xargs cvs co

where module_name could be a directory name also.
Step by step desc.:

cvs -Q rdiff -s -r TAG1 -r TAG2 module_name
generate a list of changed files in following format:
File foo/bar.c changed from revision 1.8 to 1.9

awk '{print $2}'
filter all but file name
output: foo/bar.c

xargs cvs co
build and execute command(s) from std. input
eg. execute cmd: cvs co foo/bar.c

-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: a list of changed files

2002-12-18 Thread Dusan Juhas
Hello Larry,

 could you tell me how could I obtain a list of all files which were
 changed during a certain period limited by revisions/dates?
 These files should be only from a specified module (including theirs path
 from $CVSROOT).

 Is it possible to do it without checkout?

You should be able to get what you want  from cvs rlog -S.

Unfortunatelly, this seems not to be the clue.
There is no such option for rlog in version 1.11.1p1 (which I use).

# cvs rlog -S
rlog: invalid option -- S

Well, I can upgrade if it helps.
If you meant cvs rlog -s, it is still not what I need, because
states of files are to be applied (IMHO) on working copy of files.

I imagine st. like this:
cvs my_cmd -D mydate1 mydate2 mymodule

and it should generate a list of files which were changed
between mydate1 and mydate2 in mymodule

If it is possible only in a newer version than 1.11.1p1, I can upgrade.
If there is no such feature within cvs itself it would be grateful
to know about a script which can do it. Otherwise, I should write
such a script.

-- 
Best regards,
Dusan Juhas




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



a list of changed files

2002-12-17 Thread Dusan Juhas
Hello,
could you tell me how could I obtain a list of all files which were
changed during a certain period limited by revisions/dates?
These files should be only from a specified module (including theirs path
from $CVSROOT).

Is it possible to do it without checkout?

-- 
Best regards,
Dusan Juhas




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



binary vs. text files

2002-07-17 Thread Dusan Juhas

Hello,
is there a cvs command which can determine if a file is stored as
binary/text?
Can I change file status from text to binary (and vice versa) during his
life in the repository?
If so, how it can be done?
Thank you.
-- 
Best regards,
Dusan Juhas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: implicit directory umask?

2002-06-25 Thread Dusan Juhas

On Mon, 24 Jun 2002, Noel Yap wrote:

 --- Dusan Juhas [EMAIL PROTECTED] wrote:
  Hello,
  I have a directory with permitions set to
  drwxrwxrwx
  in the cvs repository. After checkout to the sandbox
  this directory is umasked to:
  drwxr-xr-x
  CVSUMASK is not set.
  How it is possible?
  Is there any implicit rule that says that checked
  out directories should
  be umasked? How to avoid this behaviour?

 CVSUMASK is used (if it's set) only within the repo.
 Within the working directory, your umask setting is
 used.  What's the setting of your umask?


Yeah, that's it.
When I typed umask bash showed:
022

Thank you.

-- 
Best regards,
Dusan Juhas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



implicit directory umask?

2002-06-24 Thread Dusan Juhas

Hello,
I have a directory with permitions set to
drwxrwxrwx
in the cvs repository. After checkout to the sandbox this directory is umasked to:
drwxr-xr-x
CVSUMASK is not set.
How it is possible?
Is there any implicit rule that says that checked out directories should
be umasked? How to avoid this behaviour?
-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



how to find out how deleted file

2002-06-14 Thread Dusan Juhas

Hi,
I know that deleted files from repository are stores in Attic directory.
Could you tell me a command to find out who (and when) deleted
a file from a certain directory (eg.: $CVSROOT/mydir)?
Thanx
-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: synchronizing multiple CVS-repositories .... ?

2002-06-06 Thread Dusan Juhas

Hi,
CVSup doesn't depend on CVS (it can work with non CVS files).
But for CVS (more precisly RCS) files is more efficient.
Thus, it's only up to you which part of cvs repository you will
synchronize. Let's suppose your $CVSROOT contains:
CVSROOT - cvs admin files
global - files to share
local - files for local purpose only

If you synchronize only global dir, you can only see changes.
Adding CVSROOT you can do check-out but not check-in (you can
do checkin via pserver to the original rep.)
For details see:
www.polstra.com/projects/freeware/CVSup/faq.html

As far as I understand CVSUP lets me get a copy of the whole source tree
from a remote server. This will give me one version of every element
(file).
 correct?

What I want is to be able to synchronize the complete repository between
sites. So every site would have the complete history for every file
available (for checkout of a different version *without* having to
contact
the server.)

(I know that there are issues with concurrency and simultaneous changes.
I can control these ... by doing it the way Ratinal's Clearcase Multisite
does
it.) But is there a technical way to synchronize only the pieces that I
need
to ... ?

-- 
Best regards,
Dusan Juhas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: How to only checkout files (not being able to commit)?

2002-06-06 Thread Dusan Juhas

Hi,

 I have a CVS folder which I don't want to be checkoutable (this has been
 achieved simply by chmod the appropriate rights). However, it has a
 subfolder which I do want people to be able to checkout/update from BUT
 not
 being able to commit to. Is this possible to do?

That's quite strange but possible, perhaps.
You can add a line to the $CVSROOT/CVSROOT/commitinfo like this:
pattern $CVSROOT/CVSROOT/commitscript

If pattern matches your checkout-only subfolder, commitscript is
invoked. If the script returns non-zero value, commit is cancelled.
Sample script:
#!/bin/sh
echo You are not allowed to commit changes to this directory
exit 1

Developers/users should see:
cvs commit: Examining ...
You are not allowed to commit changes to this directory
cvs commit: Pre-commit check failed
cvs [commit aborted]: correct above errors first!


 I've tried using LockDir in CVSROOT but to no avail. I would like to be
 able
 to set permission per-user and per-file.

Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



cvs repository mirror

2002-05-27 Thread Dusan Juhas

Hello,
I would like to solve following problem.
Since we have a huge amount of code and a relatively slow line,
we need st. like repository mirror. (to avoid hours lasting
checkouts) In fact we need the local and remote repository.
In the ideal case we have everything from remote repository
(changes,tags,rtags,branches...) in the local one plus possibility
to make local-only branches in the local
repository. So, to tar+gzip the whole remote repository periodicaly
(and unzip as a local rep.) isn't a solution because we lost
a possibility to store local branches.
Could you recommend me any technique, please?

Having 2 CVSROOTs at once for checkin would be perfect but only
hypothetical unless we write an cvs wrapper...
-- 
Best regards,
Dusan Juhas



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



tag list

2002-05-24 Thread Dusan Juhas

Hello,
is there any way how to obtain a list of all tags:
a) in a module
b) in the whole repository
WITHOUT checkout?

I use a slow connection and checkout can take hours...
Thank you.
-- 
Best regards,
Dusan Juhas


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs