threads / discuss / 48534

issues(?) installing git-lfs via fedora "dnf" command

Subject: issues(?) installing git-lfs via fedora "dnf" command

## tl;dr

5 messages between May 21, 2018 and May 21, 2018.

replies: 4people: 2as markdown or json

Robert P. J. Day· May 21, 2018, 10:31 UTC · lore
  first, i realize this is almost entirely a fedora packaging issue
and i'm planning on reporting it there, but i just want to make sure
i'm not doing something stupid.
  knowing nothing about the git-lfs package, i thought i would install
it and just poke around out of sheer curiosity, so on my fully-updated
fedora 28 system, i ran:
  $ sudo dnf install git-lfs

which did in fact install that package, but also generated (abridged version):

  ... snip ...
  Running transaction
    Preparing        :
    Installing       : git-lfs-2.4.0-1.fc28.x86_64
    Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64
  Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal:
  not a git repository (or any of the parent directories): .git\n"
  Git LFS initialized.
    Verifying        : git-lfs-2.4.0-1.fc28.x86_64
  Installed:
    git-lfs.x86_64 2.4.0-1.fc28

is one supposed to be *in* a git repository when installing, because i was in fact at the top level of my linux kernel source repo, so i'm unclear on what that "Error" is trying to tell me. am i just being clueless? is this something that i should submit as a fedora packaging issue?

rday
Jonathan Nieder· May 21, 2018, 17:03 UTC · re: Robert P. J. Day · lore

Re: issues(?) installing git-lfs via fedora "dnf" command

Robert P. J. Day wrote:
>   $ sudo dnf install git-lfs
[...]
Show 6 quoted lines
>   Running transaction
>     Preparing        :
>     Installing       : git-lfs-2.4.0-1.fc28.x86_64
>     Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64
>   Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal:
>   not a git repository (or any of the parent directories): .git\n"
[...]
Show 5 quoted lines
> is one supposed to be *in* a git repository when installing, because i
> was in fact at the top level of my linux kernel source repo, so i'm
> unclear on what that "Error" is trying to tell me. am i just being
> clueless? is this something that i should submit as a fedora packaging
> issue?

Yes, this looks like something that should be reported as a Fedora packaging issue.

The packager should be able to find out whether it's an issue in git-lfs upstream and report it to that project if it is. Git-lfs is not part of git.git; it's a separate project: https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md I believe they use github's issue tracker to track bugs.

Thanks, Jonathan

Robert P. J. Day· May 21, 2018, 17:04 UTC · re: Jonathan Nieder · lore

Re: issues(?) installing git-lfs via fedora "dnf" command

On Mon, 21 May 2018, Jonathan Nieder wrote:
Show 25 quoted lines
> Robert P. J. Day wrote:
>
> >   $ sudo dnf install git-lfs
> [...]
> >   Running transaction
> >     Preparing        :
> >     Installing       : git-lfs-2.4.0-1.fc28.x86_64
> >     Running scriptlet: git-lfs-2.4.0-1.fc28.x86_64
> >   Error: Failed to call git rev-parse --git-dir --show-toplevel: "fatal:
> >   not a git repository (or any of the parent directories): .git\n"
> [...]
> > is one supposed to be *in* a git repository when installing, because i
> > was in fact at the top level of my linux kernel source repo, so i'm
> > unclear on what that "Error" is trying to tell me. am i just being
> > clueless? is this something that i should submit as a fedora packaging
> > issue?
>
> Yes, this looks like something that should be reported as a Fedora
> packaging issue.
>
> The packager should be able to find out whether it's an issue in
> git-lfs upstream and report it to that project if it is.  Git-lfs is
> not part of git.git; it's a separate project:
> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md
> I believe they use github's issue tracker to track bugs.
  it would *appear* that this is a combination of both a git issue,
and a red hat packaging issue:

https://bugzilla.redhat.com/show_bug.cgi?id=1580357 https://github.com/git-lfs/git-lfs/issues/3013

rday
Jonathan Nieder· May 21, 2018, 17:14 UTC · re: Robert P. J. Day · lore

Re: issues(?) installing git-lfs via fedora "dnf" command

Hi,
Robert P. J. Day wrote:
> On Mon, 21 May 2018, Jonathan Nieder wrote:
Show 11 quoted lines
>> The packager should be able to find out whether it's an issue in
>> git-lfs upstream and report it to that project if it is.  Git-lfs is
>> not part of git.git; it's a separate project:
>> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md
>> I believe they use github's issue tracker to track bugs.
>
>   it would *appear* that this is a combination of both a git issue,
> and a red hat packaging issue:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1580357
> https://github.com/git-lfs/git-lfs/issues/3013

Can you clarify? Neither of those bugs points to a git issue if I understand correctly. They may be a git-lfs issue, though.

This kind of confusion is exactly why the Git project adopted a trademark policy to prevent outside projects from identifying themselves with Git: https://git-scm.com/about/trademark. Unfortunately Git LFS's existence precedes that policy. I believe they got permission to continue using the name, confusing as it is.

Thanks, Jonathan

Robert P. J. Day· May 21, 2018, 17:16 UTC · re: Jonathan Nieder · lore

Re: issues(?) installing git-lfs via fedora "dnf" command

On Mon, 21 May 2018, Jonathan Nieder wrote:
Show 19 quoted lines
> Hi,
>
> Robert P. J. Day wrote:
> > On Mon, 21 May 2018, Jonathan Nieder wrote:
>
> >> The packager should be able to find out whether it's an issue in
> >> git-lfs upstream and report it to that project if it is.  Git-lfs is
> >> not part of git.git; it's a separate project:
> >> https://github.com/git-lfs/git-lfs/blob/master/CONTRIBUTING.md
> >> I believe they use github's issue tracker to track bugs.
> >
> >   it would *appear* that this is a combination of both a git issue,
> > and a red hat packaging issue:
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=1580357
> > https://github.com/git-lfs/git-lfs/issues/3013
>
> Can you clarify?  Neither of those bugs points to a git issue if I
> understand correctly.  They may be a git-lfs issue, though.
  sorry, i mistyped, i should have said a "git-lfs issue".
rday

← back to recent threads