Skip to content

Conversation

danila-zol
Copy link

No description provided.

@dejlek
Copy link
Contributor

dejlek commented Mar 24, 2025

I actually installed lazygit using those precise instructions!

Name            : lazygit
Epoch           : 0
Version         : 0.47.2
Release         : 1.fc41
Architecture    : x86_64
Installed size  : 21.5 MiB
Source          : lazygit-0.47.2-1.fc41.src.rpm
From repository : copr:copr.fedorainfracloud.org:atim:lazygit
Summary         : Simple terminal UI for git commands
URL             : https://github.com/jesseduffield/lazygit

So, unless you give me something better please do not remove it.

@danila-zol
Copy link
Author

@dejlek I suggest to host your own repo or find another one on COPR or just install from source. Sorry, but the current one you really shouldn't be using because it's unmaintained and is already out of sync with the latest releases

@dejlek
Copy link
Contributor

dejlek commented Mar 27, 2025

I suggest you take a look at version I got from that repo - it is just one single release behind the current. So, no offense, but that repo is still pretty good to me, even if "unmaintained".

Let's look at when was the package built:
image

I did fork the atim/lazygit COPR, but it will take some time to make it all work as it should...

I still believe your suggestion to remove the only Fedora repo which has lazygit from the doc is wrong. But hey, do whatever you want...

PS. In case you do not know - it also contains EPEL packages, so basically you can install it on any RedHat-based system ( Amazon Linux 1 and 2, RedHat, CentOS, Oracle, Rocky Linux, Alma, etc)

@dejlek
Copy link
Contributor

dejlek commented Mar 27, 2025

It was easier than I thought. Now latest lazygit version is available on https://copr.fedorainfracloud.org/coprs/dejan/lazygit/ ...

@danila-zol
Copy link
Author

danila-zol commented Mar 31, 2025

@dejlek If you're OK with maintaining this repo, can you open a PR to replace the current one with yours? If it is merged that would obviously be ideal as we will just have a new COPR repo with the latest version. Also the repo is behind 2 versions - v0.48.0 is the current one - and will be more and more behind as time goes on, so it's really not good to recommend it to new users, but that's beside the point because I think we have a solution if you're willing to take over

@dejlek
Copy link
Contributor

dejlek commented Apr 1, 2025

👍 Sure! Will do that later today when I get back home.

@d0vi
Copy link

d0vi commented Apr 12, 2025

👍 Sure! Will do that later today when I get back home.

A friendly reminder that having an up-to-date COPR repo in the README would be great for us RPM-based distro users (Fedora btw) ☺️

@Emkas
Copy link

Emkas commented Apr 16, 2025

A friendly reminder that having an up-to-date COPR repo in the README would be great for us RPM-based distro users (Fedora btw) ☺️

Well, at the moment there are none. There's no fork with version 49. Last i saw was 48, but the build is somekind of broken and displays it as "unversioned".

Maybe we should switch to the bash script like in Ubuntu. I know this isn't the best option, but it's some option. For me far better than repo which is unmaintained.

@Michsior14
Copy link

FYI there is a Cheese repo with the latest version of lazygit: https://www.nosuchhost.net/~cheese/fedora/packages/42/x86_64/cheese-release.html

@dangooddd
Copy link

As @Emkas mentioned, bash script instructions will be really nice

@dejlek
Copy link
Contributor

dejlek commented Aug 3, 2025

@danila-zol As discussed I have created PR #4792 to change the Fedora section and point to my COPR that contains latest lazygit. If you are happy with what is there we could then close this PR?

stefanhaller added a commit that referenced this pull request Aug 5, 2025
After discussion from the following PR (
#4362 ) I have finally
found time to make a PR to update the Fedora section of the README.md
file. I actually use those instructions myself from few different Fedora
and Amazon Linux 2023 machines.

Here is an example of installing lazygit from the Copr:

```
» sudo dnf install lazygit
Updating and loading repositories:
Repositories loaded.
Package                                                              Arch        Version                                                              Repository                                                  Size
Installing:
 lazygit                                                             x86_64      0.48.0-1.fc41                                                        copr:copr.fedorainfracloud.org:dejan:lazygit            21.5 MiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 6 MiB. Need to download 6 MiB.
After this operation, 22 MiB extra will be used (install 22 MiB, remove 0 B).
Is this ok [y/N]: y
[1/1] lazygit-0:0.48.0-1.fc41.x86_64                                                                                                                                          100% |   3.7 MiB/s |   5.7 MiB |  00m02s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                                                                   100% |   3.7 MiB/s |   5.7 MiB |  00m02s
Running transaction
[1/3] Verify package files                                                                                                                                                    100% |  52.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction                                                                                                                                                     100% |   3.0   B/s |   1.0   B |  00m00s
[3/3] Installing lazygit-0:0.48.0-1.fc41.x86_64                                                                                                                               100% |  44.9 MiB/s |  21.5 MiB |  00m00s
Complete!
```
@stefanhaller
Copy link
Collaborator

Superseded by #4792, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants