ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Led <ledest@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] git и пустые каталоги
Date: Fri, 17 Oct 2008 17:41:37 +0300
Message-ID: <200810171741.38126.ledest@gmail.com> (raw)

Как в git обеспечить сохранение пустых каталогов?
%build полагается на их присутствие и в них складываются скомпилированные 
модули, при их отсутствии сборка "обламывается".
В вариант с
touch .gitignore в эти каталоги не подходит, потому что в этом случае:
1) .gitignore попадают в %buildroot и, соответственнов пакет
2) при каждом обновлении из апстрима перед коммитом придётся вручную делать 
что-то наподобие:
find . -type d -empty -name ebin -exec touch \{}/.gitignore \;
А если это не дискретные обновления из апстрима, а импорт из апстримовой SCM?

-- 
Led

             reply	other threads:[~2008-10-17 14:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 14:41 Led [this message]
2008-10-17 14:44 ` Andrey Rahmatullin
2008-10-17 15:05   ` Led
2008-10-17 15:10     ` [devel] [JT] " Andrey Rahmatullin
2008-10-17 15:12 ` [devel] " Dmitry V. Levin
2008-10-17 15:29   ` Led
2008-10-17 15:51     ` Dmitry V. Levin
2008-10-17 16:05       ` Led
2008-10-17 16:09         ` Dmitry V. Levin
2008-10-17 16:16           ` Mikhail Gusarov
2008-10-17 16:23             ` Dmitry V. Levin
2008-10-17 16:26               ` Mikhail Gusarov
2008-10-17 16:40           ` Led
2008-10-17 16:16         ` Damir Shayhutdinov
2008-10-17 16:44           ` Led
2008-10-19 22:28             ` Led
2008-10-17 17:44       ` Led
2008-10-17 18:46         ` [devel] Q: git 1.6.0 Kirill A. Shutemov
2008-10-17 19:04           ` Dmitry V. Levin
2008-10-20 22:54         ` [devel] git и пустые каталоги Dmitry V. Levin
2008-11-03  3:08           ` Led
2008-11-04 18:47             ` Aleksey Avdeev
2008-11-04 18:49               ` Led
2008-11-04 20:16                 ` Led
2008-11-04 20:44                   ` Dmitry V. Levin
2008-11-04 21:03                     ` Led
2008-11-04 21:42                       ` Dmitry V. Levin
2009-01-27 23:25                         ` Dmitry V. Levin
2009-01-27 23:37                           ` Led
2009-02-01  8:13                           ` Ildar Mulyukov
2009-02-01 13:27                             ` [devel] git-rev-parse syntax in .gear/rules Dmitry V. Levin

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=200810171741.38126.ledest@gmail.com \
    --to=ledest@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