ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] HOWTO: как я импортнул в git и собрал новую версию xscreensaver
@ 2006-09-25  9:52 Alexey I. Froloff
  0 siblings, 0 replies; only message in thread
From: Alexey I. Froloff @ 2006-09-25  9:52 UTC (permalink / raw)
  To: ALT Devel discussion list

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

srpmimport'нул в git историю пакета xscreensaver.  Вышла новая
версия.  Что делать?  К тому же хочется иметь патчи приложенными.

Каталог xscreensaver от 5.00-alt1 соответствует тарболу
xscreensaver-5.00.tar.gz.  Делаю новый репозитарий,
распаковываю туда этот архив (единственный коммит).

Далее в xscreensaver:

$ git-fetch ... master:up

В свободно висящем бранче "up" у нас "апстримные сорцы", тот
временный репозитарий уже не нужен.  Далее, находясь в master:

$ git pull . up

Смержил up-5.00 в 5.00-alt1, просто чтобы был common ancestor.

В master прикладываю все патчи, в up обновляю версию до 5.01 (git
rm *; git add *; git commit).  После чего опять:

$ git pull . up

И резолвлю конфликты.  У меня их было два - в master я удалил
configure (который и так надо перегенерить на стадии сборки) и
конфликт в патче pam_userpass, который довольно легко разрешился.

Может кому пригодится ;-)

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-25  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25  9:52 [devel] HOWTO: как я импортнул в git и собрал новую версию xscreensaver Alexey I. Froloff

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