ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Artem Zolochevskiy <artem.zolochevskiy@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] gear: copy и diff одновременно
Date: Fri, 11 Jul 2008 12:47:08 +0300
Message-ID: <200807111247.08919.artem.zolochevskiy@gmail.com> (raw)
In-Reply-To: <4875F371.2060701@solin.spb.ru>

В сообщении от Thursday 10 July 2008 14:33:05 Aleksey Avdeev написал(а):
> Artem Zolochevskiy пишет:
> > hi all
> >
> > Господа, помогите советом.
> > есть git/gear-репозиторий где хотелось бы использовать в .gear-rules
> > одновременно и copy: и diff:
> >
> > Я видел несколько примеров такого использования, но там везде в  diff:
> > сравнивались подкаталоги. В моём же случае подкаталогов нет и
> > сравниваются "корни". что-то вроде
> > diff: v0.1:. .
> > при этом в patch попадают также файлы, которые просто отсутствовали в
> > v0.1. Насколько это приемлемо/красиво? Если я не ошибаюсь в debian так
> > оно примерно и делается.
> >
> > Но не будет ли более правильно/красиво делать patch, который содержит
> > именно изменения существующих в v0.1 файлов. Остальные же необходимые
> > файлы добавлять при помощи copy: ?
> >
> > Если пытаться использовать второй вариант, то я не знаю как этого
> > добиться при условии, что v0.1 не имеет подкаталогов, а всё размещается
> > прямо в корне.
>
> ...
>
> > не будет ли тут красиво сделать, чтоб был и патч (diff в .gear/rules --
> > file2.txt) и копия (copy в .gear/rules -- file3.txt)?
>
>   Что именно у вас в этом бранче: исходники с потрохами rpm/gear
> (spec`ом, .gear* и пр. доп. файлами нужными именно для сборки пакета) не
> перемешивались -- diff вполне нормален.
>
> PS: О каком репозитарии идёт речь?

вот, например
http://git.altlinux.org/people/azol/private/docs-samba3_howto_russian.git

есть два файла:
docinfo и License, которые отсутствуют в upstream. (про каталог .gear и spec 
просто не говорю, как само-собой разумаеющееся)
сейчас одни (эти два файла) добавляются в архив как патч.
я же думал, что красивее будет как-то их как copy: оформить. ибо реальные 
патчи на исходники тоже со временем будут.

--
Артём Золочевский

  reply	other threads:[~2008-07-11  9:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10 10:48 Artem Zolochevskiy
2008-07-10 11:33 ` Aleksey Avdeev
2008-07-11  9:47   ` Artem Zolochevskiy [this message]
2008-07-11 10:15     ` Aleksey Avdeev
2008-07-10 11:41 ` Alexey I. Froloff
2008-07-10 12:42 ` Ildar Mulyukov

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=200807111247.08919.artem.zolochevskiy@gmail.com \
    --to=artem.zolochevskiy@gmail.com \
    --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