From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
Date: Thu, 17 Apr 2008 00:58:27 +0400
Message-ID: <48066873.2050600@solin.spb.ru> (raw)
In-Reply-To: <47FEBDAB.7000000@solin.spb.ru>
[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]
Aleksey Avdeev пишет:
> Aleksey Avdeev пишет:
>> Aleksey Avdeev пишет:
>>> Sergey Vlasov пишет:
>>>> On Thu, Apr 10, 2008 at 02:18:10PM +0400, Aleksey Avdeev wrote:
>>>>> $ git-cvsimport -d :pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP openldap
>>>>> AuthReply: I HATE YOU
>>>> Пишите имя сервера в нижнем регистре:
>>>>
>>>> :pserver:anonymous@cvs.openldap.org:/repo/OpenLDAP
>>>>
>>>> CVS переводит hostname в нижний регистр при сохранении в ~/.cvspass, а
>>>> git-cvsimport ищет там имя репозитория в том виде, как оно указано в
>>>> командной строке.
>>> Спасибо. Так -- работает.
>> Только странный репозитарий на выходе получается: коммиты с
>> комментариями есть, а самих файлов нет: В каталоге с репозитарием только
>> .git (при переключении на другой бранч -- тоже), и gitk их не показывает...
>
> При загрузке с параметром -v, очень много строк вида:
>
> WARNING: file /repo/OpenLDAP/pkg/openldap-guide/admin/preface.sdf
> doesn't match strip_path /repo/OpenLDAP/pkg/ldap/build/openldap.. ignoring
> WARNING: file
> /repo/OpenLDAP/pkg/openldap-guide/admin/Attic/proxycache.sdf doesn't
> match strip_path /repo/OpenLDAP/pkg/ldap/build/openldap.. ignoring
Разобрался: это ругань от cvsps, цитирую
<http://www.cobite.com/cvsps/README>:
1) What is the '*** file xyz doesn't match strip_path abc' error?
This error occurs when one of the subdirectories of the directory you
ran CVSps in is checked out from a different repository. CVSps tries
to remove the repository path information from the filenames that it
gets to give you working-directory local pathnames. It does this
at startup by parsing the CVS/Root and CVS/Repository files. If
the contents of these two files is different for some subdirectory,
all of the files in that subdirectory will be ignored.
You can always run CVSps in that subdirectory, and since it IS a
separate repository, that does make a little bit of sense.
В моём случаи вылечилось с помощью задания модуля ldap (а не
openldap). Грузил репозитарий так:
$ git-cvsimport -d :pserver:anonymous@cvs.openldap.org:/repo/OpenLDAP -p
x -m -a -i -k -v -C ldap ldap
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]
prev parent reply other threads:[~2008-04-16 20:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 10:18 Aleksey Avdeev
2008-04-10 11:38 ` Sergey Vlasov
2008-04-10 11:39 ` Dmitry V. Levin
2008-04-10 20:20 ` Aleksey Avdeev
2008-04-10 21:59 ` Aleksey Avdeev
2008-04-11 1:23 ` Aleksey Avdeev
2008-04-16 20:58 ` Aleksey Avdeev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48066873.2050600@solin.spb.ru \
--to=solo@solin.spb.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git