From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] gear-srpmsimport bug?
Date: Wed, 16 Jan 2008 23:52:57 +0300
Message-ID: <20080116205257.GB24354@wo.int.altlinux.org> (raw)
In-Reply-To: <20080116111604.GA24531@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 805 bytes --]
On Wed, Jan 16, 2008 at 02:16:04PM +0300, Dmitry V. Levin wrote:
[...]
> $ tar tvf settings-user.tar.bz2
> drwxr-xr-x zerg/zerg 0 2006-11-01 12:17 settings-user/
>
> Неправильно поступает gear-srpmimport, который импортирует в такую форму,
> из которой нельзя собрать оригинал. В данном случае gear-srpmimport
> должен был бы импортировать файл settings-user.tar.bz2 без изменений.
http://git.altlinux.org/people/ldv/packages/?p=gear.git;h=gear-srpmimport
импортирует в форме settings-user.tar
Интересно, что делать при импорте архивов, содержащих пустые каталоги?
Поскольку git не хранит пустые каталоги, вариантов два:
- импортировать архив без распаковки
- импортировать архив с распаковкой и добавлением в пустые каталоги пустых
файлов по имени .gitignore
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-01-16 20:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 10:54 Eugene Prokopiev
2008-01-16 11:16 ` Dmitry V. Levin
2008-01-16 20:52 ` Dmitry V. Levin [this message]
2008-01-16 21:13 ` Vitaly Kuznetsov
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=20080116205257.GB24354@wo.int.altlinux.org \
--to=ldv@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