-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does the deb package depend on git? #256
Comments
Thanks for finding this out! I've had a look, and it's probably just an oversight in the package creation. |
Thanks for checking. I'm not familiar with GoReleaser, but I think I found where this dependency is configured: Lines 101 to 102 in a578b3b
Would the fix be as simple as removing these two lines? |
Yep, It should be as simple as deleting the deps block, but I will check it to be sure. |
Test done: The dependency is unnecessary and I'll remove it. For a smaller package, I need to dig deeper. |
Ignore my second comment: The ~10MB of the executable is correct (as you highlighted). I will remove the unnecessary git dep, and from the next release, the package will contain only what is required. |
Thanks for checking it! Where I expect to see a difference is in apt's installation confirmation. Instead of:
I'd expect something like this (
I'll try again when you make the next release to confirm it. |
Describe the bug
In an Ubuntu 20 container it installs about 105MB of stuff when the executable itself is only about 9MB.
Copied from my CI install log.
Expected behavior
One of the features is "No external dependencies", so I was surprised to see git as a dependency.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: