ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] gear-rules: Archive with unmodified sources and patch with local modifications
Date: Sun, 23 Nov 2008 13:55:42 +0300
Message-ID: <20081123105542.GB8869@altlinux.org> (raw)
In-Reply-To: <774a4f4a0811230246p67d8b7fl7c97873b6c454456@mail.gmail.com>

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

On Sun, Nov 23, 2008 at 12:46:23PM +0200, Artem Zolochevskiy wrote:
> Прошу помощи в создании .gear-rules
> 
> Ситуация такая. Хочется пойти по описанию из gear-rules(5)  Archive
> with unmodified sources and patch with local modifications для
> атоматического создания патчей.
> Пример указанный в мане, такой:
>            tar: v@version@:.
>            diff: v@version@:.  .
> 
> Верно ли я понимаю, что в этом случае в patch попадает и всё
> пактосборочное хозяйство? (spec, .gear).
> Насколько это приемлемо?

Приемлемо (я так делаю).  Такой подход также гарантирует, что diff
всегда будет непустой, и всегда будет успешно прикладываться с помощью
%patch.  Это значит, что, например, если все патчи взяли в апстрим
и разница обнулилась, то ничего менять не надо.  А также это значит,
что %patch с local modifications можно прикладывать "авансом", даже
если по смыслу он пустой (а потом может стать непустым).  По-моему,
такой подход имеет смысл.

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

  parent reply	other threads:[~2008-11-23 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23 10:46 Artem Zolochevskiy
2008-11-23 10:50 ` Andrey Rahmatullin
2008-11-23 10:55 ` Alexey Tourbin [this message]
2008-11-23 11:14   ` Artem Zolochevskiy
2008-11-23 11:39     ` Alexey Tourbin

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=20081123105542.GB8869@altlinux.org \
    --to=at@altlinux.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