ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: nut-2.2.2
Date: Tue, 10 Feb 2009 02:40:17 +0300
Message-ID: <4990BEE1.4020108@solin.spb.ru> (raw)
In-Reply-To: <20090209230917.GB20017@wo.int.altlinux.org>

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

Dmitry V. Levin пишет:
> On Tue, Feb 10, 2009 at 01:51:35AM +0300, Aleksey Avdeev wrote:
>> Приветствую.
>>
>>    Собрал для себя nut-2.2.2-alt1.0.M40.1 (см. 
>> <http://git.altlinux.org/people/solo/packages/?p=nut.git;a=commit;h=5cead62433e431b1f66107a712e162e7cfbb226e>, 
>> за основу брал репозитарий amike@). Прошу 
>> посмотреть на предмет отправки в сизиф 
> 
> Там есть довольно экзотические коммиты, например,
> 
> commit ff58fef6d28be84c58d03e2407307c5c7fa3973f
> Merge: c4140b9148585120a75131e8eefc256695ca9ec6 76e354b12f8d2e1dadc440ecdbd28522dabf5000
> Author: Aleksey Avdeev <solo@altlinux>
> Date:   Fri Feb 6 17:20:28 2009 +0300
> 
>     Merge branch 'ALT/reliase/distr/empty' into ALT/reliase/distr/program

   Это перенос конструкции из одной ветки в другую:

$ git-diff c4140b9148585120a75131e8eefc256695ca9ec6 
ff58fef6d28be84c58d03e2407307c5c7fa3973f

diff --git a/sample.spec b/sample.spec
index a86a764..aa243fa 100644
--- a/sample.spec
+++ b/sample.spec
@@ -10,6 +10,7 @@
  %def_without M30
  %def_without M40
  %def_without M41
+%def_without M50

  # for set distr release
  %define release_distr_num 1
@@ -31,6 +32,9 @@
  %if_with M41
  %define distr_switch M41
  %endif
+%if_with M50
+%define distr_switch M50
+%endif

  # %%release_num and %%release_distr set
  %if "%distr_switch" == ""

> 
> При наличии готового репозитория nut.git это выглядит даже более странно,
> чем наследование всех классов от класса Object.

   Это сделано для добавления в спек конструкции с отдельной историей 
(автоматизации вычисления правильного релиза, в зависимости от 
требуемого бранча). В дальнейшем -- позволит обновлять данную 
конструкцию (при появлении новых бранчей) простым образом, через git 
pull. (Пример такого обновления, добавление поддержки M50, как раз и 
привлёк твоё внимание выше.)

PS: Возможно есть более правильный способ для таких действий... Но я 
пока его не нашёл.

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 552 bytes --]

  reply	other threads:[~2009-02-09 23:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 22:51 Aleksey Avdeev
2009-02-09 23:09 ` Dmitry V. Levin
2009-02-09 23:40   ` Aleksey Avdeev [this message]
2009-02-10  7:24     ` Eugene Prokopiev
2009-02-10  8:10       ` Aleksey Avdeev
2009-02-10 14:46         ` Dmitry V. Levin
2009-02-10 14:58           ` Aleksey Avdeev
2009-02-10 15:21             ` Dmitry V. Levin
2009-02-10 16:35               ` Aleksey Avdeev

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=4990BEE1.4020108@solin.spb.ru \
    --to=solo@solin.spb.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