[opensuse-packaging] Basic git-archive --remote question
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 The upstream git repo is at: https://github.com/dkovar/analyzeMFT Thanks Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
В Mon, 24 Jun 2013 10:52:45 -0400 Greg Freemyer <greg.freemyer@gmail.com> пишет:
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? -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, Jun 24, 2013 at 11:56 AM, Andrey Borzenkov <arvidjaar@gmail.com> wrote:
В Mon, 24 Jun 2013 10:52:45 -0400 Greg Freemyer <greg.freemyer@gmail.com> пишет:
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@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Monday 2013-06-24 16:52, Greg Freemyer wrote:
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:
I am not going to say it's off-topic; but just out of pure consideration for a more accurate (and perhaps _faster_) answer, I think #git and/or the git mailing list are actually better places. (Oddly enough, if I attempt git archive remote with my own server I get back a warning/error, but against git.kernel.org it's a connection reset. Hrm-hrm.) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, Jun 24, 2013 at 2:42 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Monday 2013-06-24 16:52, Greg Freemyer wrote:
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:
I am not going to say it's off-topic; but just out of pure consideration for a more accurate (and perhaps _faster_) answer, I think #git and/or the git mailing list are actually better places. (Oddly enough, if I attempt git archive remote with my own server I get back a warning/error, but against git.kernel.org it's a connection reset. Hrm-hrm.)
I just sent it that way. I was assuming everyone knew the answer, so I asked here first. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Greg Freemyer
-
Jan Engelhardt