ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anatoly Lyutin <vostok@altlinux.org>
To: devel@lists.altlinux.org
Subject: [devel] Правильный git-репо с нуля, ЧЯДНТ?
Date: Fri, 20 Apr 2012 14:51:10 +0400
Message-ID: <4F913F9E.7000204@altlinux.org> (raw)

День добрый!

Решил я тут собрать hiredis в Альт. С "правильным" git, конечно. 
Правильный в том смысле, что спек и правила в master, upstream-код  в 
upstream-бранче. Вот как я делал:

1. Создал пустой гит на git.alt, склонировал к себе, туда закинул спек и 
закоммитил - получил мастер.
2. Создал бранч upstream
3. Вычистил его от спека
4. Подключил удалённый git на исходники автора через remote
5. Обновил remote
6. Смержил последний таг из remote в свой upstream
7. Ушёл в мастер
8. Смержился с апстримом своим со стратегией ours
9. Закоммитил туда rules, обозвал это новой версией.
10. Сделал gear-update-tag
11. Повесил альтовский таг
12. Упёрся в отсутствие файла с тагом в tags, при этом в list - всё 
нормально:

[vostok@localhost hiredis]$ cat .gear/tags/list
3cc6a7f29977b30feaa2ffd1b54e9a40d6b5c80b v0.10.1

[vostok@localhost hiredis]$ cat .gear/rules
tar: v0.10.1:hiredis
diff: v0.10.1:hiredis hiredis

[vostok@localhost hiredis]$ ls .gear/tags/
list


Картинка с деревом - http://postimage.org/image/6eag4avjb/



             reply	other threads:[~2012-04-20 10:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 10:51 Anatoly Lyutin [this message]
2012-04-20 11:12 ` Michael Shigorin
2012-04-20 11:34     ` Michael Shigorin
2012-04-20 11:47       ` Anatoly Lyutin
2012-04-20 11:51         ` Michael Shigorin
2012-04-20 12:09           ` Anatoly Lyutin
2012-04-23  8:23   ` Sergey Alembekov
2012-04-23  8:34     ` Michael Shigorin
2012-04-23  8:35     ` Alexey Shabalin
2012-04-23  8:37       ` Michael Shigorin

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=4F913F9E.7000204@altlinux.org \
    --to=vostok@altlinux.org \
    --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