ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Правильный git-репо с нуля, ЧЯДНТ?
@ 2012-04-20 10:51 Anatoly Lyutin
  2012-04-20 11:12 ` Michael Shigorin
  0 siblings, 1 reply; 10+ messages in thread
From: Anatoly Lyutin @ 2012-04-20 10:51 UTC (permalink / raw)
  To: devel

День добрый!

Решил я тут собрать 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/



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

end of thread, other threads:[~2012-04-23  8:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 10:51 [devel] Правильный git-репо с нуля, ЧЯДНТ? Anatoly Lyutin
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

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