Mailinglist Archive: opensuse-packaging (68 mails)

< Previous Next >
Re: [opensuse-packaging] Basic git-archive --remote question
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Mon, 24 Jun 2013 12:42:43 -0400
  • Message-id: <CAGpXXZKvOV=-SW89Ok2LeBRyRsqbuw7uXOrpf0YfEdGOZ8RA7g@mail.gmail.com>
On Mon, Jun 24, 2013 at 11:56 AM, Andrey Borzenkov <arvidjaar@xxxxxxxxx> wrote:
В Mon, 24 Jun 2013 10:52:45 -0400
Greg Freemyer <greg.freemyer@xxxxxxxxx> пишет:

I'm trying to create a tarball from a git tag and I'm not getting
logged in for some reason. What is the right syntax for:

git archive --format=tar
--remote=ssh://git@github/com/dkovar/analyzeMFT.git v2.0.4 >
analyzeMFT-v2.0.4.tar


You need to setup public key access for ssh. Why do not you simply use
direct git:// URL?

Any syntax that works, I just can't figure it out. Here's a few attempts:

git archive --format=tar --remote=github.com:dkovar/analyzeMFT.git v2.0.4

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

git archive --format=tar --remote=git://github.com/dkovar/analyzeMFT v2.0.4

fatal: remote error
Your Git client has made an invalid request:
003agit-upload-archive /dkovar/analyzeMFT

git archive --format=tar --remote=//github.com/dkovar/analyzeMFT v2.0.4

remote: fatal: '//github.com/dkovar/analyzeMFT.git' does not appear to
be a git repository
fatal: sent error to the client: git upload-archive: archiver died with error
remote: git upload-archive: archiver died with error


Greg
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >