ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Eugene Prokopiev" <enp@altlinux.org>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] gear: tar by sha-1/tag
Date: Mon, 7 Apr 2008 09:04:51 +0400
Message-ID: <f7a739430804062204m7647c639wd08c1aa649607386@mail.gmail.com> (raw)
In-Reply-To: <47F9261B.1080609@altlinux.com>

> > > > такой ситуации: у меня в спеке version - 1.2 и вряд ли в ближайшее
> > > >
> > >  > время изменится, а release - alt0.svnNNNN или 0.alt0.svnNNNN.M40 (для
> > >  > branch/4.0). Планировал иметь тег, который при каждом обновлении из
> > >  > апстрима будет сдвигаться на последний коммит и уже этот тег
> указывать
> > >  > в .gear/rules
> > >
> > >  Лучше использовать для tar: тег от версии 1.2 плюс делать diff:
> > >  от тега до HEAD (откуда собирается пакет).  См. такж.
> > >  gear-update-tag(1).
> > >
> >
> > Совсем не понял. diff вроде используют только для того, чтобы разница
> > меду бранчами автомагически оформилась в src.rpm как патч. Мне в
> > src.rpm пока патчи не нужны, только tar и спек.
> >
> > Или речь о другом сценарии? Пример можно?
> >
> >
>
>  $ cat .gear-rules
>  tar: v@version@-@release@:. name=psi-@version@-@release@
>  diff: v@version@-@release@:. .
>  spec: psi.spec
>
>  Отдельный бранч с source (без .gear-rules), и тэг v0.12-alt1.svnXXXX стоит
> там.

Ну ставить теги по полному version+release - это очевидно, но
некрасиво, т.к. из одного git-репозитария можно, как я уже говорил,
собирать пакеты для разных apt-репозитариев: sisyphus и branch/4.0,
например. И что ставить на один коммит столько тегов, сколько будет
apt-репозитариев (а тут скоро и branch/4.1 намечается ;) )?

Смысла использования diff я не понял: почему в спеке просто не
прописать дополнительные source вместо накладывания здоровенного
патча?

-- 
С уважением,
Прокопьев Евгений

      reply	other threads:[~2008-04-07  5:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-06 14:05 Eugene Prokopiev
2008-04-06 14:49 ` Alexey I. Froloff
2008-04-06 17:25   ` Eugene Prokopiev
2008-04-06 14:51 ` Alexey I. Froloff
2008-04-06 17:31   ` Eugene Prokopiev
2008-04-06 19:35     ` Anton Farygin
2008-04-07  5:04       ` Eugene Prokopiev [this message]

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=f7a739430804062204m7647c639wd08c1aa649607386@mail.gmail.com \
    --to=enp@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