ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@immo.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] git, branch, и прочее
Date: Tue, 9 May 2006 15:11:13 +0400
Message-ID: <20060509111113.GO12447@hell.immo.ru> (raw)
In-Reply-To: <200605091448.43092.thresh@altlinux.ru>

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

* Pavlov Konstantin <thresh@> [060509 14:55]:
> Я хочу чтобы был один каталог (репозиторий, наверно, правильнее) для пакета, и 
> при этом в нем содержались бранчи для, к примеру, m24, c30, sisyphus. Как это 
> правильнее сделать? Просто создать бранчи? Тогда надо несколько .gear-rules? 
> Или это тоже будет контролироваться git'ом?

if [ -n "$(git-ls-tree "$tree_id" "$rules")" ]; then
    cat_blob "$tree_id" "$rules" >"$workdir/rules"

Т.е. в каждом branch у тебя свой .gear-rules.  tree_id это
аргумент опции -t, по умолчанию HEAD.  См. git-rev-parse(1) на
тему SPECIFYING REVISIONS.

gear вообще не работает с локальными файлами - используется
только то, что лежит в репозитарии.

-- 
Regards,
Sir Raorn.

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

      reply	other threads:[~2006-05-09 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09 10:48 Pavlov Konstantin
2006-05-09 11:11 ` Alexey I. Froloff [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=20060509111113.GO12447@hell.immo.ru \
    --to=raorn@immo.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