{"thread":{"id":"48534","subject":"issues(?) installing git-lfs via fedora \"dnf\" command","startedAt":"2018-05-21T10:32:53Z","lastAt":"2018-05-21T17:18:17Z","messageCount":5,"participants":["Robert P. J. Day","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"348188","messageId":"alpine.LFD.2.21.1805210625410.6679@localhost.localdomain","threadId":"48534","inReplyTo":null,"subject":"issues(?) installing git-lfs via fedora \"dnf\" command","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-05-21T10:31:13Z","receivedAt":"2018-05-21T10:32:53Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"\n  first, i realize this is almost entirely a fedora packaging issue\nand i'm planning on reporting it there, but i just want to make sure\ni'm not doing something stupid.\n\n  knowing nothing about the git-lfs package, i thought i would install\nit and just poke around out of sheer curiosity, so on my fully-updated\nfedora 28 system, i ran:\n\n  $ sudo dnf install git-lfs\n\nwhich did in fact install that package, but also generated (abridged\nversion):\n\n  ... snip ...\n  Running transaction\n    Preparing        :\n    Installing       : git-lfs-2.4.0-1.fc28.x86_64\n    Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64\n  Error: Failed to call git rev-parse --git-dir --show-toplevel: \"fatal:\n  not a git repository (or any of the parent directories): .git\\n\"\n\n  Git LFS initialized.\n    Verifying        : git-lfs-2.4.0-1.fc28.x86_64\n\n  Installed:\n    git-lfs.x86_64 2.4.0-1.fc28\n\nis one supposed to be *in* a git repository when installing, because i\nwas in fact at the top level of my linux kernel source repo, so i'm\nunclear on what that \"Error\" is trying to tell me. am i just being\nclueless? is this something that i should submit as a fedora packaging\nissue?\n\nrday\n"},{"id":"348218","messageId":"20180521170353.GA10623@aiede.svl.corp.google.com","threadId":"48534","inReplyTo":"alpine.LFD.2.21.1805210625410.6679@localhost.localdomain","subject":"Re: issues(?) installing git-lfs via fedora \"dnf\" command","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2018-05-21T17:03:53Z","receivedAt":"2018-05-21T17:04:04Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Robert P. J. Day wrote:\n\n>   $ sudo dnf install git-lfs\n[...]\n>   Running transaction\n>     Preparing        :\n>     Installing       : git-lfs-2.4.0-1.fc28.x86_64\n>     Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64\n>   Error: Failed to call git rev-parse --git-dir --show-toplevel: \"fatal:\n>   not a git repository (or any of the parent directories): .git\\n\"\n[...]\n> is one supposed to be *in* a git repository when installing, because i\n> was in fact at the top level of my linux kernel source repo, so i'm\n> unclear on what that \"Error\" is trying to tell me. am i just being\n> clueless? is this something that i should submit as a fedora packaging\n> issue?\n\nYes, this looks like something that should be reported as a Fedora\npackaging issue.\n\nThe packager should be able to find out whether it's an issue in\ngit-lfs upstream and report it to that project if it is.  Git-lfs is\nnot part of git.git; it's a separate project:\nhttps://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md\nI believe they use github's issue tracker to track bugs.\n\nThanks,\nJonathan\n"},{"id":"348219","messageId":"alpine.LFD.2.21.1805211303260.19892@localhost.localdomain","threadId":"48534","inReplyTo":"20180521170353.GA10623@aiede.svl.corp.google.com","subject":"Re: issues(?) installing git-lfs via fedora \"dnf\" command","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-05-21T17:04:54Z","receivedAt":"2018-05-21T17:06:31Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Mon, 21 May 2018, Jonathan Nieder wrote:\n\n> Robert P. J. Day wrote:\n>\n> >   $ sudo dnf install git-lfs\n> [...]\n> >   Running transaction\n> >     Preparing        :\n> >     Installing       : git-lfs-2.4.0-1.fc28.x86_64\n> >     Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64\n> >   Error: Failed to call git rev-parse --git-dir --show-toplevel: \"fatal:\n> >   not a git repository (or any of the parent directories): .git\\n\"\n> [...]\n> > is one supposed to be *in* a git repository when installing, because i\n> > was in fact at the top level of my linux kernel source repo, so i'm\n> > unclear on what that \"Error\" is trying to tell me. am i just being\n> > clueless? is this something that i should submit as a fedora packaging\n> > issue?\n>\n> Yes, this looks like something that should be reported as a Fedora\n> packaging issue.\n>\n> The packager should be able to find out whether it's an issue in\n> git-lfs upstream and report it to that project if it is.  Git-lfs is\n> not part of git.git; it's a separate project:\n> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md\n> I believe they use github's issue tracker to track bugs.\n\n  it would *appear* that this is a combination of both a git issue,\nand a red hat packaging issue:\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id=1580357\nhttps://github.com/git-lfs/git-lfs/issues/3013\n\nrday\n"},{"id":"348220","messageId":"20180521171405.GB10623@aiede.svl.corp.google.com","threadId":"48534","inReplyTo":"alpine.LFD.2.21.1805211303260.19892@localhost.localdomain","subject":"Re: issues(?) installing git-lfs via fedora \"dnf\" command","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2018-05-21T17:14:05Z","receivedAt":"2018-05-21T17:14:11Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi,\n\nRobert P. J. Day wrote:\n> On Mon, 21 May 2018, Jonathan Nieder wrote:\n\n>> The packager should be able to find out whether it's an issue in\n>> git-lfs upstream and report it to that project if it is.  Git-lfs is\n>> not part of git.git; it's a separate project:\n>> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md\n>> I believe they use github's issue tracker to track bugs.\n>\n>   it would *appear* that this is a combination of both a git issue,\n> and a red hat packaging issue:\n>\n> https://bugzilla.redhat.com/show_bug.cgi?id=1580357\n> https://github.com/git-lfs/git-lfs/issues/3013\n\nCan you clarify?  Neither of those bugs points to a git issue if I\nunderstand correctly.  They may be a git-lfs issue, though.\n\nThis kind of confusion is exactly why the Git project adopted a\ntrademark policy to prevent outside projects from identifying\nthemselves with Git: https://git-scm.com/about/trademark.\nUnfortunately Git LFS's existence precedes that policy.  I believe\nthey got permission to continue using the name, confusing as it is.\n\nThanks,\nJonathan\n"},{"id":"348221","messageId":"alpine.LFD.2.21.1805211315290.20433@localhost.localdomain","threadId":"48534","inReplyTo":"20180521171405.GB10623@aiede.svl.corp.google.com","subject":"Re: issues(?) installing git-lfs via fedora \"dnf\" command","fromName":"Robert P. J. Day","fromEmail":"rpjday@crashcourse.ca","sentAt":"2018-05-21T17:16:41Z","receivedAt":"2018-05-21T17:18:17Z","isPatch":false,"sender":{"key":"rpjday@crashcourse.ca","avatar":"https://avatars.githubusercontent.com/u/226084077?v=4"},"body":"On Mon, 21 May 2018, Jonathan Nieder wrote:\n\n> Hi,\n>\n> Robert P. J. Day wrote:\n> > On Mon, 21 May 2018, Jonathan Nieder wrote:\n>\n> >> The packager should be able to find out whether it's an issue in\n> >> git-lfs upstream and report it to that project if it is.  Git-lfs is\n> >> not part of git.git; it's a separate project:\n> >> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md\n> >> I believe they use github's issue tracker to track bugs.\n> >\n> >   it would *appear* that this is a combination of both a git issue,\n> > and a red hat packaging issue:\n> >\n> > https://bugzilla.redhat.com/show_bug.cgi?id=1580357\n> > https://github.com/git-lfs/git-lfs/issues/3013\n>\n> Can you clarify?  Neither of those bugs points to a git issue if I\n> understand correctly.  They may be a git-lfs issue, though.\n\n  sorry, i mistyped, i should have said a \"git-lfs issue\".\n\nrday\n"}]}