WinCVS で プロキシサーバを経由して OpenCV のソースを取得する方法がわからない.

わからないんだー!

SoruceForge.net の opencvlibrary の CVS ガイド

Anonymous CVS Access

This project's SourceForge.net CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter key. To determine the names of the modules created by this project, you may examine their CVS repository via the provided web-based CVS repository viewer.

cvs -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/cvsroot/opencvlibrary login
cvs -z3 -d:pserver:anonymous@opencvlibrary.cvs.sourceforge.net:/cvsroot/opencvlibrary co -P modulename

Information about accessing this CVS repository may be found in our document titled, "CVS (Version Control for Source Code)".

Updates from within the module's directory do not need the -d parameter.

NOTE: UNIX file and directory names are case sensitive. The path to the project CVSROOT must be specified using lowercase characters (i.e. /cvsroot/opencvlibrary)

http://sourceforge.net/cvs/?group_id=22870

別のソフトで,プロキシサーバを経由しないで取得した例

TortoiseCVSを使って最新のOpenCVを入手する - BiBoLoG

成功例

proxyの外にあるanonymous CVSからソースを取れずに悩んだのでメモ。

以下の通りCVSROOTにhttp proxyのホスト名とポートを指定する。コロンとセミコロンに注意。

:pserver;username=anonymous;hostname=cvs.sourceforge.jp;proxy=proxy.example.co.jp;proxyport=8080:/cvsroot/xxxxx
http://www.isla-plata.org/wiki/pukiwiki.php?%B3%AB%C8%AF%A5%EA%A5%BD%A1%BC%A5%B9%2FWindows%2FWinCVS%A4%C7proxy%A4%CE%C6%E2%C2%A6%A4%AB%A4%E9%A5%C1%A5%A7%A5%C3%A5%AF%A5%A2%A5%A6%A5%C8%A4%B9%A4%EB

これに倣うと

:pserver;username=anonymous;hostname=cvs.sourceforge.net;proxy=proxy.example.co.jp;proxyport=8080:/cvsroot/opencvlibrary

だんだん分かってきた

定数値 CVSROOT の書式が分かってきた.

  • 「:<認証方式>」でスタート
  • 属性名=属性値 を ; 区切りで記述
  • 空白はつくらない
  • ユーザ名記述は2方式ある
  • 「:<目的の CVS データがあるディレクトリパス>」で終わる

すると,プロキシサーバ経由の CVSROOT はこうか?

:pserver:anonymous@opencvlibrary.cvs.sourceforge.net;proxy=proxy.example.com;proxyport=8080:/cvsroot/opencvlibrary

WinCVS 入手法

www.wincvs.org につながらない.移転したのか,CvsGuiにある.今は以下の3種がある.

  • Latest Recommended Release: WinCvs 2.0.2.4 (released 2005-08-15)
  • Latest Development Release: WinCvs 2.0.9 (released 2007-01-30)
  • Latest Milestone Release: WinCvs 2.0.2.4 (released 2005-08-15)

入れるなら Development Release でいいだろう.導入においては,zip 内に2つのインストーラがある.

Run wincvs_setup.exe to install WinCvs. It will also run CVSNT installer after completion.

Run cvsnt_setup.exe to setup CVSNT only.

wincvs は cvsnt の力を借りて動作するらしい.checkout だけをしたい場合でも(クライアントだけが欲しい場合でも)両方のインストールが必要だ.wincvs_setup.exe の後に cvsnt_setuo.exe を進める.

で,今のところ,checkout 不能