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: Sun, 6 Apr 2008 21:25:17 +0400 Message-ID: <f7a739430804061025i2900d506h4e2ee8b1e4706b06@mail.gmail.com> (raw) In-Reply-To: <20080406144921.GS6215@hell.fortress> > > $ touch mypackage.spec > > ... > > $ echo "tar: 15c4e518bc37a8277dc72d3d4cb2321edc0b812b:mypackage" > .gear/rules > ... > > > gear: .gear/rules line 1: Empty @version@ "" specified > > > > @version@ использовать обязательно? > По умолчанию создаётся архив с именем @dir@-@version@.tar и > каталогом внутри @dir@-@version@. А у вас спек пустой. См. > gear-rules(5). $ cat > mypackage.spec << EOF > Name: mypackage > Version: 0.1 > EOF $ gear -v --commit --export-dir=/tmp Created commit 1195348: Temporary commit by gear. 2 files changed, 3 insertions(+), 0 deletions(-) create mode 100644 mypackage.spec gear: Temporarily committed local changes. gear: .gear/rules line 1: Name "last" not found in tag list gear: .gear/rules line 1: Failed to make archive gear: Reverted temporary commit 119534891218020e57dc5abe974faa6ddea96892. $ gear-update-tag -ac gear-update-tag: Commit 852bd18a935b8fe1383a02bf246665da58c10242 for tag "last" is not an ancestor of current HEAD or commits to be merged $ git-merge upstream Updating 15c4e51..852bd18 Fast forward 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 file $ gear-update-tag -ac $ gear -v --commit --export-dir=/tmp Created commit ce38be8: Temporary commit by gear. 3 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 .gear/tags/list create mode 100644 mypackage.spec gear: Temporarily committed local changes. gear: .gear/rules line 1: tree "mypackage" not found in "852bd18a935b8fe1383a02bf246665da58c10242" gear: Reverted temporary commit ce38be89383a60494966a63a14cfbd45bf9b3d23. $ echo "tar: last:." > .gear/rules $ gear -v --commit --export-dir=/tmp Created commit bc59cba: Temporary commit by gear. 3 files changed, 4 insertions(+), 0 deletions(-) create mode 100644 .gear/tags/list create mode 100644 mypackage.spec gear: Temporarily committed local changes. gear: Extracted archive: mypackage-0.1.tar gear: Extracted specfile: mypackage.spec gear: Reverted temporary commit bc59cba57e8c8c4c7850ada9b17bbe78e424b8ff. Получилось. Но внутри mypackage-0.1.tar оказался каталог .gear (логично, раз мы сделали merge) - как от этого избавиться? Да и сама необходимость merge огорчает - я думал, что бранчи с апстримовскими исходниками и со спеком вообще можно будет не мержить. Или я плохо понимаю происходящее и другого способа получить tar нет? -- С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2008-04-06 17:25 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 [this message] 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
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=f7a739430804061025i2900d506h4e2ee8b1e4706b06@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