ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: Как правильно загрузить в git запароленный cvs?
@ 2008-04-10 10:18 Aleksey Avdeev
  2008-04-10 11:38 ` Sergey Vlasov
  0 siblings, 1 reply; 7+ messages in thread
From: Aleksey Avdeev @ 2008-04-10 10:18 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Здравствуйте.

  Что-то я не пойму, как загрузить в git запароленный cvs
(<http://www.openldap.org/software/repo.html>, в моём случаи)...

1. Ввожу пароль:

$ cvs -d :pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP login
Logging in to :pserver:anonymous@cvs.openldap.org:2401/repo/OpenLDAP
CVS password:

  После данного шага, cvs команды работают нормально, в частности
спокойно отрабатывает:

$ cvs -d :pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP co openldap

2. При попытке же воспользоваться git-cvsimport, получаю:

$ git-cvsimport -d :pserver:anonymous@cvs.OpenLDAP.org:/repo/OpenLDAP
openldap
AuthReply: I HATE YOU

  И никакого импорта...

  Как побороть?

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 540 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  2008-04-10 10:18 [devel] Q: Как правильно загрузить в git запароленный cvs? Aleksey Avdeev
@ 2008-04-10 11:38 ` Sergey Vlasov
  2008-04-10 11:39   ` Dmitry V. Levin
  2008-04-10 20:20   ` Aleksey Avdeev
  0 siblings, 2 replies; 7+ messages in thread
From: Sergey Vlasov @ 2008-04-10 11:38 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

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 ищет там имя репозитория в том виде, как оно указано в
командной строке.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  2008-04-10 11:38 ` Sergey Vlasov
@ 2008-04-10 11:39   ` Dmitry V. Levin
  2008-04-10 20:20   ` Aleksey Avdeev
  1 sibling, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2008-04-10 11:39 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

On Thu, Apr 10, 2008 at 03:38:37PM +0400, Sergey Vlasov wrote:
> 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-cvsimport'а?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Aleksey Avdeev @ 2008-04-10 20:20 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

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 ищет там имя репозитория в том виде, как оно указано в
> командной строке.

  Спасибо. Так -- работает.

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  2008-04-10 20:20   ` Aleksey Avdeev
@ 2008-04-10 21:59     ` Aleksey Avdeev
  2008-04-11  1:23       ` Aleksey Avdeev
  0 siblings, 1 reply; 7+ messages in thread
From: Aleksey Avdeev @ 2008-04-10 21:59 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

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 их не показывает...

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  2008-04-10 21:59     ` Aleksey Avdeev
@ 2008-04-11  1:23       ` Aleksey Avdeev
  2008-04-16 20:58         ` Aleksey Avdeev
  0 siblings, 1 reply; 7+ messages in thread
From: Aleksey Avdeev @ 2008-04-11  1:23 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]

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

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 544 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [devel] Q: Как правильно загрузить в git запароленный cvs?
  2008-04-11  1:23       ` Aleksey Avdeev
@ 2008-04-16 20:58         ` Aleksey Avdeev
  0 siblings, 0 replies; 7+ messages in thread
From: Aleksey Avdeev @ 2008-04-16 20:58 UTC (permalink / raw)
  To: ALT Linux Team development discussions

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-16 20:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-10 10:18 [devel] Q: Как правильно загрузить в git запароленный cvs? 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

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