Subject: cvs: Cvs add should check that files exist before using network
Date: Fri, 21 Jan 2005 09:38:01 +0000
Package: cvs
Version: 1:1.12.9-9
Severity: wishlist
Cvs add should check
to make sure the necessary files are available
before it goes out onto the network to
contact the server.
It's a bit annoying to accidentally type the
wrong file name to CVS, type a password,
and only *then* be told that the file
doesn't exist.
I find it happens relatively often with CVS add
of a directory, because I can never remember
whether I need to mkdir before cvs or not.
Here's an example:
mint:0501course$ cvs add 02_2005
[email protected]'s password: <long secret passphrAse>
cvs server: nothing known about 02_2005
mint:0501course$ mkdir 02_2005
mint:0501course$ cvs add 02_2005
[email protected]'s password: <long secret passphrAse>
Directory /home/gpk/CVSROOT/0501course/02_2005 added to the repository
mint:0501course$
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages cvs depends on:
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii zlib1g 1:1.2.2-3 compression library - runtime
-- debconf information:
cvs/rotatekeep: 7
* cvs/badrepositories: create
cvs/pserver_warning:
cvs/rotatekeep_nondefault: no
cvs/rotate_individual: true
cvs/pserver_repos_individual: true
cvs/pserver_setspawnlimit: false
cvs/rotatekeep_individual: 7
cvs/pserver_repos: all
* cvs/pserver: false
cvs/cvs_conf_is_dead:
* cvs/repositories: /export/big/CVSROOT
cvs/pserver_spawnlimit: 400
cvs/rotatehistory: no
Package: cvs
Version: 1:1.12.13-5
Followup-For: Bug #291520
Please see also bug 292202, which I reported almost 2 years ago.
It is sometimes WRONG to check for existence of the file before
contacting the server.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.28-ow1
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)
Versions of packages cvs depends on:
ii debconf [debconf-2.0] 1.5.9 Debian configuration management sy
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libpam-runtime 0.79-4 Runtime support for the PAM librar
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii zlib1g 1:1.2.3-13 compression library - runtime
Versions of packages cvs recommends:
ii info [info-browser] 4.8.dfsg.1-3 Standalone GNU Info documentation
ii konqueror [info-browser] 4:3.5.3-2 KDE's advanced file manager, web b
ii netbase 4.25 Basic TCP/IP networking system
-- debconf information:
cvs/rotatekeep: 7
* cvs/badrepositories: ignore
cvs/rotatekeep_nondefault: no
cvs/rotate_individual: true
cvs/pserver_repos_individual: true
cvs/pserver_setspawnlimit: false
cvs/rotatekeep_individual: 7
cvs/pserver_repos: all
* cvs/pserver: false
cvs/cvs_conf_is_dead:
* cvs/repositories: /var/lib/cvs
cvs/pserver_spawnlimit: 400
cvs/rotatehistory: no
Acknowledgement sent
to Thorsten Glaser <[email protected]>:
Extra info received and forwarded to list.
(Sat, 11 Jun 2011 15:21:06 GMT) (full text, mbox, link).
Subject: cvs: should check that files exist before using network
Date: Sat, 11 Jun 2011 15:12:05 +0000 (UTC)
Hi,
may I suggest you use ssh-agent to avoid entering the password?
If that’s enough, please do close this bugreport.
Other than that, I don’t know if it’s possible… you want to
bring this up with upstream.
Thanks,
//mirabilos
--
22:59⎜<Vutral> glaub ich termkit is kompliziert | glabe nicht das man
damit schneller arbeitet | reizüberflutung │ wie windows │ alles evil
zuviel bilder │ wie ein spiel | 23:00⎜<Vutral> die meisten raffen auch
nicht mehr von windows | 23:01⎜<Vutral> bilderbücher sind ja auch nich
wirklich verbreitet als erwachsenen literatur ‣ who needs GUIs thus?
Changed Bug title to 'cvs: should check that files exist before using network' from 'cvs: Cvs add should check that files exist before using network'
Request was from Thorsten Glaser <[email protected]>
to [email protected].
(Sat, 11 Jun 2011 15:27:13 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.