ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] CVS commit & script from loginfo
Date: Fri Sep  7 10:41:01 2001
Message-ID: <3B986CB9.335577E9@zmail.ru> (raw)
In-Reply-To: <20010907103053.A30426@ldv.office.alt-linux.org>

"Dmitry V. Levin" wrote:
> 
> On Wed, Sep 05, 2001 at 11:22:18PM +0400, cornet wrote:
> > Хачу:
> > Что бы если пользователь сказал _один_ раз
> > cvs commit doc
> > то независимо от количества и места расположения фиксируемых
> > файлов, после их фиксации был бы _один_ раз вызван мой скрипт, и
> > желательно как только скрипт запустится консоль клиента
> > отпустить.
> 
> Вы думаете, что в CVS зря используются блокировки?
> Если Вы не хотите получить нежелательных результатов, придется Вам
> модифицировать свой скрипт так, чтобы он мог обрабатывать _именно_тот_
> каталог, который commit'ится (другими словами, чтобы несколько скриптов,
> запущенных для разных подкаталогов, не мешали друг другу).

Так я хочу что бы скрипт запустился _после_ того как завершены
все commit во всех подкаталогах и все блокировки уже сняты. У
меня там идет сквозной индекс по всем разделам и его надо
обновлять глобально с учетом _всех_ произошедших изменений. Иначе
прараллельно запущенные процессы передерутся из за доступа к
индексному файлу и с большой вероятностью он будет сформирован
неправильно.
Либо надо как то наладить взаимопонимание между этими процессами,
выстроить их в очередь и так далее... чего я пока что не сделать
умею ни на bash не на perl :-(

-- 
******** FIRE & STEEL ********



  reply	other threads:[~2001-09-07 10:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 23:25 cornet
2001-09-06 19:06 ` cornet
2001-09-07  2:14   ` Anton Farygin
2001-09-07  9:36     ` cornet
2001-09-07 10:25 ` Dmitry V. Levin
2001-09-07 10:41   ` cornet [this message]
2001-09-07 10:58     ` Dmitry V. Levin
2001-09-07 11:11       ` cornet
2001-09-07 10:57   ` cornet

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=3B986CB9.335577E9@zmail.ru \
    --to=cornet@zmail.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git