devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: Re: [newbies] Что делать, если файлы, нужные для сборки, попадают в .gitignore?
Date: Thu, 1 Nov 2012 14:53:20 +0400
Message-ID: <20121101105320.GB1432@altlinux.org> (raw)
In-Reply-To: <CAKCRA6+nUQZt_JxNGSUhYS=z_7Ehj=0b2ECR7+Hf1QZM1pWj7g@mail.gmail.com>

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

On Thu, Nov 01, 2012 at 04:38:57PM +0600, Евгений Ростовцев wrote:
> >> По какой такой идее? Коли сборка идёт из gear, то совершенно неважно,
> >> что попадёт в промежуточный продукт (т.е. в SRPM).
> >
> > На выходе получится помимо бинарных RPM еще и SRPM. В архиве с кодом из
> > SRPM не будет файла Makefile.in
> 
> Будет, если убрать ту самую строчку из .gitignore. Поймите, srpm
> никому не интересен, когда сборка идёт из gear.
> 
> PS. Я бы вообще грохнул сам .gitignore, чтоб не было всяких нехороших
> побочных эффектов. Но тут уж Вас решать.

Я прочел между строк, что gear-srpmimport следует игнорировать содержимое
.gitignore во время импорта с тем, чтобы какие-то файлы при импортировании
не терялись, в то время как сам .gitignore игнорировать не следует.

В gear-update есть похожий режим, называется он --ignore-exclude.


-- 
ldv

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

  reply	other threads:[~2012-11-01 10:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01  8:54 ` Michael Shigorin
2012-11-01  9:17     ` Евгений Ростовцев
2012-11-01  9:30           ` Евгений Ростовцев
2012-11-01  9:41               ` Евгений Ростовцев
2012-11-01 10:06                   ` Евгений Ростовцев
2012-11-01 10:38                       ` Евгений Ростовцев
2012-11-01 10:53                         ` Dmitry V. Levin [this message]
2012-11-02  2:03                           ` Dmitry V. Levin
2012-11-01 10:53                           ` Евгений Ростовцев
2012-11-01 13:57             ` Евгений Ростовцев
2012-11-01 15:32           ` Ivan A. Melnikov
2012-11-01  8:54 ` Евгений Ростовцев

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=20121101105320.GB1432@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git